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

NAME

8       foo2qpdl-wrapper - Convert Postscript into a QPDL printer stream
9

SYNOPSIS

11       foo2qpdl-wrapper [options] [ps-file]
12

DESCRIPTION

14       foo2qpdl-wrapper  is  a  Foomatic  compatible  printer  wrapper for the
15       foo2qpdl printer driver.  This script reads  a  Postscript  ps-file  or
16       standard input and converts it to Samsung/Xerox QPDL printer format for
17       driving the Samsung CLP-300,  CLX-2160,  CLX-3160,  CLP-315,  CLX-3175,
18       CLP-600, CLP-610, CLP-620, CLP-360, CLP-365, and Xerox Phaser 6110 QPDL
19       printers.
20
21       This script can be used in a standalone fashion, but is intended to  be
22       called  from  a  printer spooler system which uses the Foomatic printer
23       database.
24
25

COMMAND LINE OPTIONS

27   Normal Options
28       These are the options used to select the parameters of a print job that
29       are usually controlled on a per job basis.
30
31       -c     Print in color (else monochrome).
32
33       -C colormode
34              Color correction mode [0].
35
36               1   CRD
37              10   ICM color profile (using -G *.icm file)
38
39       -d duplex
40              Duplex code to send to printer [1].
41              │        │               │
42              │1   off │ 2   long edge │ 3   short edge
43
44       -m media
45              Media code to send to printer [0].
46
47              ────────────────────────
48              Media          QPDL
49              ────────────────────────
50              plain            0
51              thick            1
52              thin             2
53              bond             3
54              color            4
55              card             5
56              labels           6
57              envelope         7
58              preprinted       8
59              cotton           9
60              recycled        10
61              transparency    11
62              archive         12
63
64       -p paper
65              Paper size code to send to printer [0].
66
67              ┌──────────────┬──────────────────┐
68              │ 0   letter   │  1   legal       │
69              │ 2   A4       │  3   executive   │
70              │ 6   env #10  │  7   env Monarch │
71              │ 8   env C5   │  9   env DL      │
72              │11   B5jis    │ 12   B5iso       │
73              │16   A5       │ 17   A6          │
74              │23   env C6   │ 24   folio       │
75              │25   env 6.75 │ 26   env #9      │
76              │28   oficio   │                  │
77              └──────────────┴──────────────────┘
78       -n copies
79              Number of copies [1].
80
81       -r xresxyres
82              Set device resolution in pixels/inch [1200x600].
83
84       -s source
85              Source (Input Slot) code to send to printer [255].
86              │          │
87              │1   auto  │ 2   manual
88              │3   multi │ 4   tray1
89
90       -t     Draft mode.  Every other pixel is white.
91
92       -2 -3 -4 -5 -6 -8 -9 -10 -12 -14 -15 -16 -18
93              Print in N-up.  Requires the psutils package.
94
95       -o orient
96              Orientation used for N-up.
97
98              Portrait    -op   (normal)
99              Landscape   -ol   (rotated 90 degrees anticlockwise)
100              Seascape    -os   (rotated 90 degrees clockwise)
101
102   Printer Tweaking Options
103       These are the options used to customize the operation of foo2qpdl for a
104       particular printer.
105
106       -u xoffxyoff
107              Set the offset of the start of the printable region from the up‐
108              per left corner, in pixels [varies with paper size].
109
110       -l xoffxyoff
111              Set the offset of the end of the printable region from the lower
112              right corner, in pixels [varies with paper size].
113
114       -L mask
115              Send the logical clipping values from -u/-l in the QPDL  stream.
116              foo2qpdl-wrapper always runs Ghostscript with the ideal page di‐
117              mensions, so that the scale of the image is correct,  regardless
118              whether or not the printer has unprintable regions.  This option
119              is used to move the position of the clipped image back to  where
120              it belongs on the page.  The default is to send the amount which
121              was clipped by -u and -l, and should be good in most cases.
122
123              0   don't send any logical clipping amounts
124              1   only send Y clipping amount
125              2   only send X clipping amount
126              3   send both X and Y clipping amounts
127
128       -z model
129              Printer model. Model 0 is the default.
130
131              model   Description
132
133              0       CLP-300, CLX-2160, CLX-3160
134              1       CLP-600
135              2       CLP-310, CLP-315, CLP-610, CLX-3175
136              3       CLP-620, CLP-360, CLP-365
137
138   Color Tweaking Options
139       These are the options used to control  the  quality  of  color  output.
140       Color correction is currently a WORK IN PROGRESS.
141
142       -a parm=val
143              Color  Adjust.  parm is b, c, s, cr, mg, yb for brightness, con‐
144              trast, saturation, cyan-red balance, magenta-green balance,  and
145              yellow-blue balance.  val is 0 to 100.  Multiple options are al‐
146              lowed.  The default is "-ab=50  -ac=50  -as=50  -acr=50  -amg=50
147              -ayb=50".   This only works when the -z3 (e.g. CLP-365) model is
148              set!
149
150       -g gsopts
151              Additional   options   to   pass   to   Ghostscript,   such   as
152              -g“-dDITHERPPI=nnn”,  etc.   This  option  may  appear more than
153              once.
154
155       -G profile.icm
156              Convert profile.icm to a Postscript color  rendering  dictionary
157              (CRD)  using  icc2ps  and adjust the printer colors by using the
158              Postscript setcolorrendering operator.  (WORK IN PROGRESS).
159
160       -G gamma-file.ps
161              Prepend gamma-file.ps to the Postscript input to  perform  color
162              correction  using the setcolortransfer Postscript operator.  For
163              example, the file might contain:
164              {0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer
165
166       -I intent
167              Select profile intent from the ICM file.   0=Perceptual,  1=Col‐
168              orimetric, 2=Saturation, 3=Absolute.  Default is 0 (perceptual).
169
170   Debugging Options
171       These options are used for debugging foo2qpdl and its wrapper.
172
173       -S plane
174              Output just a single color plane from a color print and print it
175              on the black plane.  The default is to output all color planes.
176
177              1   Cyan
178              2   Magenta
179              3   Yellow
180              4   Black
181
182       -D level
183              Set Debug level [0].
184
185

EXAMPLES

187       Create a monochrome QPDL stream from a Postscript document, examine it,
188       and then print it using a RAW print queue:
189
190              foo2qpdl-wrapper testpage.ps > testpage.zm
191              qpdldecode < testpage.zm
192              lpr -P raw testpage.zm
193
194       Create a color QPDL stream from a Postscript document:
195
196              foo2qpdl-wrapper -c testpage.ps > testpage.zc
197
198

FILES

200       /usr/bin/foo2qpdl-wrapper
201

SEE ALSO

203       foo2qpdl(1), qpdldecode(1)
204

AUTHOR

206       Rick Richardson <rick.richardson@comcast.net>
207       http://foo2qpdl.rkkda.com/
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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
Impressum