Printers :: Printing with xpdf



Hi, i have a postscript printer on my windows machine, and the test page printed fine in apsfilter, but i can't print from xpdf.
The print command in xpdf is "| lpr -Plp" but it doesn't work.

I have been able to connect to the printer with smbclient:

smbclient //host/printer -U username <enter>
<password> <enter>
smb:// put myfile.ps <enter>

What can i do?

What did you name your printer when you set it up within apsfilter?

In the print command lpr -Plp.The -P option is to specify your printer name.  lp is currently set as the printer name. Substitue your printer name for lp.

I used lp which is the default printer name. The printer is setup as a generic PS printer.

Could you tell me the full command apsfilter uses for printing the test page? Since i know that one works, i want to try that from xpdf

You did start lpd from the control panel?

I too have a postscript printer named lp and xpdf printing is fine.

The test file is at /usr/share/apsfiler/setup/test.ps
The actual priting is done from the script at
/usr/share/apsfilter/SETUP

You should manually be able to print the test page once lpd is running by using the lpr -h -Plp /usr/share/apsfilter/setup/test.ps


original here.