1foo2ddst(1) General Commands Manual foo2ddst(1)
2
3
4
5
6
8 foo2ddst - Convert Ghostscript pbmraw into a DDST printer stream
9
11 foo2ddst [options] <pbmraw-file >ddst-file
12
14 foo2ddst converts Ghostscript pbmraw to monochrome DDST streams, for
15 driving the Ricoh Aficio SP 112, the Ricoh Aficio SP 201, and other
16 DDST-based printers.
17
18
20 Normal Options
21 These are the options used to select the parameters of a print job that
22 are usually controlled on a per job basis.
23
24 -d duplex
25 Duplex code to send to printer [1].
26 │ │ │
27 │1 off │ 2 long edge │ 3 short edge
28
29 -g xpixxypix
30 Set page dimensions in pixels [5100x6600].
31
32 -m media
33 Media code to send to printer [1].
34
35 ──────────────────────────
36 Media Code
37 ──────────────────────────
38 plain&recycled 1
39 paper 2
40 thin 3
41 thick 4
42 recycled 5
43
44 -p paper
45 Paper code to send to printer [1].
46
47 ┌──────────────────────┬──────────────────┐
48 │ 1 letter │ 5 A4 │
49 │ 2 legal │ 6 A5 │
50 │ 3 executive │ 7 A6 │
51 │ 4 invoice(5.5x8.5) │ 8 B5 JIS │
52 │ │ 10 16k 197x273 │
53 │11 16k 184x260 │ 12 16k 195x270 │
54 └──────────────────────┴──────────────────┘
55 -n copies
56 Number of copies [1].
57
58 -r xresxyres
59 Set device resolution in pixels/inch [600x600].
60
61 -s source
62 Source (InputSlot) code to send to printer [7].
63
64 ┌───────────┬────────────┐
65 │1 tray 1 │ 2 manual │
66 └───────────┴────────────┘
67 -t Draft mode. Every other pixel is white.
68
69 -T density
70 Print density (1-5). The default is 3 (medium).
71
72 -J filename
73 Filename string to send to printer.
74
75 -U username
76 Username string to send to printer.
77
78 Printer Tweaking Options
79 These are the options used to customize the operation of foo2ddst for a
80 particular printer.
81
82 -u xoffxyoff
83 Set the offset of the start of the printable region from the
84 upper left corner, in pixels [0x0].
85
86 -l xoffxyoff
87 Set the offset of the end of the printable region from the lower
88 right corner, in pixels [0x0].
89
90 -L mask
91 Send logical clipping amounts implied by -u/-l in the ZjStream
92 [3].
93
94 0 don't send any logical clipping amounts
95 1 only send Y clipping amount
96 2 only send X clipping amount
97 3 send both X and Y clipping amounts
98
99 -A AllIsBlack: convert C=1,M=1,Y=1 to just K=1. Works with bitcmyk
100 input only.
101
102 -B BlackClears: K=1 forces C,M,Y to 0. Works with bitcmyk input
103 only.
104
105 Debugging Options
106 These options are used for debugging foo2ddst.
107
108 -S plane
109 Output just a single color plane from a color print and print it
110 on the black plane. The default is to output all color planes.
111
112 1 Cyan
113 2 Magenta
114 3 Yellow
115 4 Black
116
117 -D level
118 Set Debug level [0].
119
120
122 Create a black and white DDST stream:
123
124 gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
125 -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw
126 -sOutputFile=- - < testpage.ps
127 | foo2ddst -r1200x600 -g10200x6600 -p1 >testpage.zm
128
129
131 /usr/bin/foo2ddst
132
134 foo2ddst-wrapper(1), ddstdecode(1)
135 https://github.com/madlynx/ricoh-sp100
136
138 Rick Richardson <rick.richardson@comcast.net>
139 http://foo2ddst.rkkda.com/
140
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
203
204