Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A good laser printer for Gentoo and how to install it.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rambam
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2004
Posts: 104
Location: /dev/null

PostPosted: Wed Sep 05, 2007 6:36 am    Post subject: A good laser printer for Gentoo and how to install it. Reply with quote

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
View user's profile Send private message
Ant
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 129
Location: Australia

PostPosted: Wed Sep 05, 2007 7:26 am    Post subject: Reply with quote

Nice work. Have you considered putting this on the gentoo-wiki?

Feel free to edit it. :)

http://gentoo-wiki.com/HP1020_setup
Back to top
View user's profile Send private message
mconfortino
n00b
n00b


Joined: 28 Feb 2006
Posts: 11

PostPosted: Thu Apr 03, 2008 10:32 pm    Post subject: HP 1020 Out of paper Reply with quote

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
View user's profile Send private message
paulbiz
Guru
Guru


Joined: 01 Feb 2004
Posts: 506
Location: St. Louis, Missouri, USA

PostPosted: Fri Apr 04, 2008 1:32 am    Post subject: Reply with quote

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. :P
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1105
Location: Sofia/Bulgaria

PostPosted: Sat Apr 12, 2008 5:56 am    Post subject: Reply with quote

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
View user's profile Send private message
paulbiz
Guru
Guru


Joined: 01 Feb 2004
Posts: 506
Location: St. Louis, Missouri, USA

PostPosted: Sun Apr 13, 2008 12:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1105
Location: Sofia/Bulgaria

PostPosted: Sun Apr 13, 2008 12:56 pm    Post subject: Reply with quote

paulbiz wrote:
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

:)


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)? :roll:
_________________
"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
View user's profile Send private message
schrdlu
n00b
n00b


Joined: 01 Nov 2009
Posts: 55
Location: Adelaide Sth Australia

PostPosted: Fri Sep 14, 2012 8:08 am    Post subject: Reply with quote

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. :roll: .
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum