LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2007, 06:17 AM   #1
Yentor
LQ Newbie
 
Registered: Apr 2007
Distribution: Fedora 9
Posts: 24

Rep: Reputation: 16
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!
 
Old 09-29-2007, 11:12 PM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
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)?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem whit kinput2 japega Linux - Desktop 7 10-03-2006 07:40 PM
Problem whit my iptables Plutonium Linux - Security 5 01-14-2006 10:03 AM
Help me please whit this x Server problem... juswes Linux - Networking 0 11-24-2004 05:02 AM
Printing probems whit CUPS rkrcmar Linux - General 1 03-19-2004 05:14 PM
problem whit Giptables little_ball Linux - Networking 0 11-16-2003 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration