Originally Posted by johnny1959
Oh, holy soul. A reply after five years and you signed up only for posting the info! My reply notification was still ebabled for this thread, so after renewing the long forgotten password I could log in again.
I hope this info will be useful for others now.
Myself, I have lost the battle against Bill many years ago. I gave up and returned to Windows. I don't have time to fight this war. I need computers to use them. Meanwhile I have a wonderful fully network integrated HP printer-all-in-one which was installed in 15 minutes with a simple setup.exe and it does miraculous things just like this. No pain, no wasted evenings, no panic, no dreading divorce because of a neglected wife.
It's sad to say, but my life is happier without Linux. I would love to give it another try, but reading the advice from 2009 doesn't give me the feeling that things have changed much.
Good luck to all the remaining heroes.
Well - you couldn't be as stubborn as I am - you sound close. That's not a knock - I understand. LOL.
Now having said that - *ewwwwahahahaha*
Ok - just for you - here is what I did to get this working.
Remember that I said you have to send the firmware to the printer first before it prints. That's the "Cat"ch.
Remember - before you do anything with foo2zjs - make sure that you have foomatic-rip installed. If you can't install it - download it and place it where it goes.
After downloading the foo program and clicking on it and saying extract - I had a folder called foo2zjs in my home directory.
Discovery:/home/Quackula/foo2zjs # make
/home/Quackula/foo2zjs # chmod a+rw /dev/usb/lp0
/home/Quackula/foo2zjs # ./getweb 1018
(c) Copyright Hewlett-Packard 2005
Discovery:/home/Quackula/foo2zjs # make install
Discovery:/home/Quackula/foo2zjs # make install-hotplug
Discovery:/home/Quackula/foo2zjs # cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/usb/lp0
OH MY GOD! THE COMPUTER IS MAKING NOISE AND THE LIGHTS ARE BLINKING!!!!
Oh wait that's good.
I just sent the firmware to the printer.
Note - keep track of the name of the file you just downloaded. Mine was sihp1018.img. It appears after you type getweb.
Print a test page. Yep.
"Look ma! I got me a test page."
OK - two things I left out.
1. This is for everybody (Linux, BSD's SuSE - whatever)
You have to send that firmware once to the printer before you can print. If you turn the printer off - you have to send the firmware again.
Now instead of opening up a command line every time you boot in - why not do this automaticly every time you boot into Isuzu Linux - or whatever? Huh? Sound good? Oakily doakily.
Open up a text editor and type the following in it - with one maybe two modifications - you need to know the name of the file you downloaded.
Mine was sihp1018.img. So if I were following these instructions, I'd change sihp1018.img to sihp1018.dl in the whatchamacallit below. If you received hgfhgfhg666dfgdgfd.img you'd change it to hgfhgfhg666dfgdgfd.dl
Second exception that Johnny here figured out - you have to know what device Linux calls the printer. Mine happens to be /dev/usb/lp0. I can't guarantee it will be the same for everyone.
Code starts below:
# Loads HP Firmware to the Printer on Startup
echo "I made this script so I wouldn't have to open up the"
echo "shell. Plus I can tell my friends I am a programmer."
echo "If the printer is not on - this won't work"
cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/usb/lp0
Code ended above
Name it HP1018, mark it executible (right click make executible) and as root, place this in /etc/rc.d
Go into yast and system services and have this start on run level 3.
Second thing to know. In SuSe 10 - I'm not sure if Yast will detect what the device is correctly. CUPS sees it as: usb://HP/LaserJet%201018
CUPS is the print spool service
I had to go into http://localhost:631
to change the connection to from something else. Or maybe I didn't and I thought I did.
If you were only as stubborn as I am, Johnny.
To me its not about socking it to old Bill - just for the sake of it - its about the reality that for every problem with Linux - chances are good someone has been kind enough to make it easier - and that sense of community is what its all about.
I'm happy to come here and help out because that means I'm giving back. It impossible to dispise the people who make the software because we scratch each others backs.
Linux is all about knowing the right recipes. And to find those recipres - and earn your freedom from Bill - your best friend is your own ability to research to find solutions and be willing to test it out.
With Linux you make some or all of the software and its something you can be proud of and have a sense of empowerment.
Another thing - in general - when working with Unix operating systems - up to about 2 years ago - I wouldn't rush out to buy a USB printer. Its just more complicated to deal with. Still a bit in some cases.
Could HP put these instructions or firmware on its CD? Sure. Why don't they - ask them!