HP LaserJet 1020 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
I cant install my hp 1020
Posted by: puyi ()
Date: December 11, 2006 03:18PM

hi !

i've just install my printer following the instructions of "http://foo2zjs.rkkda.com/"; and "http://foo2zjs.rkkda.com/ubuntu/hp1020.html"; but when i send something to print, the printer it does not do anything.

if someone knows what its happens, please help me.

thxx

Options: ReplyQuote
Re: I cant install my hp 1020
Posted by: rickrich ()
Date: December 11, 2006 04:55PM

What does this say:

$ usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS: PRINTER;DES:HP LaserJet 1020;FWVER:20041129;

And this:

$ sudo grep foo2zjs /var/log/messages
[snip]
Dec 11 14:12:31 amd foo2zjs-wrapper: foo2zjs-wrapper -P -z1 -L0 -r1200x600 -p1 -s7 -m1 -n1
Dec 11 14:12:32 amd foo2zjs-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw
Dec 11 14:12:32 amd foo2zjs-wrapper: foo2zjs -r1200x600 -g10200x6600 -p1 -m1 -n1 -d1 -s7 -z1  -u 192x96 -l 192x96 -L 0     -P
[snip]



Edited 2 time(s). Last edit at 12/11/2006 05:04PM by rickrich.

Options: ReplyQuote
Re: I cant install my hp 1020
Posted by: puyi ()
Date: December 15, 2006 05:17AM

hi rickrich, thx for your reply.

when i put : $ usb_printerid /dev/usb/lp0

GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS : PRINTER;DES:HP LaserJet 1020;FWVER:20041129;


--> its correct.

and : $ sudo grep foo2zjs /var/log/messages

Dec 11 20:47:07 p-desktop foo2zjs-wrapper: foo2zjs-wrapper -P -z1 -L0 -r1200x600 -p9 -s7 -m1 -n1
Dec 11 20:47:08 p-desktop foo2zjs-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw
Dec 11 20:47:08 p-desktop foo2zjs-wrapper: foo2zjs -r1200x600 -g9920x7016 -p9 -m1 -n1 -d1 -s7 -z1 -u 192x96 -l 192x96 -L 0 -P

the same, like you.
I cant understand, why i cant print nothing. My ubuntu version is 6.10

thx.



Edited 3 time(s). Last edit at 12/15/2006 05:19AM by puyi.

Options: ReplyQuote
Re: I cant install my hp 1020
Posted by: rickrich ()
Date: December 15, 2006 09:26AM

Do this from foo2zjs directory:

$ foo2zjs-wrapper -L0 -z1 testpage.ps > xxx
$ sudo cp xxx /dev/usb/lp0

Did that work?

If so, then its a CUPS problem with specifying /dev/usb/lp0. Do this:

$ sudo grep DeviceURI /etc/cups/printers.conf
DeviceURI usb:/dev/usb/lp0

What does that say?

Options: ReplyQuote
Re: I cant install my hp 1020
Posted by: puyi ()
Date: December 18, 2006 07:49AM

hi,

-for :
$ foo2zjs-wrapper -L0 -z1 testpage.ps > xxx

-my konsole says:

/usr/bin/foo2zjs-wrapper: 435: cannot open testpage.ps: No such file

-whereis testpage.ps?

-for:
$ sudo cp xxx /dev/usb/lp0
-everything its allright --> its says nothing

-for:
$ sudo grep DeviceURI /etc/cups/printers.conf
-says:
DeviceURI hp:/usb/HP_LaserJet_1020?serial=FN0JF1J

thx.

Options: ReplyQuote
Re: I cant install my hp 1020
Posted by: rickrich ()
Date: December 18, 2006 09:47AM

Do this from foo2zjs directory. Jeez.

Options: ReplyQuote
Re: I cant install my hp 1020
Posted by: puyi ()
Date: December 23, 2006 01:23PM

ok, rickrich , excuses .

