LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-01-2011, 10:29 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,349

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
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?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-01-2011, 01:40 PM   #2
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
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

Last edited by solarfields; 05-01-2011 at 01:48 PM.
 
2 members found this post helpful.
Old 05-01-2011, 06:43 PM   #3
gauchao
Member
 
Registered: Dec 2009
Location: Veneto
Distribution: Slackware64
Posts: 366

Rep: Reputation: 143Reputation: 143
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.
 
1 members found this post helpful.
Old 05-02-2011, 03:30 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,349

Original Poster
Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
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
 
Old 05-02-2011, 03:39 AM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
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
 
Old 05-02-2011, 07:00 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,349

Original Poster
Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Quote:
Originally Posted by markush View Post
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.
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration