HP LQH-HW 3ULQWHUV manual Lp -d Quality /etc/inetd.conf, Printing Setup On HP-UX

Models: LQH-HW 3ULQWHUV

1 304
Download 304 pages 33.43 Kb
Page 173
Image 173

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 LineJet Print Server is MyLineJet.

3.The dest d4prn is to be used on the LineJet Print Server.

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 -ormMyLineJet- 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 13. 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.

173

Page 173
Image 173
HP LQH-HW 3ULQWHUV manual Lp -d Quality /etc/inetd.conf, Printing Setup On HP-UX, Drivers Required Interface