View previous topic :: View next topic |
Author |
Message |
rambam Tux's lil' helper
Joined: 16 Oct 2004 Posts: 104 Location: /dev/null
|
Posted: Wed Sep 05, 2007 6:36 am Post subject: A good laser printer for Gentoo and how to install it. |
|
|
I bought a HP 1020 laserprinter and it is working well under Gentoo.
It is faster and has better print quality than my old Lexmark 232E.
It is also quieter and smaller than my old printer.
Here is how I installed it:
I followed the instructions at http://foo2zjs.rkkda.com/INSTALL
Here are the relevant parts of the instructions:
Quote: | Unpack:
$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
$ tar zxf foo2zjs.tar.gz
$ cd foo2zjs
(Optional) Uninstall:
$ su
# make uninstall
Compile:
$ make
Get extra files from the web
$ ./getweb 1020 # Get HP LaserJet 1020 firmware file
Install driver, foomatic XML files, PPD files, and extra files:
$ su
# make install
Install hotplug
$ su
# make install-hotplug
If you use CUPS to manage your printers, you must restart cupsd:
# make cups OR $ sudo make cups
Create printers
$ sudo gnome-cups-manager
$ sudo make cups
NOTE: to edit a queue hit "Properties" (click right mouse button).
OR
Connect with a web browser to:
http://localhost:631
And configure printer (HP example shown) to:
HP LaserJet 2600n, Foomatic + foo2zjs (en)
Then edit "Manage Printers->Configure Printer" to suit you,
such as "Page Size" or "Color Mode".
HP LASERJET 1020 NOTES
-------------------------------------
These printers need their firmware downloaded to them every time they
are powered up.
On Linux with USB connected printer:
If you are running Linux and the printer is connected via USB, you
can arrange for the firmware to be automatically downloaded to the
printer by performing one more installation step:
# make install-hotplug
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:
cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0
These printers do not have a "button" when you run out of paper. But you
can simulate this by reloading the paper and doing:
$ usb_printerid /dev/usb/lp0
|
_________________ The soul, when accustomed to superfluous things, acquires a strong habit of desiring things. This desire is without limit, while things which are necessary are few in number. |
|
Back to top |
|
|
Ant Tux's lil' helper
Joined: 31 Oct 2002 Posts: 129 Location: Australia
|
|
Back to top |
|
|
mconfortino n00b
Joined: 28 Feb 2006 Posts: 11
|
Posted: Thu Apr 03, 2008 10:32 pm Post subject: HP 1020 Out of paper |
|
|
A very clear guide. I installed my 1020 following the guide and it works ok. There is a problem, however: when the printer gets out of paper I have no device named /dev/usb/lp0. Did I do something wrong? Thanks. |
|
Back to top |
|
|
paulbiz Guru
Joined: 01 Feb 2004 Posts: 508 Location: St. Louis, Missouri, USA
|
Posted: Fri Apr 04, 2008 1:32 am Post subject: |
|
|
I have the same printer and it's working OK in Gentoo. I hardly ever print anything so I'm not sure about the out-of-paper problem.
I printed some PDF of my taxes and everything looks okay, so I'm happy. The printer was so cheap that when it runs out of toner I'll just buy another printer instead of buying the toner. |
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Sat Apr 12, 2008 5:56 am Post subject: |
|
|
Hello,
How can i make this printer work through samba, it`s connected to win pc in next room (192.168.1.3) _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
|
paulbiz Guru
Joined: 01 Feb 2004 Posts: 508 Location: St. Louis, Missouri, USA
|
Posted: Sun Apr 13, 2008 12:54 am Post subject: |
|
|
Kollin wrote: | Hello,
How can i make this printer work through samba, it`s connected to win pc in next room (192.168.1.3) |
Hi,
CUPS, Samba, CIFS ... read about it here:
http://www.gentoo.org/doc/en/printing-howto.xml
|
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Sun Apr 13, 2008 12:56 pm Post subject: |
|
|
Thanx but im intersted about uploading the firmware to the printer via smba ... is it possible or that is unnecessary (windows should do it cose printer is connected to it)? _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
|
schrdlu n00b
Joined: 01 Nov 2009 Posts: 61 Location: Adelaide Sth Australia
|
Posted: Fri Sep 14, 2012 8:08 am Post subject: |
|
|
Hi there,this article has made me a happy camper. As I wasn't having any success with the hplip drivers under Gentoo,well at least the 3.12.6 series,as this one really didn't have a driver for my model CP1025nw Laserjet,to be more precise the driver was requesting a proprietry plugin which I had no success in locating. .
The foo2zjs drivers did contain drivers for my machine,the result is I can now print from any of my local machines,including the Windoze laptop.
Many thanks for your efforts in putting together this information. |
|
Back to top |
|
|
|