1foo2zjs(1) General Commands Manual foo2zjs(1)
2
3
4
5
6
8 foo2zjs - Convert Ghostscript pbmraw or bitcmyk format into a ZJS
9 printer stream
10
12 foo2zjs [options] <pbmraw-file >zjs-file
13
14 foo2zjs [options] <bitcmyk-file >zjs-file
15
16 foo2zjs [options] <pksmraw-file >zjs-file
17
19 foo2zjs converts Ghostscript pbmraw, bitcmyk, or pksmraw output formats
20 to monochrome or color ZJS streams, for driving the Minolta/QMS 2300 DL
21 network color laser printer and other Zenographics-based printers.
22
23
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 -c Force color mode if autodetect doesn't work.
30
31 -d duplex
32 Duplex code to send to printer [1].
33 │ │ │
34 │1 off │ 2 long edge │ 3 short edge
35
36 -g xpixxypix
37 Set page dimensions in pixels [10200x6600].
38
39 -m media
40 Media code to send to printer [1].
41
42 ──────────────────────────────────────────────────────────────
43 2300DL 2200DL HP 1018 HP P1102 HP
44 Media HP 1005 HP 1020 HP P1606 CP1025
45 -z0 -z0 -z1 -z2 -z3
46 ──────────────────────────────────────────────────────────────
47 standard 1 1 1 1 1
48 transparency 2 2 2 2 2
49 envelope 257 na 267 267 267
50 letterhead 259 na 513 513 513
51 bond na na 260 260 260
52 thick 261 4 261 na na
53 postcard 262 na na na na
54 rough na na 263 263 263
55 heavy na na 262 262 262
56 labels 263 3 263 265 265
57 vellum na na 273 273 273
58 medium na na na 282 282
59 extraheavy na na na 283 283
60 color na na 512 512 512
61 light na na 258 258 258
62 preprinted na na 514 514 514
63 prepunched na na 515 515 515
64 recycled na na 516 516 516
65
66 -p paper
67 Paper code to send to printer [1].
68
69 ──────────────────────────────────────────────────────────────────
70 MC 2300DL HP 1018 HP P1102 HP
71 Paper HP 1005 HP 1020 HP P1606 CP1025
72 -z0 -z1 -z2 -z3
73 ──────────────────────────────────────────────────────────────────
74 letter 1 1 1 1
75 legal 5 5 5 5
76 executive 7 7 7 7
77 A4 9 9 9 9
78 A5 11 11 11 11
79 B5jis 13 13 13 13
80 env #10 20 20 20 20
81 env DL 27 27 27 27
82 env CL 28 28 28 28
83 env B5 34 34 34 34
84 env Monarch 37 37 37 37
85 postcard (japan) na 260 43 43
86 B5iso na 259 na na
87 A6 na 262 70 70
88 double postcard rotated na 261 82 82
89 16k 197x273 na 257 257 257
90 fanfold german legal na 258 258 258
91 16k 184x260 na na 263 263
92 16k 195x270 na na 264 264
93 photo 4x6 na na na 268
94 photo 5x8 na na na 269
95 photo 10x15 na na na 270
96
97 -n copies
98 Number of copies [1].
99
100 -r xresxyres
101 Set device resolution in pixels/inch [1200x600].
102
103 -s source
104 Source (InputSlot) code to send to printer [7].
105 │ │
106 │1 upper │ 4 manual
107 │2 lower │ 7 auto
108
109 -t Draft mode. Every other pixel is white.
110
111 -T density
112 Print density (1-5). The default is 3 (medium).
113
114 -J filename
115 Filename string to send to printer.
116
117 -U username
118 Username string to send to printer.
119
120 Printer Tweaking Options
121 These are the options used to customize the operation of foo2zjs for a
122 particular printer.
123
124 -u xoffxyoff
125 Set the offset of the start of the printable region from the up‐
126 per left corner, in pixels [0x0].
127
128 -l xoffxyoff
129 Set the offset of the end of the printable region from the lower
130 right corner, in pixels [0x0].
131
132 -L mask
133 Send logical clipping amounts implied by -u/-l in the ZjStream
134 [3].
135
136
137 0 don't send any logical clipping amounts
138 1 only send Y clipping amount
139 2 only send X clipping amount
140 3 send both X and Y clipping amounts
141
142 -P Do not send START_PLANE codes on monochrome output. May be
143 needed by some black and white only printers, such as the HP
144 LaserJet 1000.
145
146 -A AllIsBlack: convert C=1,M=1,Y=1 to just K=1. Works with bitcmyk
147 input only.
148
149 -B BlackClears: K=1 forces C,M,Y to 0. Works with bitcmyk input
150 only.
151
152 -X padlen
153 Add extra zero padding to the end of BID segments. The default
154 is 16 bytes. Padding 16 bytes of zeroes is needed for older
155 ZjStream printers, such as the Minolta 2200DL and HP LaserJet
156 1000, and seems harmless to newer ones, such as the Minolta
157 2300DL. So the default should be good for all cases.
158
159 -z model
160 Model. Default is 0.
161
162 0 KM 2300DL / HP 1000 / HP 1005
163 1 HP 1018 / HP 1020 / HP 1022
164 2 HP Pro P1102 / P1566 / P1606dn
165 3 HP Pro CP1025
166
167 Debugging Options
168 These options are used for debugging foo2zjs.
169
170 -S plane
171 Output just a single color plane from a color print and print it
172 on the black plane. The default is to output all color planes.
173
174 1 Cyan
175 2 Magenta
176 3 Yellow
177 4 Black
178
179 -D level
180 Set Debug level [0].
181
182
184 Create a black and white ZJS stream:
185
186 gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
187 -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw
188 -sOutputFile=- - < testpage.ps
189 | foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zm
190
191 Create a color ZJS stream:
192
193 gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
194 -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk
195 -sOutputFile=- - < testpage.ps
196 | foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zc
197
198
200 /usr/bin/foo2zjs
201
203 foo2zjs-wrapper(1), zjsdecode(1)
204
206 Rick Richardson <rick.richardson@comcast.net>
207 http://foo2zjs.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
265
266
267
268
269
270
271
272