foo2slx -VERSION (return code: 0)
$Id: foo2slx.c,v 1.24 2011/06/09 13:02:24 rick Exp $
foo2slx --help (return code: 1)
foo2slx: invalid option -- '-'
Usage:
foo2slx [options] <pbmraw-file >slx-file
Convert Ghostscript pbmraw format to a monochrome SLX stream,
for driving the Lexmark C500 network color laser printer
and other SLX-based and Lexmark black and white printers.
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \
-sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \
-sOutputFile=- - < testpage.ps \
| foo2slx -r1200x600 -g10200x6600 -p1 >testpage.zm
foo2slx [options] <bitcmyk-file >slx-file
foo2slx [options] <pksmraw-file >slx-file
Convert Ghostscript bitcmyk or pksmraw format to a color SLX stream,
for driving the Lexmark C500 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 \
| foo2slx -r1200x600 -g10200x6600 -p1 >testpage.zc
Normal Options:
-c Force color mode if autodetect doesn't work
-g <xpix>x<ypix> Set page dimensions in pixels [10200x6600]
-m media Media code to send to printer [0]
0=plain, 1=transparency, 2=labels, 3=thick1, 4=envelope1
5=thin, 6=thick2, 7=envelope2, 8=middle, 9=special
-p paper Paper code to send to printer [6]
2=a4, 4=b5, 5=b5iso, 6=letter, 8=executive, 9=legal,
10=env#10, 11=envDL
-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 [0]
1=upper 2=lower 4=manual 7=auto
Code numbers may vary with printer model
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
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: foo2slx.c,v 1.24 2011/06/09 13:02:24 rick Exp $