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 M1212nf MFP, and other XQX-based printers.
18
19

COMMAND LINE OPTIONS

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

EXAMPLES

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

FILES

136       /usr/bin/foo2xqx
137

SEE ALSO

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

AUTHOR

142       Rick Richardson <rick.richardson@comcast.net>
143       http://foo2xqx.rkkda.com/
144
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
Impressum