LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 12-01-2008, 01:42 PM   #1
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Rep: Reputation: 28
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
 
Old 12-01-2008, 08:52 PM   #2
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
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
 
Old 12-01-2008, 09:15 PM   #3
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
7.10 Ubuntu upgrade no longer shuts down emil32 Ubuntu 4 11-19-2007 05:36 PM
After dist-upgrade, X no longer starts. Dan04 Linux - Software 2 06-19-2006 12:19 AM
Can No Longer Print jmm75093 Linux - Newbie 10 01-12-2005 02:53 PM
CUPS update - can no longer print in MDK 10.1 OE crispus Mandriva 0 01-04-2005 07:07 AM
Kernel Will No Longer Boot After BIOS Upgrade Sylant_Daemon Linux - Hardware 2 12-05-2004 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration