IBM 6500 Printer User Manual


 
Chapter 5 Ethernet Installation on HP-UX
150
Ethernet Installation on HP-UX
LPR is supported in HP/UX Version 9.0 and greater. To configure a
print queue using LPR, issue the following commands.
NOTE: Requires root privilege. The default BSD interface file
“rmodel” will be used.
Syntax:
lpshut
lpadmin -pqueue_name -mrmodel -v/dev/null
-orm[printer_ip] -orpd1prn -ob3
lpsched
accept queue_name
enable queue_name
queue_name = any unique printer name
[printer_ip] = IP address of the printer or the DNS name (without
brackets)
d1prn = Ethernet remote printer name*
Explanation of command line:
-m indicates the model rmodel
-v indicates the use of /dev/null as a file interlock to avoid
contention
-orm is the name of remote Print Server
-orp is the name of the remote printer on the remote Print Server
-ob3 declares that the remote Print Server is a BSD type
NOTE: The “lpshut” command stops the HP spooling system; do
not perform when print jobs are active.
The default Ethernet destination name is d1prn, however, this
name can be changed. To verify the queue name, print an Ethernet
Test Page or telnet to the adapter and run a “list dest” command.
To print to this queue, use normal lp syntax:
# lp -dqueue_name filename