| foo2oak(1) | General Commands Manual | foo2oak(1) |
foo2oak - Convert Ghostscript pbmraw, pgmraw or bitcmyk format into an OAKT printer stream
foo2oak [options] <pbmraw-file >OAKT-file
foo2oak [options] <pgmraw-file >OAKT-file
foo2oak [options] <bitcmyk-file >OAKT-file
foo2oak converts Ghostscript pbmraw or bitcmyk output formats to monochrome or color OAKT streams, for driving the HP Color LaserJet 1500 laser printer, Kyocera KM-1636/KM-2035 copiers, and other OAKT-based printers.
These are the options used to select the parameters of a print job that are usually controlled on a per job basis.
| 1 | off | 2 | long edge | 3 | short edge |
| Media | Code |
| autoselect | 0 |
| plain | 1 |
| preprinted | 2 |
| letterhead | 3 |
| transparency | 4 |
| prepunched | 5 |
| labels | 6 |
| bond | 7 |
| recycled | 8 |
| color | 9 |
| cardstock | 10 |
| envelope | 11 |
| light | 13 |
| tough | 14 |
| vellum | 15 |
| rough | 16 |
| thick | 19 |
| highqual | 20 |
| 1 | letter | 3 | ledger |
| 5 | legal | 6 | statement |
| 7 | executive | 8 | A3 |
| 9 | A4 | 11 | A5 |
| 12 | B4 | 13 | B5jis |
| 14 | folio | 19 | env9 |
| 20 | env10 | 27 | envDL |
| 28 | envC5 | 30 | envC4 |
| 37 | envMonarch | 257 | A6 |
| 258 | B6 | 259 | B5iso |
| 260 | env6 |
| 1 | tray1 | 2 | tray2 |
| 4 | manual | 7 | auto |
These are the options used to customize the operation of foo2oak for a particular printer.
| 0 | don't send any logical clipping amounts |
| 1 | only send Y clipping amount |
| 2 | only send X clipping amount |
| 3 | send both X and Y clipping amounts |
These options are used for debugging foo2oak.
Create a black and white OAKT stream:
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
-sPAPERSIZE=letter -r600x600 -sDEVICE=pbmraw
-sOutputFile=- - < testpage.ps
| foo2oak -r600x600 -g5100x6600 -p1 >testpage.oak
Create a color OAKT stream:
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
-sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk
-sOutputFile=- - < testpage.ps
| foo2oak -r600x600 -g5100x6600 -p1 >testpage.oak
/usr/bin/foo2oak
foo2oak-wrapper(1), oakdecode(1)
Rick Richardson <rick.richardson@comcast.net>
http://foo2oak.rkkda.com/
| Wed Apr 10 21:38:27 2024 | foo2oak 0.0 |