foo2ddst -VERSION (return code: 0)
$Id: foo2ddst.c,v 1.10 2017/03/26 18:29:05 rick Exp $
foo2ddst --help (return code: 1)
foo2ddst: invalid option -- '-'
Usage:
foo2ddst [options] <pbmraw-file >ddst-file
Convert Ghostscript pbmraw format to a monochrome ZJS stream,
for driving the Ricoh SP1212 and other laser printers.
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \
-sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \
-sOutputFile=- - < testpage.ps \
| foo2ddst -r1200x600 -g10200x6600 -p1 >testpage.zm
Normal Options:
-d duplex Duplex code to send to printer [1]
1=off, 2=longedge, 3=shortedge
-g <xpix>x<ypix> Set page dimensions in pixels [5100x6600]
-m media Media code to send to printer [1]
1=plain&recycled 2=paper 3=thin 4=thick1 5=recycled
-p paper Paper code to send to printer [1]
1=letter 2=legal 3=executive 4=invoice(5.5x8.5)
5=A4 6=A5 7=A6 8=B5JIS 9=B6JIS
10=16k197x273, 11=16k184x260, 12=16k195x270
-n copies Number of copies [1]
-r <xres>x<yres> Set device resolution in pixels/inch [600x600]
-s source Source code to send to printer [7]
1=tray1 2=manual
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]
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: foo2ddst.c,v 1.10 2017/03/26 18:29:05 rick Exp $