1foo2qpdl(1)                 General Commands Manual                foo2qpdl(1)
2
3
4
5
6

NAME

8       foo2qpdl  -  Convert  Ghostscript  pbmraw or bitcmyk format into a QPDL
9       printer stream
10

SYNOPSIS

12       foo2qpdl [options] <pbmraw-file >qpdl-file
13
14       foo2qpdl [options] <bitcmyk-file >qpdl-file
15
16       foo2qpdl [options] <pksmraw-file >qpdl-file
17

DESCRIPTION

19       foo2qpdl converts Ghostscript pbmraw, bitcmyk, or pksmraw  output  for‐
20       mats  to  monochrome  or  color  QPDL  streams, for driving the Samsung
21       CLP-300,  CLX-2160,  CLP-600,  CLX-3160,  CLP-610   CLP-620,   CLP-360,
22       CLP-365, and the Xerox Phaser 6110 QPDL printers.
23
24

COMMAND LINE OPTIONS

26   Normal Options
27       These are the options used to select the parameters of a print job that
28       are usually controlled on a per job basis.
29
30       -c     Force color mode if autodetect doesn't work.
31
32       -d duplex
33              Duplex code to send to printer [1].
34              │        │               │
35              │1   off │ 2   long edge │ 3   short edge
36
37       -g xpixxypix
38              Set page dimensions in pixels [10200x6600].
39
40       -m media
41              Media code to send to printer [0].
42
43              ────────────────────────
44              Media          QPDL
45              ────────────────────────
46              plain            0
47              thick            1
48              thin             2
49              bond             3
50              color            4
51              card             5
52              labels           6
53              envelope         7
54              preprinted       8
55              cotton           9
56              recycled        10
57              transparency    11
58              archive         12
59
60       -p paper
61              Paper code to send to printer [0].
62
63              ┌──────────────┬──────────────────┐
64              │ 0   letter   │  1   legal       │
65              │ 2   A4       │  3   executive   │
66              │ 6   env #10  │  7   env Monarch │
67              │ 8   env C5   │  9   env DL      │
68              │11   B5jis    │ 12   B5iso       │
69              │16   A5       │ 17   A6          │
70              │23   env C6   │ 24   folio       │
71              │25   env 6.75 │ 26   env #9      │
72              │28   oficio   │ 21   custom      │
73              └──────────────┴──────────────────┘
74       -n copies
75              Number of copies [1].
76
77       -r xresxyres
78              Set device resolution in pixels/inch [1200x600].
79
80       -s source
81              Source (InputSlot) code to send to printer [255].
82              │          │
83              │1   auto  │ 2   manual
84              │3   multi │ 4   tray1
85
86       -t     Draft mode.  Every other pixel is white.
87
88       -J filename
89              Filename string to send to printer.
90
91       -U username
92              Username string to send to printer.
93
94   Printer Tweaking Options
95       These are the options used to customize the operation of foo2qpdl for a
96       particular printer.
97
98       -a b,c,s,cr,mg,yb
99              Color  Adjust:  brightness,  contrast, saturation, cyan-red bal‐
100              ance, magenta-green balance, and yellow-blue balance from  0  to
101              100.   The  default  is 50,50,50,50,50,50.  This only works when
102              the -z3 (e.g. CLP-365) model is set!
103
104       -u xoffxyoff
105              Set the offset of the start of the  printable  region  from  the
106              upper left corner, in pixels [0x0].
107
108       -l xoffxyoff
109              Set the offset of the end of the printable region from the lower
110              right corner, in pixels [0x0].
111
112       -L mask
113              Send logical clipping amounts  implied  by  -u/-l  in  the  QPDL
114              stream [3].
115
116              0   don't send any logical clipping amounts
117              1   only send Y clipping amount
118              2   only send X clipping amount
119              3   send both X and Y clipping amounts
120
121       -A     AllIsBlack: convert C=1,M=1,Y=1 to just K=1.  Works with bitcmyk
122              input only.
123
124       -B     BlackClears: K=1 forces C,M,Y to 0.  Works  with  bitcmyk  input
125              only.
126
127       -z model
128              Printer model. Model 0 is the default.
129
130              model   Description
131              0       CLP-300, CLX-2160, CLX-3160
132              1       CLP-600
133              2       CLP-310, CLP-315, CLP-610, CLX-3175
134              3       CLP-620, CLP-360, CLP-365
135
136   Debugging Options
137       These options are used for debugging foo2qpdl.
138
139       -S plane
140              Output just a single color plane from a color print and print it
141              on the black plane.  The default is to output all color planes.
142
143              1   Cyan
144              2   Magenta
145              3   Yellow
146              4   Black
147
148       -D level
149              Set Debug level [0].
150
151

EXAMPLES

153       Create a black and white QPDL stream:
154
155              gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
156                  -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw
157                  -sOutputFile=- - < testpage.ps
158              | foo2qpdl -r1200x600 -g10200x6600 -p0 >testpage.zm
159
160       Create a color QPDL stream:
161
162              gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
163                  -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk
164                  -sOutputFile=- - < testpage.ps
165              | foo2qpdl -r1200x600 -g10200x6600 -p0 >testpage.zc
166
167

FILES

169       /usr/bin/foo2qpdl
170

SEE ALSO

172       foo2qpdl-wrapper(1), qpdldecode(1)
173

AUTHOR

175       Rick Richardson <rick.richardson@comcast.com>
176       http://foo2qpdl.rkkda.com/
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
Impressum