Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (7) </ 1 2 3 4 5 [6] 7 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Linux printing help for a Windows user< Next Oldest | Next Newest >
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Jan. 01 2008,16:04 QUOTE

I don't use Windows, so no need to use Samba.
Also, I don't need or use Cups.

I have three questions for your Samba printer setup.

1. When Samba printing is enabled, if you go to the DSL control panel, does the "Printing/Lpd" button show as depressed?

2. What is the output and location of your printcap file.

3. Is your print command of the form: lpr -h -Pprinter_name file_to_print


Edited by roberts on Jan. 01 2008,16:08
Back to top
Profile PM WEB 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Jan. 01 2008,23:08 QUOTE

Printing/lpd is not depressed

Here is the /opt/printcap:
---------------------
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
HP940c|stp/pcl-895;r=300x300;q=medium;c=full;p=letter;m=auto:\
   :lp=/dev/null:\
   :if=/usr/etc/apsfilter/basedir/bin/apsfilter:\
   :sd=/var/spool/lpd/HP940c:\
   :lf=/var/spool/lpd/HP940c/log:\
   :af=/var/spool/lpd/HP940c/acct:\
   :mx#0:\
   :sh:
# APS1_END - don't delete this
--------------------

Print command: lpr -h -PHP940c file works.  Thanks for the tip
(now I can create my own icon)
:)
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Jan. 01 2008,23:29 QUOTE

If lpd is not running then what process is doing the printing?
I see in my script, where I use the ApsFilter default printer name of lp. That is easily changed to extract from printcap.

Are you running cups?

What is the output of ps | grep lpd

Ah, I bet you are probably running gnu-utils which changes the default output of ps.

My script works with default DSL.

Adding extensions that change system core functons is not something I want to try to handle.

Anyway, it should be trivial for you to setup your own drag-n-drop printing.
Back to top
Profile PM WEB 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Jan. 02 2008,00:23 QUOTE

Quote
Ah, I bet you are probably running gnu-utils which changes the default output of ps.

My script works with default DSL.

Adding extensions that change system core functons is not something I want to try to handle.

Anyway, it should be trivial for you to setup your own drag-n-drop printing.

That must be it...I'm running gnu-util, and there is no lpd in ps.
So instead I worked for hours on this elaborate script:

--------
#!/bin/bash

lpr -h -PHP940c $1
---------------

Thanks, this works nicely. Now if I could only figure out what's up
with Firefox printing.  (although it's simple enough to copy-paste to OO for printing).

Edit: I checked FF on my XP; FF sets up about 50 lines of code in
about:config for the default printer!!

Edit2:  I wonder if there's anything available like the HP printing utility that supports drag & drop and recognizes format (html, pdf, etc.)
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Jan. 02 2008,03:10 QUOTE

Good news....Samba printer works with Opera, no problem!
Back to top
Profile PM 
34 replies since Dec. 22 2007,14:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (7) </ 1 2 3 4 5 [6] 7 >/
reply to topic new topic new poll
Quick Reply: Linux printing help for a Windows user

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code