foo2zjs -VERSION (return code: 0)
$Id: foo2zjs.c,v 1.109 2011/11/12 16:39:53 rick Exp $
foo2zjs --help (return code: 1)
foo2zjs: invalid option -- '-'
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
4=manual longedge, 5=manual shortedge
-g <xpix>x<ypix> Set page dimensions in pixels [10200x6600]
-m media Media code to send to printer [1]
-z0:
1=standard, 2=transparency, 3=glossy, 257=envelope,
259=letterhead, 261=thickstock, 262=postcard, 263=labels
-z1,-z2: above plus
258=light, 261=cardstock, 263=rough, 265=labels,
267=envelope, 273=vellum, 512=color, 513=letterhead,
514=preprinted, 515=prepunched, 516=recycled
-p paper Paper code to send to printer [1]
-z0:
1=letter, 5=legal, 7=executive, 9=A4, 11=A5, 13=B5jis
20=env#10, 27=envDL 28=envC5 34=envB5 37=envMonarch
-z1: -z0 plus
257=16K 197x273, 258=fanfold german legal, 259=b5iso,
260=postcard, 261=doublepostcard, 262=A6
-z2: -z0 plus
43=postcard, 70=A6, 82=double postcard rotated,
257=16K 197x273, 263=16K 184x260, 264=16K 195x270,
258=fanfold german legal
-z3: -z0 plus
43=postcard, 70=A6, 82=double postcard rotated,
257=16K 197x273, 263=16K 184x260, 264=16K 195x270,
258=fanfold german legal, 268=photo4x6, 269=photo5x8,
270=photo10x15
-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
-t Draft mode. Every other pixel is white.
-T density Print density (1-5) [3].
-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]
-z model Model: [0]
0=KM 2300DL / HP 1000 / HP 1005
1=HP 1018 / HP 1020 / HP 1022
2=HP Pro P1102 / P1566 / P1606dn
3=HP Pro CP102?nw
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.109 2011/11/12 16:39:53 rick Exp $