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

NAME

8       foo2hp  -  Convert  Ghostscript  pbmraw  or  bitcmyk  format into a ZJS
9       printer stream
10

SYNOPSIS

12       foo2hp [options] <pbmraw-file >zjs-file
13
14       foo2hp [options] <bitcmyk-file >zjs-file
15
16       foo2hp [options] <cups-file >zjs-file
17

DESCRIPTION

19       foo2hp converts Ghostscript pbmraw, bitcmyk, or cups output formats  to
20       monochrome  or color ZJS streams, for driving the Hewlett-Packard 2600n
21       color laser printer and other Zenographics-based printers.
22
23

COMMAND LINE OPTIONS

25   Normal Options
26       These are the options used to select the parameters of a print job that
27       are usually controlled on a per job basis.
28
29       -b bits
30              Bits per plane if autodetect doesn't work (1 or 2) [1].
31
32       -c     Force color mode if autodetect doesn't work.
33
34       -d duplex
35              Duplex code to send to printer [1].
36              │        │               │
37              │1   off │ 2   long edge │ 3   short edge
38
39       -g xpixxypix
40              Set page dimensions in pixels [10200x6600].
41
42       -m media
43              Media code to send to printer [1].
44
45              ──────────────────────────
46              Media          HPLJ 2600n
47              ──────────────────────────
48              plain               1
49              preprinted        514
50              letterhead        513
51              transparency        2
52              prepunched        515
53              labels            265
54              bond              260
55              recycled          516
56              color             512
57              tough             276
58              envelope          267
59              light             258
60              heavy             262
61              cardstock         261
62              lightglossy       268
63              glossy            269
64              heavyglossy       270
65              cover             277
66
67              photo             278
68
69       -p paper
70              Paper code to send to printer [1].
71
72              ┌─────────────────┬─────────────┐
73              │ 1   letter      │  9   A4     │
74              │ 5   legal       │ 11   A5     │
75              │ 7   executive   │ 13   B5jis  │
76              │20   env #10     │ 27   env DL │
77              │28   env C5      │ 34   env B5 │
78              │37   env Monarch │             │
79              └─────────────────┴─────────────┘
80       -n copies
81              Number of copies [1].
82
83       -r xresxyres
84              Set device resolution in pixels/inch [600x600].
85
86       -s source
87              Source (InputSlot) code to send to printer [7].
88              │           │
89              │1   tray 2 │ 7   auto
90              │2   tray 1 │
91
92       -t     Draft mode.  Every other pixel is white.
93
94       -J filename
95              Filename string to send to printer.
96
97       -U username
98              Username string to send to printer.
99
100   Printer Tweaking Options
101       These  are  the options used to customize the operation of foo2hp for a
102       particular printer.
103
104       -u xoffxyoff
105              Set the offset of the start of the printable region from the up‐
106              per 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  ZjStream
114              [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       -O c,m,y,k
122              Alignment of CMYK in rows. The default is 0,0,0,0.
123
124       -P     Do  not  send  START_PLANE  codes  on monochrome output.  May be
125              needed by some black and white only printers,  such  as  the  HP
126              LaserJet 1000.
127
128       -A     AllIsBlack: convert C=1,M=1,Y=1 to just K=1.  Works with bitcmyk
129              input only.
130
131       -B     BlackClears: K=1 forces C,M,Y to 0.  Works  with  bitcmyk  input
132              only.
133
134       -X padlen
135              Add  extra zero padding to the end of BID segments.  The default
136              is 16 bytes.
137
138   Debugging Options
139       These options are used for debugging foo2hp.
140
141       -S plane
142              Output just a single color plane from a color print and print it
143              on the black plane.  The default is to output all color planes.
144
145              1   Cyan
146              2   Magenta
147              3   Yellow
148              4   Black
149
150       -D level
151              Set Debug level [0].
152
153

EXAMPLES

155       Create a black and white ZJS stream:
156
157              gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
158                  -sPAPERSIZE=letter -r600x600 -sDEVICE=pbmraw
159                  -sOutputFile=- - < testpage.ps
160              | foo2hp -r600x600 -g5100x6600 -p1 >testpage.zm
161
162       Create a color ZJS stream:
163
164              gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
165                  -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk
166                  -sOutputFile=- - < testpage.ps
167              | foo2hp -r600x600 -g5100x6600 -p1 >testpage.zc
168
169

FILES

171       /usr/bin/foo2hp
172

SEE ALSO

174       foo2hp2600-wrapper(1), zjsdecode(1)
175

AUTHOR

177       Rick Richardson <rick.richardson@comcast.net>
178       http://foo2hp.rkkda.com/
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
Impressum