LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (http://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Upgrade from -11.0 to -12.0: Can No Longer Print (http://www.linuxquestions.org/questions/slackware-installation-40/upgrade-from-11-0-to-12-0-can-no-longer-print-687524/)

rshepard 12-01-2008 02:42 PM

Upgrade from -11.0 to -12.0: Can No Longer Print
 
My HP LaserJet 5 with a JetDirect card has been working perfectly for years under Slackware. I just tried to print a web page but could not. The problem is apparently a socket failure.

Here is the appropriate section from /etc/cups/printers.conf:

</Printer>
<DefaultPrinter laser5_duplex>
Info Double-sided printing
Location office
DeviceURI socket://lj5:9100/
State Stopped
StateMessage /usr/lib/cups/backend/socket failed
StateTime 1228158485
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

How do I fix this?

Rich

rshepard 12-01-2008 09:52 PM

UPDATE:

Using the laser5_duplex or laser5_single definitions from the command line or within xpdf/gv produces a failed socket message when 'lpstat -p -d' is run. Nothing comes out the printer. However, if I specify the default laser5 printer name, the job prints from both the command line and from within xpdf.

I still need to fix this quickly since business checks must be printed single-sided and I need that definition to work for them.

This seems inexplicable to me: the generic definition works, but the _single and _duplex definitions don't.

Your help is still needed.

Rich

rshepard 12-01-2008 10:15 PM

FIXED!!

Taking a round-about way to the web-based CUPS admin pages I was able to cancel all pending print jobs, restart the printers (which cleared the failed socket messages), print test pages, and print from the command line and xpdf.

This thread is closed as the problem has been solved.

Rich


All times are GMT -5. The time now is 11:11 AM.