Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
Thread Tools Display Modes
Old October 18th, 2005   #1
pmilin@ptt.yu
5 Cups of Ubuntu
 
Join Date: Apr 2005
Beans: 39
How to get HP 1020 work on Ubuntu?

After unsuccessfully trying to get my HP 1020 work under linux I must conclude that none of the proposed "solutions" work:
a) I did HPLIP Installation, but 'apt-get install libsnmp5-dev' was not possible, because of unresolvable dependencies
b) I tried HPLIP from Ubuntu repositories, but that wasn't successful too for unknown reasons
c) HP Laserjet 1020 driver for Linux with 'foo2zjs' upgraded driver - unsuccessful! Reasons: first, 'make install-hotplug' cannot be done and that has been explained somewhere here, but after some hand-job, it was a success, yet printing is not working. Moreover, there are no HP 1000 or 1005 drivers.

Can anyone help with this matter?!?

I am new with Linux/Ubuntu, and getting to be seriosly frustrated. At least some things are much easier under MS Windows.

Sincerely, pmilin
pmilin@ptt.yu is offline   Reply With Quote
Old October 24th, 2005   #2
tigrez
5 Cups of Ubuntu
 
Join Date: Sep 2005
Beans: 31
Re: How to get HP 1020 work on Ubuntu?

Try this:

cat /usr/share/foo2zjs/firmware/sihp1005.dl > /dev/usb/lp0

It upload the firmware to work in my 1005. I don't know if it is the same for 1020... Anyway, this the only thing that CUPS don't do at startup...
tigrez is offline   Reply With Quote
Old October 25th, 2005   #3
cagljevic
First Cup of Ubuntu
 
cagljevic's Avatar
 
Join Date: Oct 2005
Location: Toronto
Beans: 9
Ubuntu 7.10 Gutsy Gibbon
Re: How to get HP 1020 work on Ubuntu?

i too am in the very same boat. i have scoured all the google results on "linux hp 1020" and have followed all of these suggestions. here is my current status:

the firmware is loaded, although i must do it manually each time. the only usable drivers that recognize the printer so far that i know are the hp laserjet 1000 and laserjet 1005. when i attempt to print from any source (open office, gedit, firefox, etc) i get blurred text. i noticed in some spot that also attempted to address this issue that text is printed clearly only if a4 page size is selected. guess what, i have done that and the output is still blurred. i am completely stumped. i feel i am close to getting it working since the printer does print something, its just useless garbage output though...

-mark
cagljevic is offline   Reply With Quote
Old November 11th, 2005   #4
Johnp_g
First Cup of Ubuntu
 
Join Date: Nov 2005
Location: Twatt, Shetland Islands, UK
Beans: 4
Ubuntu Breezy 5.10
Re: How to get HP 1020 work on Ubuntu?

Hi,

I've just migrated over to Ubuntu (from all manner of Linuxes - lastly Debian sarge) and also recently got an HP1020.

It was a hassle to get it to work under Sarge, but last night I got it going under Breezy.

You need to get the udev patched version of foo2zjs at:-

http://support.ideainformatica.com/h...patched.tar.gz

I'm not sure if you need the "normal" foo2zjs package already installed (my system had it there anyway).

Once you untar the archive (tar zxvf foo2zjs-patched.tar.gz) you need to cd into the new foo2zjs directory and

make
sudo make install

this will install the drivers and firmware.

Next edit the file (in the foo2zjs directory you're currently in) called 58-foo2zjs.rules (or some such) to correct a bug (it took me ages to work out why udev wouldn't upload the firmware)

look for the entry for the 1020 - specifically change

SYSFS{idProduct}=="2B17"

to

SYSFS{idProduct}=="2b17"

(the typo prevents udev from spotting the printer being plugged in!)

now install the udev scripts/rules :-

sudo make install-udev

I don't know if you need to restart udev (I messed about so much last night I got lost) but it can't hurt (?)

sudo udevstart

When you power cycle the printer you should hear it whirring as it powers, then whirring again as the new firmware is uploaded.

To check the firmware is in look at /var/log/messages - -there should be some note of successful upload of firmware.

Now you need to restart cupsys

sudo /etc/init.d/cupsys restart

Next use the normal gnome printer config tool to install the HP1020 - you should see the option to use the correct HP1020 foo2zjs driver.

(btw you might need to install the "build-essential" package - and "make" - to compile the foo2zjs package)


Hope this helps someone!

