Friday, June 29, 2007

[BLUG] setting up an hp laserjet 1018 on debian

supposedly one can get a laserjet 1018 at (newegg|amazon|circuit city) for
approximately $35 shipped after rebate, (rebate ending tommorrow btw) so i
decided to give it a try.

the printer needs to load firmware with some sort of questionable
licensing so it won't work right out of the box on "pure" distros such as
debian. why they didnt just stick it in non-free i'll never know. i
haven't gotten the rebate yet but the printer does indeed work on debian
etch. inkscape prints nicely after adding a - to the lp command line;
still haven't figured out how to print from gimp though.

without further ado, here's the condensed howto for your googling pleasure

# how to install drivers for an hp laserjet 1018
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
tar zxvf foo2*
cd foo2*
make
# go have some ice cream
./getweb 1018
sudo make install
sudo make install-hotplug
sudo make cups
#plug the printer in
lsusb
# you should see an entry something like:
# Bus 001 Device 002: ID 03f0:4117 Hewlett-Packard
# hint: dont boot up with printer plugged in
# if you do, you may get in dmesg:
# "usb 1-1: device descriptor read/64, error -110"
# i had to reboot to get it back, nfc why
sudo printconf
# go to http://localhost:631 and click "test page"
# click "allowed users" and add yer users (fenn) and authenticate root/pw :(
sudo /usr/sbin/lpadmin -p laserjet_1018 -u allow:all
# print a test image
lp -d laserjet_1018 -o scale=100 test.jpg


/\-/\
>( o.o )<
_____> <________fenn_____
_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

No comments: