Click to See Complete Forum and Search --> : Printer issues
ABRinNC
10-28-2004, 03:56 PM
Hey guys (YES! I searched, but couldn't find this problem)
I got cups running and my printer configured in CUPS. (HP 932C)
It won't let me print anything unless I print a test page in CUPS.
I can't print from the command line (with lp), I can't print from OpenOffice, I can't print from mozilla, nothing.
What step am I missing?
bosox79
10-28-2004, 04:55 PM
just to make sure I understand your problem. you are able to print a test page but nothing else? what errors do you get when you try print from the command line?
I would also have a look at this http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_932C
ABRinNC
10-28-2004, 08:07 PM
The output I get for
bash-2.05b$lp /home/andy/dmesg
is
sending job 'andy@host+19' to 932C@localhost
connecting to 'localhost', attempt 1
cannot open connection to localhost - connection refused
Make sure the remote host accepts the LPD protocol
and accepts requests from this host and non-privledged (>1023) ports
Waiting 10 seconds before retry
When I try to select my printer in OpenOffice all it says is generic printer.
When I go to the CUPS web interface (localhost:631) I can print a test page.
Thanks!
Andy
MMYoung
10-28-2004, 08:12 PM
To print using cups from OpenOffice or Mozilla/Firefox/Thunderbird you will need to add -cups to the lpr command.
In OpenOffice you will need to access its Printer Administrator. Click on the "Properties" button and put the cursor in the Command text box and add -cups so that it looks like this:
lpr-cups
In Mozilla/Firefox/Thunderbird just select Print then click on the "Properties" button. The click in the Command text box and and add -cups to the line. When you get done the print command line should read:
(EDIT to add correct setting)
lpr-cups ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}
You must do the same thing from the command line. For instance with my printer I do the following:
lpr-cups -Pepson file.txt
HTH,
MMYoung
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.