LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-18-2007, 11:46 AM   #1
Kelman
LQ Newbie
 
Registered: Oct 2005
Location: Southampton, UK
Distribution: Slackware-11.0
Posts: 9

Rep: Reputation: 0
Can't Print with CUPS on Slackware-11.0


Hello,

I cannot get my printer to work with CUPS. I have trawled around the web for answers but I am no further forward.

Having installed CUPS I can get access to the admin functions, as root, using my browser. The printer, an HP Photosmart 7350, appears to install without error.

If I click on 'Print Test Page' and check the completed job, the system tells me the print has been aborted. If I click on 'Restart Job' I get an error message 'client-error-not-possible'.

The following is the output from /var/log/cups/error_log

I [18/Jan/2007:15:50:30 +0000] Listening to 0:631
I [18/Jan/2007:15:50:30 +0000] Loaded configuration file "/etc/cups/cupsd.conf"
I [18/Jan/2007:15:50:30 +0000] Configured for up to 100 clients.
I [18/Jan/2007:15:50:30 +0000] Allowing up to 100 client connections per host.
I [18/Jan/2007:15:50:30 +0000] Full reload is required.
I [18/Jan/2007:15:50:31 +0000] LoadPPDs: Read "/etc/cups/ppds.dat", 672 PPDs...
I [18/Jan/2007:15:50:31 +0000] LoadPPDs: No new or changed PPDs...
I [18/Jan/2007:15:50:31 +0000] Full reload complete.
I [18/Jan/2007:15:54:39 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1778)
I [18/Jan/2007:15:54:41 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1779)
I [18/Jan/2007:15:54:41 +0000] Adding start banner page "none" to job 16.
I [18/Jan/2007:15:54:41 +0000] Adding end banner page "none" to job 16.
I [18/Jan/2007:15:54:41 +0000] Job 16 queued on 'HP' by ''.
I [18/Jan/2007:15:54:41 +0000] Started filter /usr/lib/cups/filter/pstops (PID 1780) for job 16.
I [18/Jan/2007:15:54:41 +0000] Started filter /usr/lib/cups/filter/foomatic-rip (PID 1781) for job 16.
I [18/Jan/2007:15:54:41 +0000] Started backend /usr/lib/cups/backend/usb (PID 1782) for job 16.
E [18/Jan/2007:15:54:41 +0000] PID 1781 stopped with status 22!
I [18/Jan/2007:15:54:41 +0000] Hint: Try setting the LogLevel to "debug" to find out more.
I [18/Jan/2007:15:54:43 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1783)
I [18/Jan/2007:15:54:45 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1784)
I [18/Jan/2007:15:54:50 +0000] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=1785)
E [18/Jan/2007:15:54:50 +0000] restart_job: job #16 cannot be restarted - no files!
I [18/Jan/2007:16:27:44 +0000] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=2334)
I [18/Jan/2007:16:27:47 +0000] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=2335)
I [18/Jan/2007:16:27:50 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2336)
I [18/Jan/2007:16:27:51 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2337)
I [18/Jan/2007:16:27:51 +0000] Adding start banner page "none" to job 17.
I [18/Jan/2007:16:27:51 +0000] Adding end banner page "none" to job 17.
I [18/Jan/2007:16:27:51 +0000] Job 17 queued on 'HP' by 'root'.
I [18/Jan/2007:16:27:51 +0000] Started filter /usr/lib/cups/filter/pstops (PID 2338) for job 17.
I [18/Jan/2007:16:27:51 +0000] Started filter /usr/lib/cups/filter/foomatic-rip (PID 2339) for job 17.
I [18/Jan/2007:16:27:52 +0000] Started backend /usr/lib/cups/backend/usb (PID 2340) for job 17.
E [18/Jan/2007:16:27:52 +0000] PID 2339 stopped with status 22!
I [18/Jan/2007:16:27:52 +0000] Hint: Try setting the LogLevel to "debug" to find out more.
I [18/Jan/2007:16:27:53 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2341)
I [18/Jan/2007:16:27:56 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2342)
I [18/Jan/2007:16:32:46 +0000] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=2346)
E [18/Jan/2007:16:32:46 +0000] restart_job: job #17 cannot be restarted - no files!
---

I have used the default /etc/cups/cupsd.conf. I have tried Alien Bob's trimmed down version, and tried modifying it myself, but the result is the same every time.

Any thoughts?

Thanks

Kelman
 
Old 01-18-2007, 12:22 PM   #2
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
Do you have KDE installed? I know it seems like a shortcut, but the best way I've found to set up any printer is the Kprinter dialog. It usually does everything for setup. Then you can go into the localhost:631 and modify things if you prefer that route.

In your web-trawling, did you trawl www.linuxprinting.org? It's highly trawlworthy.
Joel
 
Old 01-18-2007, 02:30 PM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
The kdelibs package that comes with Slackware 11.0 has a bug that causes printing to not work. Try upgrading the kdelibs with a patched version.
 
Old 01-18-2007, 02:40 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
You printer on openprinting.org ... good place to start.
 
Old 01-19-2007, 12:58 PM   #5
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
Huh?

Quote:
Originally Posted by dracolich
The kdelibs package that comes with Slackware 11.0 has a bug that causes printing to not work. Try upgrading the kdelibs with a patched version.
Then why does it work for me on two different installations with two different printers? Could you be a little more detailed?

Thanks,
Joel
 
Old 01-19-2007, 03:20 PM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
My mistake. I was distracted by work when I wrote that. 11 comes with kde-3.5.4 and the bug is in 3.5.5.

Kelman, since your printer is made by HP you might want to try the hplip package if you haven't already.

http://www.linuxpackages.net/pkg_details.php?id=9976

Be sure to read the installation instructions first and restart the cups server after starting the hplip service. Then do as trashbird1240 suggests and use KDE's print manager to add your printer.
 
Old 01-19-2007, 04:37 PM   #7
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
Good one Dracolich; that could do it.

By the way, your signature is an insult to Etch-a-Sketch

Joel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
EPSON Stylus Photo R200 - CUPS+Gimp-Print v4.2.7 does not print anymore Harp00 Linux - Newbie 1 05-24-2006 11:59 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 09:31 AM
Multiple pages do not print in Slackware 9.1 with CUPS rsamurti Slackware 3 01-19-2004 06:58 AM
Acrobat reader does not print in Slackware 9.1 with CUPS rsamurti Slackware - Installation 1 12-23-2003 07:12 AM


All times are GMT -5. The time now is 10:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration