An HP laser printer is connected to an AIX system. Printing is normally performed via the qprt print spooler.
The following example works for Caché installed on AIX 4.3, printing to an HP LaserJet 4 printer.
Device ID ($IO) [qprt -Pyeats -X850 -J+ -p12 -z1 ] Device type [HPL ] Open parameters ["QW" ] Use parameters [ ] Close parameters [ ]
In this example:
| Parameter | Meaning |
|---|---|
| -Pxxx | specifies the name of the print queue |
| -X850 | means use the 850 code page which contains appropriate characters for line drawing |
| -p12 | means use a pitch of 12 characters per inch |
| -z1 | means print in landscape orientation (use -z0 for portrait) |
| -J+ | means reset the printer characteristics after printing |
Use 'man qprt' for full details of the arguments to the qprt command.
Last reviewed: Nov 22, 2004
Copyright 1997, 2005 George James Software.