LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem whit cat, printing (https://www.linuxquestions.org/questions/linux-software-2/problem-whit-cat-printing-588184/)

Yentor 09-29-2007 06:17 AM

problem whit cat, printing
 
i have a hp laserjet 1018, i've search about, found a a program called foo2zjs / http://foo2zjs.rkkda.com //
and some tips here
Quote:

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/sihp1000.dl > /dev/usb/lp0
or:
cat /usr/share/foo2zjs/firmware/sihp1005.dl > /dev/usb/lp0
or:
cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0

NOTE: The original HP files are named '*.img'. Sometimes HP supplies
these files ready-to-download to the printer, sometimes they are raw
ARM executables and need to have a special header added to them before
they can be downloaded. The "make install" step will use the supplied
"arm2hpdl" program to automatically detect which kind of file they are
and convert them (if needed) to the downloadable '*.dl' format.
http://blog.xorp.hu/linux-howtos/hp-...mware-upgrade/

i've entered this command:
Quote:

cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/bus/usb/001/002
i have got this answer: cat: write error: Invalid argument
i have using fedora 6
Please help!

blackhole54 09-29-2007 11:12 PM

I noticed you used /dev/bus/usb/001/002 instead of /dev/usb/lp0 as in the article you quoted. Is /dev/bus/usb/001/002 the right kind of device (probably a character device)?


All times are GMT -5. The time now is 09:09 AM.