HP LaserJet 1000 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
strange otput on hp lj-1000
Posted by: edo ()
Date: February 27, 2009 08:45AM

i use foo2zjs for printing from pbm-files.
i use "foo2zjs -r 600x600 -p 9 -z 1 -P" command line - it work file on 1018, but on 1000 picture is broken:


same printer work with windows drivers without troubles

Options: ReplyQuote
Re: strange otput on hp lj-1000
Posted by: rickrich ()
Date: February 27, 2009 09:42AM

Use:
    foo2zjs-wrapper -r 600x600 -p 9 -P
on HP LaserJet 1000. -z1 is for HP LaserJet 1018/1020/P2035.

From foo2zjs-wrapper:
{snip}
#
# Printer Notes:
#
# Minolta/QMS 2300 DL   - Does not need clipping, -X16, or -P.  But it doesn't
#                         break anything if you use them.
#
# Minolta/QMS 2200 DL   - Requires -X16 (which is on by default)
#                       - Requires clipping
#
# HP LaserJet 1000      - Same as 2200 DL, plus needs -P
# HP LaserJet 1005      - Same as 2200 DL, plus needs -P
# HP LaserJet 1018      - Same as 2200 DL, plus needs -P -z1 -L0
# HP LaserJet 1020      - Same as 2200 DL, plus needs -P -z1 -L0
# HP LaserJet P2035     - Same as 2200 DL, plus needs -P -z1 -L0
#

Options: ReplyQuote
Re: strange otput on hp lj-1000
Posted by: edo ()
Date: February 27, 2009 11:22AM

without "-z1" i get empty page. many empty pages

Options: ReplyQuote
Re: strange otput on hp lj-1000
Posted by: rickrich ()
Date: February 27, 2009 01:13PM

Works here:

$ foo2zjs-wrapper -r600x600 -P testpage.ps > xxx.prn
$ cp xxx.prn /dev/usb/lp0

On fedora 9 and 10.

What does zjsdecode say?

Options: ReplyQuote
Re: strange otput on hp lj-1000
Posted by: edo ()
Date: February 27, 2009 01:26PM

can you download, bunzip and try to print this file:
http://dionis.pnz.ru/i/image0.pbm.bz2

if it work - send me prn-file

zjsdecode say:
ZJS_MAGIC, 0x5a4a5a4a (JZJZ)
ZJT_START_DOC, 4 items
ZJI_DMCOLLATE, 0 (0x0)
ZJI_DMDUPLEX, 1 (0x1)
ZJI_PAGECOUNT, 0 (0x0)
ZJI_QUANTITY, 1 (0x1)
ZJT_START_PAGE, 17 items [Page 1]
ZJI_ECONOMODE, 0 (0x0)
ZJI_0x16, 1 (0x1)
ZJI_VIDEO_X, 2454 (0x996)
ZJI_VIDEO_Y, 3473 (0xd91)
ZJI_VIDEO_BPP, 1 (0x1)
ZJI_RASTER_X, 2454 (0x996)
ZJI_RASTER_Y, 3473 (0xd91)
ZJI_MINOLTA_CUSTOM_X, 0 (0x0)
ZJI_MINOLTA_CUSTOM_Y, 0 (0x0)
ZJI_NBIE, 1 (0x1)
ZJI_RESOLUTION_X, 600 (0x258)
ZJI_RESOLUTION_Y, 600 (0x258)
ZJI_DMDEFAULTSOURCE, 7 (0x7)
ZJI_DMCOPIES, 1 (0x1)
ZJI_DMPAPER, 9 (0x9)
ZJI_DMMEDIATYPE, 1 (0x1)
ZJI_MINOLTA_PAGE_NUMBER, 1 (0x1)
ZJT_JBIG_BIH, 0 items
Data: 20 bytes
DL = 0, D = 0, P = 1, - = 0, XY = 2454 x 3473
L0 = 128, MX = 16, MY = 0
Order = 3 ILEAVE SMID
Options = 92 LRLTWO TPDON TPBON DPON
28 stripes, 0 layers, 1 planes
ZJT_JBIG_BID, 0 items
Data: 18576 bytes
ZJT_END_JBIG, 0 items
ZJT_END_PAGE, 0 items
ZJT_END_DOC, 0 items
Total size: 18596 bytes

Options: ReplyQuote
Re: strange otput on hp lj-1000
Posted by: rickrich ()
Date: February 27, 2009 02:00PM

For DMPAPER = 9, XY should be 4760 x 6816!!!

Options: ReplyQuote
Re: strange otput on hp lj-1000
Posted by: edo ()
Date: February 27, 2009 03:38PM

rickrich Wrote:
-------------------------------------------------------
> For DMPAPER = 9, XY should be 4760 x 6816!!!

oops... i forgot - i do "pnmenlarge 2" between foo2zjs (real resolution of picture is 300dpi), so real zjsdecode output must be:

ZJS_MAGIC, 0x5a4a5a4a (JZJZ)
ZJT_START_DOC, 4 items
ZJI_DMCOLLATE, 0 (0x0)
ZJI_DMDUPLEX, 1 (0x1)
ZJI_PAGECOUNT, 0 (0x0)
ZJI_QUANTITY, 1 (0x1)
ZJT_START_PAGE, 17 items [Page 1]
ZJI_ECONOMODE, 0 (0x0)
ZJI_0x16, 1 (0x1)
ZJI_VIDEO_X, 4908 (0x132c)
ZJI_VIDEO_Y, 6946 (0x1b22)
ZJI_VIDEO_BPP, 1 (0x1)
ZJI_RASTER_X, 4908 (0x132c)
ZJI_RASTER_Y, 6946 (0x1b22)
ZJI_MINOLTA_CUSTOM_X, 0 (0x0)
ZJI_MINOLTA_CUSTOM_Y, 0 (0x0)
ZJI_NBIE, 1 (0x1)
ZJI_RESOLUTION_X, 600 (0x258)
ZJI_RESOLUTION_Y, 600 (0x258)
ZJI_DMDEFAULTSOURCE, 7 (0x7)
ZJI_DMCOPIES, 1 (0x1)
ZJI_DMPAPER, 9 (0x9)
ZJI_DMMEDIATYPE, 1 (0x1)
ZJI_MINOLTA_PAGE_NUMBER, 1 (0x1)
ZJT_JBIG_BIH, 0 items
Data: 20 bytes
DL = 0, D = 0, P = 1, - = 0, XY = 4908 x 6946
L0 = 128, MX = 16, MY = 0
Order = 3 ILEAVE SMID
Options = 92 LRLTWO TPDON TPBON DPON
55 stripes, 0 layers, 1 planes
ZJT_JBIG_BID, 0 items
Data: 21652 bytes
ZJT_END_JBIG, 0 items
ZJT_END_PAGE, 0 items
ZJT_END_DOC, 0 items

picture size must be exact 4760 x 6816? i try add pnmcut tommorow

Options: ReplyQuote
Re: strange otput on hp lj-1000
Posted by: rickrich ()
Date: February 27, 2009 04:21PM

$ pbmtolps <image0.pbm > xxx.ps
$ lpr xxx.ps

Options: ReplyQuote
Re: strange otput on hp lj-1000
Posted by: edo ()
Date: February 28, 2009 04:52AM

i do not have ghostscript in this computer.

and it is huge overhead - convert pbm to postscript, rasterize to pbm and send to printer ;)

Options: ReplyQuote
Re: strange otput on hp lj-1000
Posted by: edo ()
Date: April 10, 2009 01:12AM

i try 4760 x 6816 picture size - wthout any success.

but now printer is changed and foo2xqx work here.

Options: ReplyQuote


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