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

NAME

8       foo2zjs-wrapper - Convert Postscript into a ZJS printer stream
9

SYNOPSIS

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

DESCRIPTION

14       foo2zjs-wrapper  is  a  Foomatic  compatible  printer  wrapper  for the
15       foo2zjs printer driver.  This script  reads  a  Postscript  ps-file  or
16       standard  input and converts it to Zenographics ZjStream printer format
17       for driving the Minolta/QMS 2300 DL network  color  laser  printer  and
18       other Zenographics-based printers.
19
20       This  script can be used in a standalone fashion, but is intended to be
21       called from a printer spooler system which uses  the  Foomatic  printer
22       database.
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     Print in color (else monochrome).
31
32       -C colormode
33              Color correction mode [0].
34
35               1   Photos (using m2300w CRDs)
36               2   Photos and text (using m2300w CRDs)
37               3   Graphics and text (using m2300w CRDs)
38              10   ICM color profile (using -G *.icm file)
39
40       -d duplex
41              Duplex code to send to printer [1].
42              │        │               │
43              │1   off │ 2   long edge │ 3   short edge
44
45       -m media
46              Media code to send to printer [1].
47
48              ──────────────────────────────────────────────────────────────
49                              2300DL   2200DL   HP 1018   HP P1102       HP
50              Media          HP 1005            HP 1020   HP P1606   CP1025
51                                 -z0      -z0       -z1        -z2      -z3
52              ──────────────────────────────────────────────────────────────
53              standard             1        1         1          1        1
54              transparency         2        2         2          2        2
55              envelope           257       na       267        267      267
56              letterhead         259       na       513        513      513
57              bond                na       na       260        260      260
58              thick              261        4       261         na       na
59              postcard           262       na        na         na       na
60              rough               na       na       263        263      263
61              heavy               na       na       262        262      262
62              labels             263        3       263        265      265
63              vellum              na       na       273        273      273
64              medium              na       na        na        282      282
65              extraheavy          na       na        na        283      283
66
67              color               na       na       512        512      512
68              light               na       na       258        258      258
69              preprinted          na       na       514        514      514
70              prepunched          na       na       515        515      515
71              recycled            na       na       516        516      516
72
73       -p paper
74              Paper size code to send to printer [1].
75
76              ──────────────────────────────────────────────────────────────────
77                                        MC 2300DL   HP 1018   HP P1102       HP
78              Paper                       HP 1005   HP 1020   HP P1606   CP1025
79                                              -z0       -z1        -z2      -z3
80              ──────────────────────────────────────────────────────────────────
81              letter                            1         1          1        1
82              legal                             5         5          5        5
83              executive                         7         7          7        7
84              A4                                9         9          9        9
85              A5                               11        11         11       11
86              B5jis                            13        13         13       13
87              env #10                          20        20         20       20
88              env DL                           27        27         27       27
89              env CL                           28        28         28       28
90              env B5                           34        34         34       34
91              env Monarch                      37        37         37       37
92              postcard (japan)                 na       260         43       43
93              B5iso                            na       259         na       na
94              A6                               na       262         70       70
95              double postcard rotated          na       261         82       82
96              16k 197x273                      na       257        257      257
97              fanfold german legal             na       258        258      258
98              16k 184x260                      na        na        263      263
99              16k 195x270                      na        na        264      264
100              photo 4x6                        na        na         na      268
101              photo 5x8                        na        na         na      269
102              photo 10x15                      na        na         na      270
103
104       -n copies
105              Number of copies [1].
106
107       -r xresxyres
108              Set device resolution in pixels/inch [1200x600].
109
110       -s source
111              Source (Input Slot) code to send to printer [7].
112              │          │
113              │1   upper │ 4   manual
114              │2   lower │ 7   auto
115
116       -t     Draft mode.  Every other pixel is white.
117
118       -T density
119              Print density (1-5).  The default is 3 (medium).
120
121       -2 -3 -4 -5 -6 -8 -9 -10 -12 -14 -15 -16 -18
122              Print in N-up.  Requires the psutils package.
123
124       -o orient
125              Orientation used for N-up.
126
127              Portrait    -op   (normal)
128              Landscape   -ol   (rotated 90 degrees anticlockwise)
129              Seascape    -os   (rotated 90 degrees clockwise)
130
131   Printer Tweaking Options
132       These are the options used to customize the operation of foo2zjs for  a
133       particular printer.
134
135       -u xoffxyoff
136              Set  the  offset  of  the start of the printable region from the
137              upper left corner, in pixels  [varies  with  paper  size].   The
138              defaults should work on the 2200DL and 2300DL, and have not been
139              tested on any other printers.
140
141       -l xoffxyoff
142              Set the offset of the end of the printable region from the lower
143              right  corner, in pixels [varies with paper size].  The defaults
144              should work on the 2200DL and 2300DL, and have not  been  tested
145              on any other printers.
146
147       -L mask
148              Send  the  logical  clipping  values from -u/-l in the ZjStream.
149              foo2zjs-wrapper always runs  Ghostscript  with  the  ideal  page
150              dimensions,  so  that the scale of the image is correct, regard‐
151              less whether or not the printer has unprintable  regions.   This
152              option is used to move the position of the clipped image back to
153              where it belongs on the page.  The default is to send the amount
154              which  was  clipped  by  -u  and  -l, and should be good in most
155              cases.
156
157              0   don't send any logical clipping amounts
158              1   only send Y clipping amount
159              2   only send X clipping amount
160              3   send both X and Y clipping amounts
161
162       -P     Do not send START_PLANE codes  on  monochrome  output.   May  be
163              needed by some monochrome-only printers, such as the HP LaserJet
164              1000.
165
166       -X padlen
167              Add extra zero padding to the end of BID segments.  The  default
168              is  16  bytes.   Padding  16 bytes of zeroes is needed for older
169              ZjStream printers, such as the Minolta 2200DL  and  HP  LaserJet
170              1000,  and  seems  harmless  to  newer ones, such as the Minolta
171              2300DL.  So the default should be good for all cases.
172
173       -z model
174              Model. Default is 0.
175
176              0   KM 2300DL / HP 1000 / HP 1005
177              1   HP 1018 / HP 1020 / HP 1022
178              2   HP Pro P1102 / P1566 / P1606dn
179              3   HP Pro CP1025
180
181   Color Tweaking Options
182       These are the options used to control  the  quality  of  color  output.
183       Color correction is currently a WORK IN PROGRESS.
184
185       -g gsopts
186              Additional   options   to   pass   to   Ghostscript,   such   as
187              -g“-dDITHERPPI=nnn”, etc.  This  option  may  appear  more  than
188              once.
189
190       -G profile.icm
191              Convert  profile.icm  to a Postscript color rendering dictionary
192              (CRD) using icc2ps and adjust the printer colors  by  using  the
193              Postscript setcolorrendering operator.  (WORK IN PROGRESS).
194
195       -G gamma-file.ps
196              Prepend  gamma-file.ps  to the Postscript input to perform color
197              correction using the setcolortransfer Postscript operator.   For
198              example, the file might contain:
199              {0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer
200
201       -I intent
202              Select  profile  intent from the ICM file.  0=Perceptual, 1=Col‐
203              orimetric, 2=Saturation, 3=Absolute.  Default is 0 (perceptual).
204
205   Debugging Options
206       These options are used for debugging foo2zjs and its wrapper.
207
208       -S plane
209              Output just a single color plane from a color print and print it
210              on the black plane.  The default is to output all color planes.
211
212              1   Cyan
213              2   Magenta
214              3   Yellow
215              4   Black
216
217       -D level
218              Set Debug level [0].
219
220

EXAMPLES

222       Create  a  monochrome  ZjStream from a Postscript document, examine it,
223       and then print it using a RAW print queue:
224
225              foo2zjs-wrapper testpage.ps > testpage.zm
226              zjsdecode < testpage.zm
227              lpr -P raw testpage.zm
228
229       Create a color ZjStream stream from a Postscript document:
230
231              foo2zjs-wrapper -c testpage.ps > testpage.zc
232
233

FILES

235       /usr/bin/foo2zjs-wrapper
236

SEE ALSO

238       foo2zjs(1), zjsdecode(1)
239

AUTHOR

241       Rick Richardson <rick.richardson@comcast.net>
242       http://foo2zjs.rkkda.com/
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
Impressum