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

NAME

8       foo2xqx - Convert Ghostscript pbmraw into a XQX printer stream
9

SYNOPSIS

11       foo2xqx [options] <pbmraw-file >xqx-file
12

DESCRIPTION

14       foo2xqx  converts  Ghostscript  pbmraw  to  monochrome XQX streams, for
15       driving the HP LaserJet P1005/P1006/P1007/P1008, the HP LaserJet P1505,
16       the HP LaserJet P2014, the HP LaserJet M1005 MFP, the HP LaserJet M1120
17       MFP, the HP LaserJet Pro M1132s MFP, the HP LaserJet Pro  M1212nf  MFP,
18       and other XQX-based printers.
19
20

COMMAND LINE OPTIONS

22   Normal Options
23       These are the options used to select the parameters of a print job that
24       are usually controlled on a per job basis.
25
26       -d duplex
27              Duplex code to send to printer [1].
28              │        │               │
29              │1   off │ 2   long edge │ 3   short edge
30
31       -g xpixxypix
32              Set page dimensions in pixels [10200x6600].
33
34       -m media
35              Media code to send to printer [1].
36
37              ─────────────────────────
38              Media          M1005
39              ─────────────────────────
40              standard          1
41              transparency      2
42              envelope        257
43              letterhead      259
44              thick           261
45              postcard        262
46              labels          263
47
48       -p paper
49              Paper code to send to printer [1].
50
51              ┌──────────────────┬───────────────────┐
52              │  1   letter      │   9   A4          │
53              │  5   legal       │  11   A5          │
54              │  7   executive   │  13   B5          │
55              │ 20   env #10     │  27   env DL      │
56              │ 28   env C5      │  34   env B5      │
57              │ 37   env Monarch │ 257   16k 197x273 │
58              │263   16k 184x260 │ 264   16k 195x270 │
59              └──────────────────┴───────────────────┘
60       -n copies
61              Number of copies [1].
62
63       -r xresxyres
64              Set device resolution in pixels/inch [1200x600].
65
66       -s source
67              Source (InputSlot) code to send to printer [7].
68
69              ┌──────────┬────────────┐
70              │1   upper │ 4   manual │
71              │2   lower │ 7   auto   │
72              └──────────┴────────────┘
73       -t     Draft mode.  Every other pixel is white.
74
75       -T density
76              Print density (1-5).  The default is 3 (medium).
77
78       -J filename
79              Filename string to send to printer.
80
81       -U username
82              Username string to send to printer.
83
84   Printer Tweaking Options
85       These are the options used to customize the operation of foo2xqx for  a
86       particular printer.
87
88       -u xoffxyoff
89              Set the offset of the start of the printable region from the up‐
90              per left corner, in pixels [0x0].
91
92       -l xoffxyoff
93              Set the offset of the end of the printable region from the lower
94              right corner, in pixels [0x0].
95
96       -L mask
97              Send  logical  clipping amounts implied by -u/-l in the ZjStream
98              [3].
99
100              0   don't send any logical clipping amounts
101              1   only send Y clipping amount
102              2   only send X clipping amount
103              3   send both X and Y clipping amounts
104
105       -A     AllIsBlack: convert C=1,M=1,Y=1 to just K=1.  Works with bitcmyk
106              input only.
107
108       -B     BlackClears:  K=1  forces  C,M,Y to 0.  Works with bitcmyk input
109              only.
110
111   Debugging Options
112       These options are used for debugging foo2xqx.
113
114       -S plane
115              Output just a single color plane from a color print and print it
116              on the black plane.  The default is to output all color planes.
117
118              1   Cyan
119              2   Magenta
120              3   Yellow
121              4   Black
122
123       -D level
124              Set Debug level [0].
125
126

EXAMPLES

128       Create a black and white XQX stream:
129
130              gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
131                  -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw
132                  -sOutputFile=- - < testpage.ps
133              | foo2xqx -r1200x600 -g10200x6600 -p1 >testpage.zm
134
135

FILES

137       /usr/bin/foo2xqx
138

SEE ALSO

140       foo2xqx-wrapper(1), xqxdecode(1)
141

AUTHOR

143       Rick Richardson <rick.richardson@comcast.net>
144       http://foo2xqx.rkkda.com/
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
Impressum