1foo2slx-wrapper(1) General Commands Manual foo2slx-wrapper(1)
2
3
4
5
6
8 foo2slx-wrapper - Convert Postscript into a SLX printer stream
9
11 foo2slx-wrapper [options] [ps-file]
12
14 foo2slx-wrapper is a Foomatic compatible printer wrapper for the
15 foo2slx printer driver. This script reads a Postscript ps-file or
16 standard input and converts it to Software Imaging K.K. SLX printer
17 format for driving the Lexmark C500 network color laser printer and
18 other SLX-based printers.
19
20 This script can be used in a standalone fashion, but is intended to be
21 called from a printer spooler system which uses the Foomatic printer
22 database.
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 Print in color (else monochrome).
31
32 -m media
33 Media code to send to printer [0].
34
35 ───────────────────────
36 Media SLX
37 ───────────────────────
38 plain 0
39 transparency 1
40 labels 2
41 thick1 3
42 envelope1 4
43 thin 5
44 thick2 6
45 envelope2 7
46 middle 8
47 special 9
48
49 -p paper
50 Paper size code to send to printer [6].
51
52 ┌───────────────┬─────────────┐
53 │ 6 letter │ 2 A4 │
54 │ 9 legal │ 4 B5 │
55 │ 8 executive │ 5 B5iso │
56 │10 env #10 │ 11 env DL │
57 └───────────────┴─────────────┘
58 -n copies
59 Number of copies [1].
60
61 -r xresxyres
62 Set device resolution in pixels/inch [1200x600].
63
64 -s source
65 Source (Input Slot) code to send to printer [0].
66
67 ┌─────────┬───────────────┐
68 │0 auto │ 1 cassette1 │
69 └─────────┴───────────────┘
70 -2 -3 -4 -5 -6 -8 -9 -10 -12 -14 -15 -16 -18
71 Print in N-up. Requires the psutils package.
72
73 -o orient
74 Orientation used for N-up.
75
76 Portrait -op (normal)
77 Landscape -ol (rotated 90 degrees anticlockwise)
78 Seascape -os (rotated 90 degrees clockwise)
79
80 Printer Tweaking Options
81 These are the options used to customize the operation of foo2slx for a
82 particular printer.
83
84 -u xoffxyoff
85 Set the offset of the start of the printable region from the
86 upper left corner, in pixels [varies with paper size]. The
87 defaults should work on the 2200DL and 2300DL, and have not been
88 tested on any other printers.
89
90 -l xoffxyoff
91 Set the offset of the end of the printable region from the lower
92 right corner, in pixels [varies with paper size]. The defaults
93 should work on the 2200DL and 2300DL, and have not been tested
94 on any other printers.
95
96 -L mask
97 Send the logical clipping values from -u/-l in the ZjStream.
98 foo2slx-wrapper always runs Ghostscript with the ideal page
99 dimensions, so that the scale of the image is correct, regard‐
100 less whether or not the printer has unprintable regions. This
101 option is used to move the position of the clipped image back to
102 where it belongs on the page. The default is to send the amount
103 which was clipped by -u and -l, and should be good in most
104 cases.
105
106 0 don't send any logical clipping amounts
107 1 only send Y clipping amount
108 2 only send X clipping amount
109 3 send both X and Y clipping amounts
110
111 Color Tweaking Options
112 These are the options used to control the quality of color output.
113 Color correction is currently a WORK IN PROGRESS.
114
115 -g gsopts
116 Additional options to pass to Ghostscript, such as
117 -g“-dDITHERPPI=nnn”, etc. This option may appear more than
118 once.
119
120 -G profile.icm
121 Convert profile.icm to a Postscript color rendering dictionary
122 (CRD) using icc2ps and adjust the printer colors by using the
123 Postscript setcolorrendering operator. (WORK IN PROGRESS).
124
125 -G gamma-file.ps
126 Prepend gamma-file.ps to the Postscript input to perform color
127 correction using the setcolortransfer Postscript operator. For
128 example, the file might contain:
129 {0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer
130
131 -I intent
132 Select profile intent from the ICM file. 0=Perceptual, 1=Col‐
133 orimetric, 2=Saturation, 3=Absolute. Default is 0 (perceptual).
134
135 Debugging Options
136 These options are used for debugging foo2slx and its wrapper.
137
138 -S plane
139 Output just a single color plane from a color print and print it
140 on the black plane. The default is to output all color planes.
141
142 1 Cyan
143 2 Magenta
144 3 Yellow
145 4 Black
146
147 -D level
148 Set Debug level [0].
149
150
152 Create a monochrome ZjStream from a Postscript document, examine it,
153 and then print it using a RAW print queue:
154
155 foo2slx-wrapper testpage.ps > testpage.zm
156 slxdecode < testpage.zm
157 lpr -P raw testpage.zm
158
159 Create a color ZjStream stream from a Postscript document:
160
161 foo2slx-wrapper -c testpage.ps > testpage.zc
162
163
165 /usr/bin/foo2slx-wrapper
166
168 foo2slx(1), slxdecode(1)
169
171 Rick Richardson <rick.richardson@comcast.net>
172 http://foo2slx.rkkda.com/
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