LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't Print with CUPS on Slackware-11.0 (https://www.linuxquestions.org/questions/slackware-14/cant-print-with-cups-on-slackware-11-0-a-520537/)

Kelman 01-18-2007 11:46 AM

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

trashbird1240 01-18-2007 12:22 PM

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

dracolich 01-18-2007 02:30 PM

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.

H_TeXMeX_H 01-18-2007 02:40 PM

You printer on openprinting.org ... good place to start.

trashbird1240 01-19-2007 12:58 PM

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

dracolich 01-19-2007 03:20 PM

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.

trashbird1240 01-19-2007 04:37 PM

Good one Dracolich; that could do it.

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

Joel


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