from foo2zjs:
$ foo2zjs-wrapper -L0 -z1 testpage.ps > xxx

foo2zjs: invalid option -- z
Usage:
foo2zjs [options] <pbmraw-file >zjs-file

Convert Ghostscript pbmraw format to a monochrome ZJS stream,
for driving the Minolta/QMS 2300 DL network color laser printer
and other Zenographics-based black and white printers.

gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \
-sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \
-sOutputFile=- - < testpage.ps \
| foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zm

foo2zjs [options] <bitcmyk-file >zjs-file
foo2zjs [options] <pksmraw-file >zjs-file

Convert Ghostscript bitcmyk or pksmraw format to a color ZJS stream,
for driving the Minolta/QMS 2300 DL network color laser printer
N.B. Color correction is expected to be performed by ghostscript.

gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \
-sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk \
-sOutputFile=- - < testpage.ps \
| foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zc

Normal Options:
-c Force color mode if autodetect doesn't work
-d duplex Duplex code to send to printer [1]
1=off, 2=longedge, 3=shortedge
-g <xpix>x<ypix> Set page dimensions in pixels [10200x6600]
-m media Media code to send to printer [1]
1=standard 2=transparency 3=glossy 257=envelope
259=letterhead 261=thickstock 262=postcard 263=labels
-p paper Paper code to send to printer [1]
1=letter, 5=legal 7=executive 9=A4 11=A5 13=B5
-n copies Number of copies [1]
-r <xres>x<yres> Set device resolution in pixels/inch [1200x600]
-s source Source code to send to printer [7]
1=upper 2=lower 4=manual 7=auto
Code numbers may vary with printer model
-J filename Filename string to send to printer []
-U username Username string to send to printer []

Printer Tweaking Options:
-u <xoff>x<yoff> Set offset of upper left printable in pixels [0x0]
-l <xoff>x<yoff> Set offset of lower right printable in pixels [0x0]
-L mask Send logical clipping values from -u/-l in ZjStream [3]
0=no, 1=Y, 2=X, 3=XY
-A AllIsBlack: convert C=1,M=1,Y=1 to just K=1
-B BlackClears: K=1 forces C,M,Y to 0
-A, -B work with bitcmyk input only
-P Do not output START_PLANE codes. May be needed by some
some black and white only printers.
-X padlen Add extra zero padding to the end of BID segments [16]

Debugging Options:
-S plane Output just a single color plane from a color print [all]
1=Cyan, 2=Magenta, 3=Yellow, 4=Black
-D lvl Set Debug level [0]
-V Version $Id: foo2zjs.c,v 1.59 2004/10/21 22:36:43 rick Exp $

Says , INVALID OPTION.

what can i do??

thx a lot.

Options: ReplyQuote
Re: I cant install my hp 1020
Posted by: rickrich ()
Date: December 23, 2006 04:19PM

You have not followed the instructions.

You have a outdated or THIRD PARTY foo2zjs!!!! From BEFORE HP 1018/1020/1022 was added (e.g. Nov. 14, 2005 or earlier).

Here are the instructions again. Please follow them.

    $ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
    $ tar zxf foo2zjs.tar.gz
    $ cd foo2zjs
    $ sudu make uninstall
    $ make
    $ ./getweb 1020             # Get HP LaserJet 1020 firmware file
    $ sudo make install install-hotplug cups



Edited 2 time(s). Last edit at 11/12/2007 07:01PM by rickrich.

Options: ReplyQuote
Re: I cant install my hp 1020
Posted by: puyi ()
Date: December 24, 2006 04:42AM

hiiiiiii!!! rickrich, thx so so so so much!!!

that's rigth, my printer now it's ok!!!! working at ubuntu!!

Merry Christmas and happy new year!!!! ou!ou!ou!

See youu.



Edited 1 time(s). Last edit at 12/24/2006 04:43AM by puyi.

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.