1foo2slx-wrapper(1)          General Commands Manual         foo2slx-wrapper(1)
2
3
4
5
6

NAME

8       foo2slx-wrapper - Convert Postscript into a SLX printer stream
9

SYNOPSIS

11       foo2slx-wrapper [options] [ps-file]
12

DESCRIPTION

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

COMMAND LINE OPTIONS

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 up‐
86              per left corner, in pixels [varies with paper  size].   The  de‐
87              faults  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  di‐
99              mensions,  so that the scale of the image is correct, regardless
100              whether or not the printer has unprintable regions.  This option
101              is  used to move the position of the clipped image back to where
102              it belongs on the page.  The default is to send the amount which
103              was clipped by -u and -l, and should be good in most cases.
104
105              0   don't send any logical clipping amounts
106              1   only send Y clipping amount
107              2   only send X clipping amount
108              3   send both X and Y clipping amounts
109
110   Color Tweaking Options
111       These  are  the  options  used  to control the quality of color output.
112       Color correction is currently a WORK IN PROGRESS.
113
114       -g gsopts
115              Additional   options   to   pass   to   Ghostscript,   such   as
116              -g“-dDITHERPPI=nnn”,  etc.   This  option  may  appear more than
117              once.
118
119       -G profile.icm
120              Convert profile.icm to a Postscript color  rendering  dictionary
121              (CRD)  using  icc2ps  and adjust the printer colors by using the
122              Postscript setcolorrendering operator.  (WORK IN PROGRESS).
123
124       -G gamma-file.ps
125              Prepend gamma-file.ps to the Postscript input to  perform  color
126              correction  using the setcolortransfer Postscript operator.  For
127              example, the file might contain:
128              {0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer
129
130       -I intent
131              Select profile intent from the ICM file.   0=Perceptual,  1=Col‐
132              orimetric, 2=Saturation, 3=Absolute.  Default is 0 (perceptual).
133
134   Debugging Options
135       These options are used for debugging foo2slx and its wrapper.
136
137       -S plane
138              Output just a single color plane from a color print and print it
139              on the black plane.  The default is to output all color planes.
140
141              1   Cyan
142              2   Magenta
143              3   Yellow
144              4   Black
145
146       -D level
147              Set Debug level [0].
148
149

EXAMPLES

151       Create a monochrome ZjStream from a Postscript  document,  examine  it,
152       and then print it using a RAW print queue:
153
154              foo2slx-wrapper testpage.ps > testpage.zm
155              slxdecode < testpage.zm
156              lpr -P raw testpage.zm
157
158       Create a color ZjStream stream from a Postscript document:
159
160              foo2slx-wrapper -c testpage.ps > testpage.zc
161
162

FILES

164       /usr/bin/foo2slx-wrapper
165

SEE ALSO

167       foo2slx(1), slxdecode(1)
168

AUTHOR

170       Rick Richardson <rick.richardson@comcast.net>
171       http://foo2slx.rkkda.com/
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
Impressum