1foo2ddst-wrapper(1) General Commands Manual foo2ddst-wrapper(1)
2
3
4
5
6
8 foo2ddst-wrapper - Convert Postscript into a DDST printer stream
9
11 foo2ddst-wrapper [options] [ps-file]
12
14 foo2ddst-wrapper is a Foomatic compatible printer wrapper for the
15 foo2ddst printer driver. This script reads a Postscript ps-file or
16 standard input and converts it to DDST printer format for driving the
17 Ricoh Aficio SP 112, the Ricoh Aficio SP 201, and other DDST-based
18 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 -d duplex
31 Duplex code to send to printer [1].
32 │ │ │
33 │1 off │ 2 long edge │ 3 short edge
34
35 -m media
36 Media code to send to printer [1].
37
38 ─────────────────────────────
39 Media Code
40 ─────────────────────────────
41 plain&recycled 1
42 paper 2
43 thin 3
44 thick 4
45 recycled 5
46
47 -p paper
48 Paper size code to send to printer [1].
49
50 ┌──────────────────────┬──────────────────┐
51 │ 1 letter │ 5 A4 │
52 │ 2 legal │ 6 A5 │
53 │ 3 executive │ 7 A6 │
54 │ 4 invoice(5.5x8.5) │ 8 B5 JIS │
55 │ │ 10 16k 197x273 │
56 │11 16k 184x260 │ 12 16k 195x270 │
57 └──────────────────────┴──────────────────┘
58 -n copies
59 Number of copies [1].
60
61 -r xresxyres
62 Set device resolution in pixels/inch [600x600].
63
64 -s source
65 Source (Input Slot) code to send to printer [7].
66
67 ┌──────────┬────────────┐
68 │1 upper │ 2 manual │
69 └──────────┴────────────┘
70 -t Draft mode. Every other pixel is white.
71
72 -T density
73 Print density (1-5). The default is 3 (medium).
74
75 -2 -3 -4 -5 -6 -8 -9 -10 -12 -14 -15 -16 -18
76 Print in N-up. Requires the psutils package.
77
78 -o orient
79 Orientation used for N-up.
80
81 Portrait -op (normal)
82 Landscape -ol (rotated 90 degrees anticlockwise)
83 Seascape -os (rotated 90 degrees clockwise)
84
85 Printer Tweaking Options
86 These are the options used to customize the operation of foo2ddst for a
87 particular printer.
88
89 -u xoffxyoff
90 Set the offset of the start of the printable region from the up‐
91 per left corner, in pixels [varies with paper size]. The de‐
92 faults should work on the 2200DL and 2300DL, and have not been
93 tested on any other printers.
94
95 -l xoffxyoff
96 Set the offset of the end of the printable region from the lower
97 right corner, in pixels [varies with paper size]. The defaults
98 should work on the 2200DL and 2300DL, and have not been tested
99 on any other printers.
100
101 -L mask
102 Send the logical clipping values from -u/-l in the ZjStream.
103 foo2ddst-wrapper always runs Ghostscript with the ideal page di‐
104 mensions, so that the scale of the image is correct, regardless
105 whether or not the printer has unprintable regions. This option
106 is used to move the position of the clipped image back to where
107 it belongs on the page. The default is to send the amount which
108 was clipped by -u and -l, and should be good in most cases.
109
110 0 don't send any logical clipping amounts
111 1 only send Y clipping amount
112 2 only send X clipping amount
113 3 send both X and Y clipping amounts
114
115 Debugging Options
116 These options are used for debugging foo2ddst and its wrapper.
117
118 -D level
119 Set Debug level [0].
120
121
123 Create a monochrome ZjStream from a Postscript document, examine it,
124 and then print it using a RAW print queue:
125
126 foo2ddst-wrapper testpage.ps > testpage.ddst
127 ddstdecode < testpage.ddst
128 lpr -P raw testpage.ddst
129
130
132 /usr/bin/foo2ddst-wrapper
133
135 foo2ddst(1), ddstdecode(1)
136 https://github.com/madlynx/ricoh-sp100
137
139 Rick Richardson <rick.richardson@comcast.net>
140 http://foo2ddst.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