I also found it necessary to install "cupsys-bsd" to get the cups versions of "lpr lpq" etc, and also :-

sudo lpoptions -o cpi-12 -o lpi=7 -o page-left=36 -o page-right=36 -o page-top=36 -o page-bottom=36

to make plain (lpr) text fit nicely on the page.

Cheers,

John
Johnp_g is offline   Reply With Quote
Old November 11th, 2005   #5
Johnp_g
First Cup of Ubuntu
 
Join Date: Nov 2005
Location: Twatt, Shetland Islands, UK
Beans: 4
Ubuntu Breezy 5.10
Re: How to get HP 1020 work on Ubuntu?

Of course - I've just noticed this thread is in "Hoary" & I don't know if Hoary uses udev (having just installed Breezy as my first taste of Ubuntu).

If is doesn't you might like to upgrade to Breezy first?

John
Johnp_g is offline   Reply With Quote
Old November 11th, 2005   #6
Pointwood
5 Cups of Ubuntu
 
Join Date: Dec 2004
Location: Aarhus, Denmark
Beans: 32
Re: How to get HP 1020 work on Ubuntu?

That made it print (I'm using Kubuntu with KDE 3.5beta2), but the output was completely fuzzy and for a few moments felt really unhappy again
However, changing the paper size from letter to A4 (which is what we uses here in Europe ), fixed that

Thanks a lot for the explanation!
__________________
Pointwood
Jabber: Pointwood@jabber.shd.dk
Pointwood is offline   Reply With Quote
Old November 11th, 2005   #7
Johnp_g
First Cup of Ubuntu
 
Join Date: Nov 2005
Location: Twatt, Shetland Islands, UK
Beans: 4
Ubuntu Breezy 5.10
Re: How to get HP 1020 work on Ubuntu?

Yes, I'd seen rubbish printed with the wrong paper size selected while I was using Debian. When I got it working with Ubuntu it must have been already set to A4.

Glad I've helped someone!

Cheers

John
Johnp_g is offline   Reply With Quote
Old November 13th, 2005   #8
lizardking
Way Too Much Ubuntu
 
lizardking's Avatar
 
Join Date: Jan 2005
Location: Signa, Florence
Beans: 261
Hardy Heron (Ubuntu Development)
Send a message via ICQ to lizardking Send a message via MSN to lizardking Send a message via Yahoo to lizardking Send a message via Skype™ to lizardking
Re: How to get HP 1020 work on Ubuntu?

Thnk U to all.
It works for me...

Great ubuntu and great ideainformatica howto..

Thnaks for All everybody
__________________
iAc alias Lizardking - Ubuntu Artwork Team
web: www.iacopomasi.net
mail: iacopo.masi@gmail.com
lizardking is offline   Reply With Quote
Old November 21st, 2005   #9
gasparov
Just Give Me the Beans!
 
gasparov's Avatar
 
Join Date: Feb 2005
Location: Trento,Italy
Beans: 68
Send a message via MSN to gasparov
Re: How to get HP 1020 work on Ubuntu?

Quote:
Originally Posted by Pointwood
That made it print (I'm using Kubuntu with KDE 3.5beta2), but the output was completely fuzzy and for a few moments felt really unhappy again
However, changing the paper size from letter to A4 (which is what we uses here in Europe ), fixed that

Thanks a lot for the explanation!
I've changed the paper size in gnome printing config utilty but :

Code:
Nov 21 21:45:12 localhost foo2zjs-wrapper: foo2zjs-wrapper -P -r600x600 -p1 -s7 -m1 -d1 -n1 -I0
Nov 21 21:45:14 localhost foo2zjs-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r6 00x600 -sDEVICE=pbmraw
Nov 21 21:45:14 localhost foo2zjs-wrapper: foo2zjs -r600x600 -g5100x6600 -p1 -m1  -n1 -d1 -s7  -u 102x102 -l 102x106     -P
How did you change papersize?
__________________
Don't click here
gasparov is offline   Reply With Quote
Old November 21st, 2005   #10
gasparov
Just Give Me the Beans!
 
gasparov's Avatar
 
Join Date: Feb 2005
Location: Trento,Italy
Beans: 68
Send a message via MSN to gasparov
Re: How to get HP 1020 work on Ubuntu?

I still don't know what exactly was the problem but it seems it was related to my locale (english)
1)dpkg-reconfigure libpaper1--->chose a4 in my case
2)remove and reinstall printer with gnome utility

these two steps solved the problem
__________________
Don't click here
gasparov is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:32 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry