| 1 |
.TH MIN12XXW 1 "December 2005" "Local Utilities" |
| 2 |
.SH NAME |
| 3 |
min12xxw \- Convert pbmraw streams to Minolta PagePro 12xxW languages |
| 4 |
.SH SYNOPSIS |
| 5 |
|
| 6 |
min12xxw [options] |
| 7 |
|
| 8 |
.SH DESCRIPTION |
| 9 |
|
| 10 |
.B Min12xxw |
| 11 |
is a filter which converts pbmraw streams (produced by ghostscript, |
| 12 |
for example) to the printer language of Minolta PagePro 1[234]xxW |
| 13 |
printers. |
| 14 |
|
| 15 |
.PP |
| 16 |
.SH "COMMAND\-LINE OPTIONS" |
| 17 |
|
| 18 |
.TP .5i |
| 19 |
.B -h, --help |
| 20 |
Gives usage information (help) |
| 21 |
|
| 22 |
.TP .5i |
| 23 |
.B -v, --version |
| 24 |
Displays the version number and exit |
| 25 |
|
| 26 |
.TP .5i |
| 27 |
.B -e, --ecomode |
| 28 |
Enables economic mode which saves toner by leaving every other scanline |
| 29 |
blank. This degrades the printout's resolution a little, the effect is |
| 30 |
most easily seen (and looks particularly bad) when printing in 300 dpi |
| 31 |
mode. |
| 32 |
|
| 33 |
.TP .5i |
| 34 |
.B -s, --status |
| 35 |
Query the printer status, page counter and whatever information can be |
| 36 |
retrieved. The printer status is basically an unprocessed dump of what |
| 37 |
the printer sends, so unexpected things may happen if the printer sends |
| 38 |
funny data because it got confused somehow... This might however still |
| 39 |
be useful. The page counter and other information is heavily processed |
| 40 |
and should be more reliable. Note that for queries to be made, the |
| 41 |
printer must (of course) be switched on, with all cables connected, and |
| 42 |
not be busy printing (or your print job may be truncated). See the |
| 43 |
.B -d |
| 44 |
option below which sets the device file to use. This has so far only been |
| 45 |
tested on 1200W, 1350W and 1400W printers. Send mail if it works for |
| 46 |
others as well. |
| 47 |
|
| 48 |
.TP .5i |
| 49 |
.B -d dev, --device dev |
| 50 |
Sets the device file to use for queries. The default is /dev/lp0. |
| 51 |
|
| 52 |
Please note that this option is only meaningful with the "-s" or "--status" |
| 53 |
option. If you intend to send a document to the printer, you have to |
| 54 |
redirect min12xxw's standard output to the device file in question. See |
| 55 |
the documentation that came with your shell on how to do that. |
| 56 |
|
| 57 |
.TP .5i |
| 58 |
.B -n, --nomargins |
| 59 |
Disables the enforcement of the 0.17 inch margins on all sides of the |
| 60 |
paper. The converter discards the equivalent of this length of its input |
| 61 |
because ghostscript outputs a full page with margins. If you arranged in |
| 62 |
some way for the input to be marginless, or have slightly larger paper, |
| 63 |
you can give this option to include the full input with margins. Please |
| 64 |
note that for very small page dimensions, min12xxw might need to disable |
| 65 |
enforcing the page margins for all pages following the offending page to |
| 66 |
make the job printable. In that case, a warning message will be printed |
| 67 |
on the standard error stream to inform the user. |
| 68 |
|
| 69 |
.TP .5i |
| 70 |
.B -m model, --model model |
| 71 |
Sets which printer model to produce output for. Currently, no checks for |
| 72 |
features only available to specific models are made (available paper trays |
| 73 |
differ from model to model, for example). Let me know if this causes |
| 74 |
problems. Available models are: 1200W, 1250W, 1300W, 1350W, 1400W. 1200W |
| 75 |
is the default. As an alternative, you can also symlink, link or rename |
| 76 |
your executable to min1200w, min1250w, min1300w, min1350w or min1400w, |
| 77 |
thus making the model specified in the filename the default model. This |
| 78 |
saves you from typing the model selection option again and again and |
| 79 |
again... |
| 80 |
Please note that you |
| 81 |
.B must |
| 82 |
supply the model option correctly if you drive any other model than what |
| 83 |
is the default. If you fail to do so, your printer will not produce any |
| 84 |
output or react to status queries from the host. |
| 85 |
|
| 86 |
.TP .5i |
| 87 |
.B -r resolution, --res resolution |
| 88 |
Sets the resolution to either 300, 600 or 1200 dpi (600 dpi is the |
| 89 |
default). Keep in mind that you need to produce your output |
| 90 |
accordingly. It is also possible to specify the resolution as |
| 91 |
(horizontal)x(vertical) resolution (e.g. -r 1200x600) where horizontal |
| 92 |
resolution may be once or twice the vertical resolution. The maximum |
| 93 |
resolution is 1200 dpi in both vertical and horizontal direction. The |
| 94 |
minimum vertical resolution for mixed resolution printing seems to be |
| 95 |
600 dpi. 300 dpi printing has only been tested on 1200W, 1350W and 1400W |
| 96 |
models. Mixed resolution printing was seen for 13xxW and 1400W models |
| 97 |
only, but tests show that the 1200W is capable of handling it as well, |
| 98 |
so chances are that 1250W printers won't have trouble, either. |
| 99 |
|
| 100 |
.TP .5i |
| 101 |
.B -t tray, --tray tray |
| 102 |
Sets the paper tray to be used. Valid values for tray are "auto", |
| 103 |
"tray1", "tray2" and "manual", with "auto" being the default. Not all |
| 104 |
printer models have all sorts of paper trays. "auto" should be safe on |
| 105 |
all of them, I think. In fact, the PagePro 1400W seems to have only this |
| 106 |
kind of paper tray. |
| 107 |
|
| 108 |
.TP .5i |
| 109 |
.B -p type, --papertype type |
| 110 |
Sets the type of paper used. Type can be one of "normal", "thick", |
| 111 |
"transparency", "envelope" or "postcard". "normal" is the default. |
| 112 |
|
| 113 |
.TP .5i |
| 114 |
.B -f fmt, --paperformat fmt |
| 115 |
This sets the paper format to be used for the print job. The default |
| 116 |
value for fmt is "a4". Valid values are given below. |
| 117 |
|
| 118 |
.TP .25i |
| 119 |
.B a4 |
| 120 |
A4 paper (210 mm x 297 mm) |
| 121 |
|
| 122 |
.TP .25i |
| 123 |
.B b5 |
| 124 |
B5 envelope (176 mm x 250 mm) |
| 125 |
|
| 126 |
.TP .25i |
| 127 |
.B a5 |
| 128 |
A5 paper (148 mm x 210 mm) |
| 129 |
|
| 130 |
.TP .25i |
| 131 |
.B jpost |
| 132 |
Post card (100 mm x 148 mm) |
| 133 |
|
| 134 |
.TP .25i |
| 135 |
.B corpost |
| 136 |
Correspondence Postcard (148 mm x 200 mm) |
| 137 |
|
| 138 |
.TP .25i |
| 139 |
.B jisy6 |
| 140 |
JIS Yokei 6-gou paper (98 mm x 190 mm) |
| 141 |
|
| 142 |
.TP .25i |
| 143 |
.B jisy0 |
| 144 |
JIS Yokei 0-gou paper (120 mm x 235 mm) |
| 145 |
|
| 146 |
.TP .25i |
| 147 |
.B chinese16k |
| 148 |
Chinese 16K paper (185 mm x 260 mm) |
| 149 |
|
| 150 |
.TP .25i |
| 151 |
.B chinese32k |
| 152 |
Chinese 32K paper (130 mm x 185 mm) |
| 153 |
|
| 154 |
.TP .25i |
| 155 |
.B legal |
| 156 |
Legal paper (8.5" x 14") |
| 157 |
|
| 158 |
.TP .25i |
| 159 |
.B glegal |
| 160 |
G. Legal paper (8.5" x 13") |
| 161 |
|
| 162 |
.TP .25i |
| 163 |
.B letter |
| 164 |
Letter paper (8.5" x 11") |
| 165 |
|
| 166 |
.TP .25i |
| 167 |
.B gletter |
| 168 |
G. Letter paper (8.5" x 10.5") |
| 169 |
|
| 170 |
.TP .25i |
| 171 |
.B executive |
| 172 |
Executive paper (7.25" x 10.5") |
| 173 |
|
| 174 |
.TP .25i |
| 175 |
.B halfletter |
| 176 |
Halfletter paper (5.5" x 8.5") |
| 177 |
|
| 178 |
.TP .25i |
| 179 |
.B envmonarch |
| 180 |
Envelope Monarch (3.875" x 7.5") |
| 181 |
|
| 182 |
.TP .25i |
| 183 |
.B env10 |
| 184 |
Envelope COM-10 (8.125" x 9.5") |
| 185 |
|
| 186 |
.TP .25i |
| 187 |
.B envdl |
| 188 |
Envelope DL (110 mm x 220 mm) |
| 189 |
|
| 190 |
.TP .25i |
| 191 |
.B envc5 |
| 192 |
Envelope C5 (162 mm x 229 mm) |
| 193 |
|
| 194 |
.TP .25i |
| 195 |
.B envc6 |
| 196 |
Envelope C6 (114 mm x 162 mm) |
| 197 |
|
| 198 |
.TP .25i |
| 199 |
.B envb5 |
| 200 |
Envelope B5 (176 mm x 250 mm) |
| 201 |
|
| 202 |
.TP .25i |
| 203 |
.B Choukei-3Gou |
| 204 |
Choukei-3Gou paper (120mm x 235 mm) |
| 205 |
|
| 206 |
.TP .25i |
| 207 |
.B Choukei-4Gou |
| 208 |
Choukei-4Gou paper (90 mm x 205 mm) |
| 209 |
|
| 210 |
.TP .25i |
| 211 |
.B custom |
| 212 |
Custom paper size |
| 213 |
|
| 214 |
.TP .25i |
| 215 |
.B envb6 |
| 216 |
Envelope 6 3/4 (3.625" x 6.5") |
| 217 |
|
| 218 |
.TP .25i |
| 219 |
.B folio |
| 220 |
F4/Folio paper (210 mm x 330 mm) |
| 221 |
|
| 222 |
.TP .25i |
| 223 |
.B jisy1 |
| 224 |
JIS Yokei 1-gou (120 mm x 176 mm) |
| 225 |
|
| 226 |
.TP .25i |
| 227 |
.B jisy2 |
| 228 |
JIS Yokei 2-gou (105 mm x 235 mm) |
| 229 |
|
| 230 |
.TP .25i |
| 231 |
.B quadpost |
| 232 |
Quad postcard (200 mm x 296 mm) |
| 233 |
|
| 234 |
|
| 235 |
.SH EXAMPLES |
| 236 |
.TP 0.5i |
| 237 |
.B gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ |
| 238 |
-sPAPERSIZE=a4 -r1200 -sDEVICE=pbmraw \ |
| 239 |
-sOutputFile=- - < test.ps | min12xxw -r 1200 > test.min |
| 240 |
This would convert a postscript file test.ps to a file test.min which |
| 241 |
could be sent directly to the printer, a 1200W to be exact. The output is |
| 242 |
rendered at 1200 dpi. If you have to drive some other model, see the model |
| 243 |
selection option (-m) above. |
| 244 |
|
| 245 |
.SH PORTABILITY |
| 246 |
.B Min12xxw |
| 247 |
should run on most *nix-like workstations without major problems. Library |
| 248 |
functions which are known to be missing on non-Linux systems such as |
| 249 |
getline or getopt_long may have to be replaced by an appropriate substitute. |
| 250 |
In case of getline and getopt_long this has already been done. The query |
| 251 |
options may or may not work on other systems, depending on the characteristics |
| 252 |
of the printer driver and the interface used (USB, very old style |
| 253 |
parallel port or a more recent one...). |
| 254 |
|
| 255 |
.SH BUGS/LIMITATIONS/CONTRIBUTORS |
| 256 |
.PP |
| 257 |
.B Min12xxw |
| 258 |
was written without any documentation from the |
| 259 |
manufacturer. The description of the printer language may be |
| 260 |
inaccurate or even wrong because it was obtained by looking at the |
| 261 |
output of the windoof driver only. The code dealing with the |
| 262 |
compression of raster data is in its spirit heavily based on an |
| 263 |
initial driver by Adam Bocim <[email protected]> who managed to |
| 264 |
find out how things are done (thanks, Adam, you did a great job!). |
| 265 |
This new version is considerably faster, implemented more cleanly |
| 266 |
and (hopefully) well documented. |
| 267 |
|
| 268 |
It also features querying the printer status and page counter, a |
| 269 |
suggestion made by Bruno Schoedlbauer <[email protected]>, |
| 270 |
who also pointed me to a nice USB sniffer by Benoit Papillault for |
| 271 |
Windoof 98 and up, see http://benoit.papillault.free.fr/usbsnoop. |
| 272 |
(That little program may prove very helpful on similar occasions. |
| 273 |
Happy USB sniffing...) |
| 274 |
|
| 275 |
David Hamilton <[email protected]> has helped a lot in testing |
| 276 |
and developing the support for the PagePro 1350W. |
| 277 |
|
| 278 |
Even though this program has been designed with care and much thought, |
| 279 |
no-one can guarantee that this program will not damage your printer, |
| 280 |
computer or even your neighbour's car, because it was built without |
| 281 |
knowing exactly how things work, it's only a (hopefully) reasonable |
| 282 |
guess. (However, my printer does still work, even after the testing |
| 283 |
phase when a lot of wrong stuff was sent to it. And my neighbour |
| 284 |
hasn't complained either...) |
| 285 |
|
| 286 |
Most of the available paper sizes have not actually been verified |
| 287 |
to work as advertised - reports about successes or problems are welcome. |
| 288 |
Also the code for querying the printer is not heavily tested. If you |
| 289 |
have comments to make or know more about the format than I do, please |
| 290 |
share your thoughts and your knowledge. |
| 291 |
|
| 292 |
13xxW series support seems to be relatively well tested by now. Send mail |
| 293 |
with feedback if you have such a printer and you experience problems. |
| 294 |
|
| 295 |
1400W support is pretty new - please send e-mail if it works or if you |
| 296 |
run into problems. Feedback on models for which support has just been |
| 297 |
completed is very important to improve and stabilise this support. |
| 298 |
|
| 299 |
Bugs and problems reports are generally welcome because I just don't |
| 300 |
have the time to test everything out. I needed a filter and here it |
| 301 |
is. If it does not work - complain ;-) |
| 302 |
|
| 303 |
.SH AUTHOR |
| 304 |
.B Min12xxw |
| 305 |
was written by Manuel Tobias Schiller ([email protected]). |