Printing Setup On HP-UX

Method 2, Command Line

The following procedure requires root privilege.

1.Assume a print queue (aka Unix printer). Quality is desired.

2.DNS/IP Address name of NIC.

3.The dest d4prn is to be used on the NIC.

4.The default BSD interface file rmodel on the HP-UX system will be used.

5.Issue the following commands (in order shown): lpshut (stops the print scheduler)

lpadmin -pQuality -mrmodel -v/dev/null -ormMyP5000LJ- orpd4prn -ob3 (sets up queue)

lpsched (restarts print scheduler)

accept Quality (allows queue to accept jobs) enable Quality (allows queue to pass jobs)

Explanation of command line:

-mindicates the model rmodel is to be associated with Quality

-vindicates the use of /dev/null as a file interlock to avoid contention -ormis the name of remote Print Server

-orpis the name of the remote printer on the remote Print Server -ob3declares that the remote Print Server is a BSD type

Other useful commands are lpstat and lpmove [ /usr/lib ]

6.You can now do a test print:

lp -d Quality /etc/inetd.conf

HP-UX Typical Configuration, Parallel or Serial Attachment

Printers set up on HP-PB & CIO computers:

Table 16. Drivers Required

Interface

HP-PB

CIO 6 CHANNEL

CIO 16 CHANNEL

MUX

MUX

 

 

 

 

 

 

 

 

 

 

Serial

mux2

mux0,cio_ca0

mux0_16,cio,ca0

 

 

 

 

Parallel

lpr2

N/A

N/A

 

 

 

 

The Drivers shown in this table should be installed in the Kernel Configuration.

197

Page 197
Image 197
Printronix P5000LJ user manual Lp -d Quality /etc/inetd.conf, Printing Setup On HP-UX, Drivers Required Interface