How to install Linux print driver for HP LaserJet P1006?

Using applications, configuring, problems
Message
Author
User avatar
Dark Adonis
Posts: 25
Joined: Mon 01 Sep 2008, 19:54
Contact:

How to install Linux print driver for HP LaserJet P1006?

#1 Post by Dark Adonis »

Making progress to be able to print someday...

On a site, I learned that I must use this driver from http://foo2xqx.rkkda.com/ in order to print to a HP LaserJet P1006. I'm not sure how to approach this at this point, though there are instructions on the page.

Would anyone know how to do this in puppy? (I'm kinda new.. sorry)
What I did was kinda a hit and a miss... I extracted the tgz file on the website and pasted the PPD file for my printer in CUPS' folder. When I went to print the test page however, the page was all faded looking and my printer made a different sound while printing than it normally does. (Yes, I am sure it still has toner in it... I tested it in windows)

Any help appreciated :)

User avatar
Dark Adonis
Posts: 25
Joined: Mon 01 Sep 2008, 19:54
Contact:

#2 Post by Dark Adonis »

<bump> after making significant progress... edited first post.
Thanks!

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#3 Post by Wolf Pup »

Try HPIJS if you cant get it to print. :)
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

User avatar
Dark Adonis
Posts: 25
Joined: Mon 01 Sep 2008, 19:54
Contact:

#4 Post by Dark Adonis »

Thankyou for your response :)

However, it did not contain anything for HP LaserJet P1006... The linux foundation says that I have to use the foo2xqx driver from http://foo2xqx.rkkda.com/ ...

maggotspawn
Posts: 355
Joined: Tue 19 Aug 2008, 21:12
Location: Los Angeles, CA.
Contact:

#5 Post by maggotspawn »


disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#6 Post by disciple »

NO!, the solution is not HPIJS or HPLIP.
Dark Adonis has done their homework and found the ONLY solution, but is having trouble with it.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#7 Post by disciple »

Did you actually follow the instructions to compile it?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

2byte
Posts: 353
Joined: Mon 09 Oct 2006, 18:10

#8 Post by 2byte »

If all else fails you could try using HPLIP to install the driver, according to this page http://hplip.sourceforge.net/models/las ... p1006.html

HP LaserJet p1006
Supported by HPLIP (requires HPLIP version 2.8.2 or later).
Driver Plugin Information:
This printer REQUIRES a downloadable driver plug-in. Use hp-setup to install the printer, and to download and install the plug-in.

Vern

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#9 Post by disciple »

