1foo2slx(1) General Commands Manual foo2slx(1)
2
3
4
5
6
8 foo2slx - Convert Ghostscript pbmraw or bitcmyk format into a SLX
9 printer stream
10
12 foo2slx [options] <pbmraw-file >slx-file
13
14 foo2slx [options] <bitcmyk-file >slx-file
15
16 foo2slx [options] <pksmraw-file >slx-file
17
19 foo2slx converts Ghostscript pbmraw, bitcmyk, or pksmraw output formats
20 to monochrome or color SLX streams, for driving the Lexmark C500 net‐
21 work color laser printer and other SLZ-based printers. The SLX stream
22 is a variant of ZjStream produced by Software Imaging K.K.
23
24
26 Normal Options
27 These are the options used to select the parameters of a print job that
28 are usually controlled on a per job basis.
29
30 -c Force color mode if autodetect doesn't work.
31
32 -g xpixxypix
33 Set page dimensions in pixels [10200x6600].
34
35 -m media
36 Media code to send to printer [0].
37
38 ───────────────────────
39 Media SLX
40 ───────────────────────
41 plain 0
42 transparency 1
43 labels 2
44 thick1 3
45 envelope1 4
46 thin 5
47 thick2 6
48 envelope2 7
49 middle 8
50 special 9
51
52 -p paper
53 Paper code to send to printer [6].
54
55 ┌───────────────┬─────────────┐
56 │ 6 letter │ 2 A4 │
57 │ 9 legal │ 4 B5 │
58 │ 8 executive │ 5 B5iso │
59 │10 env #10 │ 11 env DL │
60 └───────────────┴─────────────┘
61 -n copies
62 Number of copies [1].
63
64 -r xresxyres
65 Set device resolution in pixels/inch [1200x600].
66
67 -s source
68 Source (InputSlot) code to send to printer [0].
69 │ │
70 │0 auto │ 1 cassette1
71
72 Printer Tweaking Options
73 These are the options used to customize the operation of foo2slx for a
74 particular printer.
75
76 -u xoffxyoff
77 Set the offset of the start of the printable region from the
78 upper left corner, in pixels [0x0].
79
80 -l xoffxyoff
81 Set the offset of the end of the printable region from the lower
82 right corner, in pixels [0x0].
83
84 -L mask
85 Send logical clipping amounts implied by -u/-l in the ZjStream
86 [3].
87
88 0 don't send any logical clipping amounts
89 1 only send Y clipping amount
90 2 only send X clipping amount
91 3 send both X and Y clipping amounts
92
93 -A AllIsBlack: convert C=1,M=1,Y=1 to just K=1. Works with bitcmyk
94 input only.
95
96 -B BlackClears: K=1 forces C,M,Y to 0. Works with bitcmyk input
97 only.
98
99
100 Debugging Options
101 These options are used for debugging foo2slx.
102
103 -S plane
104 Output just a single color plane from a color print and print it
105 on the black plane. The default is to output all color planes.
106
107 1 Cyan
108 2 Magenta
109 3 Yellow
110 4 Black
111
112 -D level
113 Set Debug level [0].
114
115
117 Create a black and white SLX stream:
118
119 gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
120 -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw
121 -sOutputFile=- - < testpage.ps
122 | foo2slx -r1200x600 -g10200x6600 -p1 >testpage.zm
123
124 Create a color SLX stream:
125
126 gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
127 -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk
128 -sOutputFile=- - < testpage.ps
129 | foo2slx -r1200x600 -g10200x6600 -p1 >testpage.zc
130
131
133 /usr/bin/foo2slx
134
136 foo2slx-wrapper(1), slxdecode(1)
137
139 Rick Richardson <rick.richardson@comcast.net>
140 http://foo2slx.rkkda.com/
141
142
143
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
202