foo2oak-wrapper
Convert Postscript into an OAKT printer stream
- Provided by: printer-driver-foo2zjs-common (Version: 20200505dfsg0-2ubuntu2.22.04.1)
- Source: foo2zjs
- Report a bug
Convert Postscript into an OAKT printer stream
foo2oak-wrapper [options] [ps-file]
foo2oak-wrapper is a Foomatic compatible printer wrapper for the foo2oak printer driver. This script reads a Postscript ps-file or standard input and converts it to Oak Technology OAKT printer format for driving the HP Color LaserJet 1500 laser printer, Kyocera KM-1636/KM-2035 copiers, and other OAKT-based printers.
This script can be used in a standalone fashion, but is intended to be called from a printer spooler system which uses the Foomatic printer database.
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 | HP CLJ 1500 | KM-1635 |
| -z0 | -z1 | |
| autoselect | 0 | 0 |
| plain | 1 | 1 |
| preprinted | 2 | 2 |
| letterhead | 3 | 3 |
| transparency | 4 | 4 |
| prepunched | 5 | 5 |
| labels | 6 | 6 |
| bond | 7 | 7 |
| recycled | 8 | 8 |
| color | 9 | 9 |
| cardstock | 10 | 10 |
| envelope | 11 | 11 |
| light | 13 | na |
| tough | 14 | na |
| vellum | na | 15 |
| rough | na | 16 |
| thick | na | 19 |
| highqual | na | 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 |
| Portrait | -op | (normal) |
| Landscape | -ol | (rotated 90 degrees anticlockwise) |
| Seascape | -os | (rotated 90 degrees clockwise) |
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 are the options used to control the quality of color output. Color correction is currently a WORK IN PROGRESS.
These options are used for debugging foo2oak and its wrapper.
Create a monochrome OAKT stream from a Postscript document, examine it, and then print it using a RAW print queue:
foo2oak-wrapper testpage.ps > testpage.oak oakdecode < testpage.oak lpr -P raw testpage.oak
Create a color OAKT stream from a Postscript document:
foo2oak-wrapper -c testpage.ps > testpage.oak
/usr/bin/foo2oak-wrapper
Rick Richardson <rick.richardson@comcast.net>
http://foo2oak.rkkda.com/