1foo2lava-wrapper(1) General Commands Manual foo2lava-wrapper(1)
2
3
4
5
6
8 foo2lava-wrapper - Convert Postscript into a LAVAFLOW or OPL printer
9 stream
10
12 foo2lava-wrapper [options] [ps-file]
13
15 foo2lava-wrapper is a Foomatic compatible printer wrapper for the
16 foo2lava printer driver. This script reads a Postscript ps-file or
17 standard input and converts it to Zenographics LAVAFLOW printer format
18 for driving the Konica Minolta magicolor 1600W color laser printer, the
19 Konica Minolta magicolor 1680MF/1690MF AIO printer, the Konica Minolta
20 magicolor 2480/2490 MF AIO printer, the Konica Minolta magicolor 2530
21 DL network color laser printer, and other Zenographics-based LAVAFLOW
22 printers.
23
24 This script can be used in a standalone fashion, but is intended to be
25 called from a printer spooler system which uses the Foomatic printer
26 database.
27
28
30 Normal Options
31 These are the options used to select the parameters of a print job that
32 are usually controlled on a per job basis.
33
34 -c Print in color (else monochrome).
35
36 -C colormode
37 Color correction mode [0].
38
39 1 Photos (using m2300w CRDs)
40 2 Photos and text (using m2300w CRDs)
41 3 Graphics and text (using m2300w CRDs)
42 10 ICM color profile (using -G *.icm file)
43
44 -d duplex
45 Duplex code to send to printer [1].
46 │ │ │
47 │1 off │ 2 long edge │ 3 short edge
48
49 -m media
50 Media code to send to printer [0].
51
52 ──────────────────────────
53 Media 2530DL
54 ──────────────────────────
55 plain 0
56 transparency 4
57 thick stock 20
58 envelope 22
59 letterhead 23
60 postcard 25
61 labels 26
62 recycled 27
63
64 -p paper
65 Paper size code to send to printer [2].
66
67 ┌──────────────────┬─────────────────────┐
68 │ 1 executive │ 25 A5 │
69 │ 2 letter │ 26 A4 │
70 │ 3 legal │ 45 B5jis │
71 │ 80 env Monarch │ 65 B5iso │
72 │ 81 env #10 │ 90 env DL │
73 │ 91 env C5 │ 92 env B5 │
74 │835 4x6" photo │ 837 10x15cm photo │
75 └──────────────────┴─────────────────────┘
76 -n copies
77 Number of copies [1].
78
79 -r xresxyres
80 Set device resolution in pixels/inch [1200x600].
81
82 -s source
83 Source (Input Slot) code to send to printer [255].
84 │ │
85 │1 Tray 1 │ 255 auto
86 │4 Tray 2 │
87
88 -t Draft mode. Every other pixel is white.
89
90 -2 -3 -4 -5 -6 -8 -9 -10 -12 -14 -15 -16 -18
91 Print in N-up. Requires the psutils package.
92
93 -o orient
94 Orientation used for N-up.
95
96 Portrait -op (normal)
97 Landscape -ol (rotated 90 degrees anticlockwise)
98 Seascape -os (rotated 90 degrees clockwise)
99
100 Printer Tweaking Options
101 These are the options used to customize the operation of foo2lava for a
102 particular printer.
103
104 -u xoffxyoff
105 Set the offset of the start of the printable region from the up‐
106 per left corner, in pixels [varies with paper size]. The de‐
107 faults should work on the 2200DL and 2300DL, and have not been
108 tested on any other printers.
109
110 -l xoffxyoff
111 Set the offset of the end of the printable region from the lower
112 right corner, in pixels [varies with paper size]. The defaults
113 should work on the 2200DL and 2300DL, and have not been tested
114 on any other printers.
115
116 -L mask
117 Send the logical clipping values from -u/-l in the LAVAFLOW
118 stream. foo2lava-wrapper always runs Ghostscript with the ideal
119 page dimensions, so that the scale of the image is correct, re‐
120 gardless whether or not the printer has unprintable regions.
121 This option is used to move the position of the clipped image
122 back to where it belongs on the page. The default is to send
123 the amount which was clipped by -u and -l, and should be good in
124 most cases.
125
126 0 don't send any logical clipping amounts
127 1 only send Y clipping amount
128 2 only send X clipping amount
129 3 send both X and Y clipping amounts
130
131 -z model
132 Model. The default is [0].
133
134 model protocol Description
135 0 LAVAFLOW magicolor 2490 MF
136 0 LAVAFLOW magicolor 2530 DL
137 1 OPL magicolor 2480 MF
138 2 LAVAFLOW magicolor 1600W
139 2 LAVAFLOW magicolor 1680MF
140 2 LAVAFLOW magicolor 1690MF
141
142 Color Tweaking Options
143 These are the options used to control the quality of color output.
144 Color correction is currently a WORK IN PROGRESS.
145
146 -g gsopts
147 Additional options to pass to Ghostscript, such as
148 -g“-dDITHERPPI=nnn”, etc. This option may appear more than
149 once.
150
151 -G profile.icm
152 Convert profile.icm to a Postscript color rendering dictionary
153 (CRD) using icc2ps and adjust the printer colors by using the
154 Postscript setcolorrendering operator. (WORK IN PROGRESS).
155
156 -G gamma-file.ps
157 Prepend gamma-file.ps to the Postscript input to perform color
158 correction using the setcolortransfer Postscript operator. For
159 example, the file might contain:
160 {0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer
161
162 -I intent
163 Select profile intent from the ICM file. 0=Perceptual, 1=Col‐
164 orimetric, 2=Saturation, 3=Absolute. Default is 0 (perceptual).
165
166 Debugging Options
167 These options are used for debugging foo2lava and its wrapper.
168
169 -S plane
170 Output just a single color plane from a color print and print it
171 on the black plane. The default is to output all color planes.
172
173 1 Cyan
174 2 Magenta
175 3 Yellow
176 4 Black
177
178 -D level
179 Set Debug level [0].
180
181
183 Create a monochrome LAVAFLOW stream from a Postscript document, examine
184 it, and then print it using a RAW print queue:
185
186 foo2lava-wrapper testpage.ps > testpage.zm
187 lavadecode < testpage.zm
188 lpr -P raw testpage.zm
189
190 Create a color LAVAFLOW stream from a Postscript document:
191
192 foo2lava-wrapper -c testpage.ps > testpage.zc
193
194
196 /usr/bin/foo2lava-wrapper
197
199 foo2lava(1), lavadecode(1) opldecode(1)
200
202 Rick Richardson <rick.richardson@comcast.net>
203 http://foo2zjs.rkkda.com/
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267