SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.