1foo2hbpl2(1) General Commands Manual foo2hbpl2(1)
2
3
4
5
6
8 foo2hbpl2 - Convert Ghostscript pbmraw or bitcmyk format into a ZJS
9 printer stream
10
12 foo2hbpl2 [options] <pbmraw-file >hbpl2-file
13
14 foo2hbpl2 [options] <bitcmyk-file >hbpl2-file
15
16 foo2hbpl2 [options] <pksmraw-file >hbpl2-file
17
19 foo2hbpl2 converts Ghostscript pbmraw, bitcmyk, or pksmraw output for‐
20 mats to monochrome or color HBPL version 2 streams, for driving the
21 Dell 1355, Dell C1765, Epson AcuLaser M1400, Epson AcuLaser CX17NF,
22 Fuji Xerox DocuPrint CM205, Fuji Xerox DocuPrint CM215, Fuji Xerox
23 DocuPrint M215, Fuji Xerox DocuPrint P205, Xerox Phaser 3010, Xerox
24 Phaser 3040, Xerox WorkCentre 3045 MFP, and Xerox WorkCentre 6015 MFP
25 printers.
26
27
29 Normal Options
30 These are the options used to select the parameters of a print job that
31 are usually controlled on a per job basis.
32
33 -c Force color mode if autodetect doesn't work.
34
35 -d duplex
36 Duplex code to send to printer [1].
37 │ │ │
38 │1 off │ 2 long edge │ 3 short edge
39
40 -g xpixxypix
41 Set page dimensions in pixels [10200x6600].
42
43 -m media
44 Media code to send to printer [1].
45
46 ─────────────────
47 Media HBPL
48 ─────────────────
49 plain 1
50 bond 2
51 lwcard 3
52 lwgcard 4
53 labels 5
54 envelope 6
55 recycled 7
56 plain2 8
57 bond2 9
58 lwcard2 10
59 lwgcard2 11
60 recycled2 12
61
62 -p paper
63 Paper code to send to printer [1].
64
65
66
67 ────────────────────────────
68 Paper HBPL
69 ────────────────────────────
70 A4 1
71 B5jis 2
72 A5 3
73 letter 4
74 executive 5
75 fanfold german legal 6
76 folio 6
77 legal 7
78 env#10 9
79 envMonarch 10
80 envC5 11
81 envDL 12
82
83 -n copies
84 Number of copies [1].
85
86 -r xresxyres
87 Set device resolution in pixels/inch [1200x600].
88
89 -s source
90 Source (InputSlot) code to send to printer [7].
91 │ │
92 │1 upper │ 4 manual
93 │2 lower │ 7 auto
94
95 -t Draft mode. Every other pixel is white.
96
97 -J filename
98 Filename string to send to printer.
99
100 -U username
101 Username string to send to printer.
102
103 Printer Tweaking Options
104 These are the options used to customize the operation of foo2hbpl2 for
105 a particular printer.
106
107 -u xoffxyoff
108 Set the offset of the start of the printable region from the
109 upper left corner, in pixels [0x0].
110
111 -l xoffxyoff
112 Set the offset of the end of the printable region from the lower
113 right corner, in pixels [0x0].
114
115 -L mask
116 Send logical clipping amounts implied by -u/-l in the ZjStream
117 [3].
118
119 0 don't send any logical clipping amounts
120 1 only send Y clipping amount
121 2 only send X clipping amount
122 3 send both X and Y clipping amounts
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. Padding 16 bytes of zeroes is needed for older
137 ZjStream printers, such as the Minolta 2200DL and HP LaserJet
138 1000, and seems harmless to newer ones, such as the Minolta
139 2300DL. So the default should be good for all cases.
140
141 Debugging Options
142 These options are used for debugging foo2hbpl2.
143
144 -S plane
145 Output just a single color plane from a color print and print it
146 on the black plane. The default is to output all color planes.
147
148 1 Cyan
149 2 Magenta
150 3 Yellow
151 4 Black
152
153 -D level
154 Set Debug level [0].
155
156
158 Create a black and white ZJS stream:
159
160 gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
161 -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw
162 -sOutputFile=- - < testpage.ps
163 | foo2hbpl2 -r1200x600 -g10200x6600 -p1 >testpage.zm
164
165 Create a color ZJS stream:
166
167 gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
168 -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk
169 -sOutputFile=- - < testpage.ps
170 | foo2hbpl2 -r1200x600 -g10200x6600 -p1 >testpage.zc
171
172
174 /usr/bin/foo2hbpl2
175
177 foo2hbpl2-wrapper(1), hbpldecode(1)
178
180 Rick Richardson <rick.richardson@comcast.net>
181 Peter Korf <peter@niendo.de>
182 http://foo2hbpl.rkkda.com/
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198