Dear All
I have had the printer working over a SAMBA from a windows PC sharing. Now the windows PC is not working and now i can get this PC to Linux (ubuntu) 7.04.
I have pluged in this HP 1020 usb printer and the PC can see the printer and it has installed the recommended driver for it but i can not seam to get a print out of it when i do a test page. What can be the problem.
Can anyone point in a direction, as i have tried ......
"
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)"
and
"Please help. I must have put 20 hours into false starts and bad advice getting this printer to work (mostly), and really should have left well enough alone, but since 2 people had no problems at all, I thought it would be safe to upgrade to the latest foo2zjs drivers. After installation, the gnome printing panel stopped detecting my printer.
So I tried to apply the udev patch given at
http://support.ideainformatica.com/hplj1020/ to the new foo2zjs driver, with no luck.
After having no luck with the new foo2zjs drivers, I tried to reinstall the older patched udev foo2zjs drivers again using Johnp_g's post above.
However, the gnome printing panel still doesn't detect my printer! I've tried everything - rebooting, restarting udev, restarting cupsys, restarting the printer, reinstalling in different directories.
For various commands I get as follows:
$ cat /proc/sys/kernel/hotplug
/sbin/udevsend
and
$ sudo cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0
bash: /dev/usb/lp0: Permission denied
and finally
$ sudo usb_printerid /dev/usb/lp0
Error: Input/output error: GET_DEVICE_ID on '/dev/usb/lp0'
So the printer is definitely not being recognised. It is on. It has been turned off and on many times.
I have no clue where to go from here - up til now the problem has been with the printer giving errors, but it has always been detected at least.
Which components control this behaviour, and how do I restart/reinstall them?
Is there some way to check what's going on in udev? Has one of the installation scripts messed things up?
Is there a way to turn on 'hotplug' so that it may detect the usb printer instead?"
is there anything else i can do.
Keith
PS sorry for the long post, and yes i have Cut and Copied from the other posts