foo2xqx-wrapper - Convert Postscript into a XQX printer stream
| 1 | off | 2 | long edge | 3 | short edge |
| Media | M1005 | |
| standard | 1 | |
| transparency | 2 | |
| envelope | 257 | |
| letterhead | 259 | |
| thick | 261 | |
| postcard | 262 | |
| labels | 263 | |
| 1 | letter | 9 | A4 |
| 5 | legal | 11 | A5 |
| 7 | executive | 13 | B5 |
| 20 | env #10 | 27 | env DL |
| 28 | env C5 | 34 | env B5 |
| 37 | env Monarch |
| 1 | upper | 4 | manual |
| 2 | lower | 7 | auto |
| Portrait | -op | (normal) |
| Landscape | -ol | (rotated 90 degrees anticlockwise) |
| Seascape | -os | (rotated 90 degrees clockwise) |
| 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 |
foo2xqx-wrapper testpage.ps > testpage.xqx xqxdecode < testpage.xqx lpr -P raw testpage.xqx