Printers :: Linux printing help for a Windows user



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



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)
:)

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.

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.)

Good news....Samba printer works with Opera, no problem!
Next Page...
original here.