George James Software logo

KB0114

How do I Configure an HP Printer Using the AIX qprt Print Spooler?

Applies to: VC/m, RE/m, RE/data and RE/parser

Situation

An HP laser printer is connected to an AIX system. Printing is normally performed via the qprt print spooler.

Example

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:

ParameterMeaning
-Pxxxspecifies 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

Further Information

Use 'man qprt' for full details of the arguments to the qprt command.

Last reviewed: Nov 22, 2004

Back to top