LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Pringing with foo2xqx (https://www.linuxquestions.org/questions/slackware-14/pringing-with-foo2xqx-878137/)

business_kid 05-01-2011 10:29 AM

Pringing with foo2xqx
 
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
Code:

MFG:Hewlett-Packard;MDL:HP LaserJet P1005;CMD:HBS,PJL,ACL;CLS:PRINTER;DES:HP LaserJet P1005;FWVER:20090916;
The error_log shows this on a test page
Code:

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?

solarfields 05-01-2011 01:40 PM

hi man

i have the exact same printer. here's how to make it print:

following the instructions from here: http://foo2xqx.rkkda.com/ (Download and install section):

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

gauchao 05-01-2011 06:43 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.

business_kid 05-02-2011 03:30 AM

Thanks guys. I'm getting there.

It prints a test page, it prints from a direct invocation (e.g. lp). It prints from Mozilla. Now just to sort openoffice.

For slackware developers, Note this one as one that does _not_ work on an upgrade. I upgraded 32bit & 64bit

markush 05-02-2011 03:39 AM

Hello business_kid,

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

business_kid 05-02-2011 07:00 AM

Quote:

Originally Posted by markush (Post 4343621)
Hello business_kid,

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.


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