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 hate cups. It does't help, I know. I have a HP Laserjet P1005, and foo2zjs (foo2xqx actually) and it won't print. I'm trying to print locally without any particular messing (Other than cups) using the foo2zjs driver.
I updated, deleted everything printing, reinstalled foo2zjs, cups, foomatic-filters, and even gutenprint. Then I sorted out the niggles that I could. usb_printerid /dev/usb/lp0 returns
D [01/May/2011:17:12:56 +0100] cupsdReadClient: 10 GET /cups.css HTTP/1.1
D [01/May/2011:17:12:56 +0100] cupsdSetBusyState: Active clients and dirty files
D [01/May/2011:17:12:56 +0100] cupsdAuthorize: Authorized as dec using Basic
D [01/May/2011:17:12:56 +0100] cupsdSetBusyState: Dirty files
D [01/May/2011:17:12:56 +0100] cupsdReadClient: 10 GET /images/left.gif HTTP/1.1
D [01/May/2011:17:12:56 +0100] cupsdSetBusyState: Active clients and dirty files
D [01/May/2011:17:12:56 +0100] cupsdAuthorize: Authorized as dec using Basic
D [01/May/2011:17:12:56 +0100] cupsdSetBusyState: Dirty files
D [01/May/2011:17:12:56 +0100] cupsdReadClient: 10 GET /images/right.gif HTTP/1.1
D [01/May/2011:17:12:56 +0100] cupsdSetBusyState: Active clients and dirty files
D [01/May/2011:17:12:56 +0100] cupsdAuthorize: Authorized as dec using Basic
D [01/May/2011:17:12:56 +0100] cupsdSetBusyState: Dirty files
D [01/May/2011:17:12:56 +0100] cupsdReadClient: 10 GET /images/unsel.gif HTTP/1.1
D [01/May/2011:17:12:56 +0100] cupsdSetBusyState: Active clients and dirty files
D [01/May/2011:17:12:56 +0100] cupsdAuthorize: Authorized as dec using Basic
D [01/May/2011:17:12:56 +0100] cupsdSetBusyState: Dirty files
D [01/May/2011:17:12:56 +0100] cupsdReadClient: 10 GET /images/sel.gif HTTP/1.1
D [01/May/2011:17:12:56 +0100] cupsdSetBusyState: Active clients and dirty files
D [01/May/2011:17:12:56 +0100] cupsdAuthorize: Authorized as dec using Basic
D [01/May/2011:17:12:56 +0100] cupsdSetBusyState: Dirty files
I [01/May/2011:17:13:24 +0100] Saving job cache file "/var/cache/cups/job.cache"...
D [01/May/2011:17:13:24 +0100] cupsdSetBusyState: Not busy
D [01/May/2011:17:13:26 +0100] cupsdReadClient: 10 WAITING Closing on EOF
D [01/May/2011:17:13:26 +0100] cupsdCloseClient: 10
It's apparently a common error after updating, but I didn't spot a solution. The printer gets the firmware, responds correctly, but doesn't show a job at any stage.
Anyone sorted this?
Click here to see the post LQ members have rated as the most helpful post in this thread.
remove the "system-config-printer" package!! Otherwise when you later do "make install-hotplug" it will complain that there is a conflict. Also, when I first struggled with these things I had to remove the "hplip" package as well!
when installing the drivers as described on the webpage, make sure you do:
./getweb P1005
and right after "make install" do
make install-hotplug
(as they recommend)
then restart cups and switch off and on your printer
hope this helps
Last edited by solarfields; 05-01-2011 at 01:48 PM.
I have the same printer, too, and I use the same foomatic driver. You need to follow the instructions from above and additionally I had to remove 2 packages: system-config-printer and hplip. It works with slack 13.0 and 13.1, 32 and 64 bit.
you may want to check the /etc/cups directory after an upgrade. If there are files *.orig, the originals are replaced by slackpkg. This may be the reason if anything is not working after an automatic upgrade.
you may want to check the /etc/cups directory after an upgrade. If there are files *.orig, the originals are replaced by slackpkg. This may be the reason if anything is not working after an automatic upgrade.
Markus
Hmmm... I don't remember .orig files. I did have .new ones.
Anyhow what I did was to remove everything printing - make uninstall on foo2zjs, removepkg on the rest, then rm -rf on /etc/cups, /var/cache/cups/ /usr/lib/cups some other directories cups removepkg highlighted as not deleted. THEN, install cups, foomatic(packages), and foo2zjs as per instructions. Then beat the /etc/hotplug/usb and /usr/share/foo2xqx/firmware into place, get the firmware loading.
I eventually realised that I had been sent a seriously nobbled xls I was never going to print. It has one page of information, two sheets show in OO, but but wants to print 7 pages and exports 7 to a pdf. The one sheet of useful data is on page 7, and I get "broken table ... continuing anyway". It printed on windows, someone else printed it so I don't care. I can print the exported pdf with lp -P 7 but it defaults to portrait and I wanted landscape - yesterday.
Thanks to all for their help, & marking this solved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.