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

NAME

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

SYNOPSIS

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

DESCRIPTION

14       foo2hp2600-wrapper  is  a  Foomatic  compatible printer wrapper for the
15       foo2hp printer driver.  This script reads a Postscript ps-file or stan‐
16       dard  input and converts it to Zenographics ZjStream printer format for
17       driving the Hewlett-Packard 2600n color laser printer and  other  Zeno‐
18       graphics-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       -b bits
31              Number of bits per plane. 1 or 2. [1].
32
33       -c     Print in color (else monochrome).
34
35       -d duplex
36              Duplex code to send to printer [1].
37              │        │               │
38              │1   off │ 2   long edge │ 3   short edge
39
40       -m media
41              Media code to send to printer [1].
42
43              ──────────────────────────
44              Media          HPLJ 2600n
45              ──────────────────────────
46              plain               1
47              preprinted        514
48              letterhead        513
49              transparency        2
50              prepunched        515
51              labels            265
52              bond              260
53              recycled          516
54              color             512
55              tough             276
56              envelope          267
57              light             258
58              heavy             262
59              cardstock         261
60              lightglossy       268
61              glossy            269
62              heavyglossy       270
63              cover             277
64              photo             278
65
66       -p paper
67              Paper size code to send to printer [1].
68
69              ┌─────────────────┬─────────────┐
70              │ 1   letter      │  9   A4     │
71              │ 5   legal       │ 11   A5     │
72              │ 7   executive   │ 13   B5jis  │
73              │20   env #10     │ 27   env DL │
74              │28   env C5      │ 34   env B5 │
75              │37   env Monarch │             │
76              └─────────────────┴─────────────┘
77       -n copies
78              Number of copies [1].
79
80       -r xresxyres
81              Set device resolution in pixels/inch [1200x600].
82
83       -s source
84              Source (Input Slot) code to send to printer [7].
85              │           │
86              │1   tray 2 │ 4   manual/tray 1
87              │2   tray 3 │ 7   auto
88
89       -t     Draft mode.  Every other pixel is white.
90
91       -2 -3 -4 -5 -6 -8 -9 -10 -12 -14 -15 -16 -18
92              Print in N-up.  Requires the psutils package.
93
94       -o orient
95              Orientation used for N-up.
96
97              Portrait    -op   (normal)
98              Landscape   -ol   (rotated 90 degrees anticlockwise)
99              Seascape    -os   (rotated 90 degrees clockwise)
100
101   Printer Tweaking Options
102       These are the options used to customize the operation of foo2hp  for  a
103       particular printer.
104
105       -u xoffxyoff
106              Set  the  offset  of  the start of the printable region from the
107              upper left corner, in pixels  [varies  with  paper  size].   The
108              defaults should work on the 2200DL and 2300DL, and have not been
109              tested on any other printers.
110
111       -l xoffxyoff
112              Set the offset of the end of the printable region from the lower
113              right  corner, in pixels [varies with paper size].  The defaults
114              should work on the 2200DL and 2300DL, and have not  been  tested
115              on any other printers.
116
117       -L mask
118              Send  the  logical  clipping  values from -u/-l in the ZjStream.
119              foo2hp2600-wrapper always runs Ghostscript with the  ideal  page
120              dimensions,  so  that the scale of the image is correct, regard‐
121              less whether or not the printer has unprintable  regions.   This
122              option is used to move the position of the clipped image back to
123              where it belongs on the page.  The default is to send the amount
124              which  was  clipped  by  -u  and  -l, and should be good in most
125              cases.
126
127              0   don't send any logical clipping amounts
128              1   only send Y clipping amount
129              2   only send X clipping amount
130              3   send both X and Y clipping amounts
131
132       -O parm=val
133              Alignment of CMYK.  parm is c, m, y, or  k.   val  is  in  rows.
134              Multiple options are allowed.  The default is "-Oc=0 -Om=0 -Oy=0
135              -Ok=0".
136
137       -P     Do not send START_PLANE codes  on  monochrome  output.   May  be
138              needed by some monochrome-only printers, such as the HP LaserJet
139              1000.
140
141       -X padlen
142              Add extra zero padding to the end of BID segments.  The  default
143              is  16  bytes.   Padding  16 bytes of zeroes is needed for older
144              ZjStream printers, such as the Minolta 2200DL  and  HP  LaserJet
145              1000,  and  seems  harmless  to  newer ones, such as the Minolta
146              2300DL.  So the default should be good for all cases.
147
148       -z model
149              Model: Model: 0=HP CLJ 1600/2600n; 1=HP CLJ CP1215
150
151   Color Tweaking Options
152       These are the options used to control  the  quality  of  color  output.
153       Color correction is currently a WORK IN PROGRESS.
154
155       -g gsopts
156              Additional   options   to   pass   to   Ghostscript,   such   as
157              -g“-dDITHERPPI=nnn”, etc.  This  option  may  appear  more  than
158              once.
159
160       -G profile.icm
161              Convert  profile.icm  to a Postscript color rendering dictionary
162              (CRD) using icc2ps and adjust the printer colors  by  using  the
163              Postscript   setcolorrendering   operator.   If  profile.icm  is
164              none.icm, then prepare for ordering a ICM custom printer profile
165              (i.e. from www.ICCFactory.com).
166
167       -G gamma-file.ps
168              Prepend  gamma-file.ps  to the Postscript input to perform color
169              correction using the setcolortransfer Postscript operator.   For
170              example, the file might contain:
171              {0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer
172
173       -I intent
174              Select  profile  intent from the ICM file.  0=Perceptual, 1=Col‐
175              orimetric, 2=Saturation, 3=Absolute.  Default is 0 (perceptual).
176
177   Debugging Options
178       These options are used for debugging foo2hp and its wrapper.
179
180       -S plane
181              Output just a single color plane from a color print and print it
182              on the black plane.  The default is to output all color planes.
183
184              1   Cyan
185              2   Magenta
186              3   Yellow
187              4   Black
188
189       -D level
190              Set Debug level [0].
191
192

EXAMPLES

194       Create  a  monochrome  ZjStream from a Postscript document, examine it,
195       and then print it using a RAW print queue:
196
197              foo2hp2600-wrapper testpage.ps > testpage.zm
198              zjsdecode < testpage.zm
199              lpr -P raw testpage.zm
200
201       Create a color ZjStream stream from a Postscript document:
202
203              foo2hp2600-wrapper -c testpage.ps > testpage.zc
204
205

FILES

207       /usr/bin/foo2hp2600-wrapper
208

SEE ALSO

210       foo2hp(1), zjsdecode(1)
211

AUTHOR

213       Rick Richardson <rick.richardson@comcast.net>
214       http://foo2hp.rkkda.com/
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
265
266
267
268
269
270
271
272
Impressum