Oh OK, sorry about that. You are right after all, even though linuxprinting.org said the only support was via foo2xqx :( I wonder if the plugin you have to download for hplip actually is foo2xqx... or maybe it actually comes from HP.

I've just had a go with foo2xqx now. For anyone else that ever wants to do this, you:
- download and extract that file.
- run make
- run the correct ./getweb command
- edit the Makefile to change

Code: Select all

LPuid=-olp
LPgid=-glp
to

Code: Select all

# User ID's
LPuid=-oroot
LPgid=-groot
- run make install
- restart cups

Then I figure you just add the printer through the CUPS web interface (I checked, and it does now show up in the list of HP models).

Also, if you read the INSTALL file, there is this:
HP LASERJET 1000/1005/1018/1020, P1005/P1006/P1007/P1008/P1505 NOTES
--------------------------------------------------------------------
These printers need their firmware downloaded to them every time they
are powered up.
I don't think we have hotplug in Puppy, so you would need to do this I guess:
On another OS or with a parallel port connected printer:

You must send a firmware file to the printer each time you power it
up. If you downloaded the extra files for the HP above, a typical
command line to load the firmware would be ONE of these:

cat /usr/share/foo2zjs/firmware/sihp1000.dl > /dev/usb/lp0
cat /usr/share/foo2zjs/firmware/sihp1005.dl > /dev/usb/lp0
cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/usb/lp0
cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0
cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/usb/lp0
cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/usb/lp0
cat /usr/share/foo2xqx/firmware/sihpP1505.dl > /dev/usb/lp0
There's also information in there about how to tell it to start again after running out of paper.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#10 Post by disciple »

BTW I'm just trying to package it.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

foo2zjs etc. printer drivers

#11 Post by disciple »

OK, here it is compiled.
I stuffed around a bit before getting them below 1MB, so hopefully I haven't misplaced anything.

I think it should work if you just extract these to /, restart CUPS, install the printer, and put this in one of Puppy's startup scripts (obviously with the correct device, rather than /dev/usb/lp0):

Code: Select all

cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/usb/lp0
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#12 Post by disciple »

Here's the getweb script if anyone with a different printer want's to try installing it without compiling xjs again - I'm not sure if you can though - have a look at the script.
Attachments
getweb.gz
(3.09 KiB) Downloaded 698 times
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#13 Post by muggins »

Would the P1006 be covered by Hushpuppy's foo2zjs-i486.pet, as outlined in this thread?

Edit: Sorry, I just noticed you've packaged it Disciple.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#14 Post by disciple »

Would the P1006 be covered by Hushpuppy's foo2zjs-i486.pet, as outlined in this thread?
Umm... maybe?
They didn't list the P1006 as being covered, and you are supposed to download the firmware for many of the different models before running make install... but there pet is substantially bigger than what I packaged, so maybe they did include a lot of firmware...?
I couldn't spot the link, but now I do:
http://www.doubleburgerbar.com/pets/foo2zjs-i486.pet
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

maggotspawn
Posts: 355
Joined: Tue 19 Aug 2008, 21:12
Location: Los Angeles, CA.
Contact:

#15 Post by maggotspawn »

disciple wrote:NO!, the solution is not HPIJS or HPLIP.
Dark Adonis has done their homework and found the ONLY solution, but is having trouble with it.
HPLIP working here for a Photosmart 7660 with all the bells and whistles. Page layout, Ink levels etc. The P1006 is supported also.http://hplip.sourceforge.net/models/las ... p1006.html
HPLIP is whats recommended by HP. http://www.murga-linux.com/puppy/viewto ... 19&t=27519

User avatar
Dark Adonis
Posts: 25
Joined: Mon 01 Sep 2008, 19:54
Contact:

Re: foo2zjs etc. printer drivers

#16 Post by Dark Adonis »

disciple wrote:OK, here it is compiled.
I stuffed around a bit before getting them below 1MB, so hopefully I haven't misplaced anything.

I think it should work if you just extract these to /, restart CUPS, install the printer, and put this in one of Puppy's startup scripts (obviously with the correct device, rather than /dev/usb/lp0):

Code: Select all

cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/usb/lp0
Why, sir! It worked perfectly! Thankyou very much for your efforts :D

A few things however:
I use this printer as a shared network printer with a windows 2000, I dont need to do the hotplug thing then, do I? (It printed fine, but i didn't reboot as I tested the printer under a live CD)

My printer also made a strange sound while printing... it made like a lower pitched sound and was a little slower I think... is this of concern and might possibly harm it? I might be a little paranoid too but it might have used more toner than normal too :o I've never seen it shiny like that (on the title of test page) but again I might wait this out and see.

Also, I haven't tried HPLIP (yet?) because it said that it is for dingo... I am running puppy 3.01. Should I try it if the above method is somehow hurting my printer?

Thankyou for all your hard work! I'm so glad to be able to at least print now! Now just tweaking it... :)

By the way: I extracted both of the tars provided, was I only supposed to extract one? The ppd selection in CUPS was in doubles :P

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#17 Post by disciple »

The P1006 is supported also.
Yes, sorry you're right since February :oops:
I use this printer as a shared network printer with a windows 2000, I dont need to do the hotplug thing then, do I?
Yes, you will be right.

I don't know about the noise, although I imagine it would probably sound a bit different if printing with more ink. Does it not have a control on the amount of ink used? What about in Windows? I doubt that it would be damaging the printer, but I really don't know :)

You could always try HPLIP to see what it is like.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Dark Adonis
Posts: 25
Joined: Mon 01 Sep 2008, 19:54
Contact:

#18 Post by Dark Adonis »

This is my first laser printer of the kind so I had to check :P

In windows, it does not show an option to use more/less ink. It lets you choose res though... 600 or 1200. (Default 600). Now that you mention it... ever since I installed this, I have never seen a toner gauge anywhere :o

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#19 Post by disciple »

It could just be printing at a higher resolution than you normally use.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Dark Adonis
Posts: 25
Joined: Mon 01 Sep 2008, 19:54
Contact:

#20 Post by Dark Adonis »

Ah, I got it. The printer roller was just going slightly slower :P
I suppose its to be expected, it was just a tad bit anyways. I'm happy now, thanks for everyone's help :)

Post Reply