foo2qpdl -VERSION (return code: 0)
$Id: foo2qpdl.c,v 1.54 2014/01/27 02:23:29 rick Exp $
foo2qpdl --help (return code: 1)
foo2qpdl: invalid option -- '-'
Usage:
foo2qpdl [options] <pbmraw-file >qpdl-file
Convert Ghostscript pbmraw format to a monochrome ZJS stream,
for driving the HP LaserJet M1005 MFP laser printer.
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \
-sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \
-sOutputFile=- - < testpage.ps \
| foo2qpdl -r1200x600 -g10200x6600 -p1 >testpage.zm
foo2qpdl [options] <bitcmyk-file >qpdl-file
foo2qpdl [options] <pksmraw-file >qpdl-file
Convert Ghostscript bitcmyk or pksmraw format to a color ZJS stream,
for driving the HP LaserJet M1005 MFP 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 \
| foo2qpdl -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 [0]
0=plain, 1=thick, 2=thin. 3=bond, 4=color, 5=card,
6=labels, 7=envelope, 8=preprinted, 9=cotton,
10=recycled, 11=transparency, 12=archive
-p paper Paper code [0]
0=letter, 1=legal, A4=2, 3=executive, 6=env#10,
7=envMonarch, 8=envC5, 9=envDL, 11=B5jis, 12=B5iso,
16=A5, 17=A6, 21=custom, 23=envC6, 24=folio, 25=env6.75,
26=env#9, 28=oficio
-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 [1]
1=upper 2=lower 4=manual 7=auto
Code numbers may vary with printer model
-t Draft mode. Every other pixel is white.
-J filename Filename string to send to printer []
-U username Username string to send to printer []
Printer Tweaking Options:
-a b,c,s,cr,mg,yb Color Adjust from 0 to 100 [50,50,50,50,50,50]
-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=CLP-300, CLX-2160, CLX-3160
1=CLP-600
2=CLP-310/315, CLP-320/325, CLP-610, CLX-3175
3=CLP-360/365, CLP-620
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: foo2qpdl.c,v 1.54 2014/01/27 02:23:29 rick Exp $