Lantronix ETS Reference Manual - 7.2.4 Lpr On Hp Hosts
LPR Printing
TCP/IP Host Setup
7-8
7.2.4 LPR on HP Hosts
LPR is supported in HP/UX versions 9.0 and greater. Print queues on HP hosts can be configured using
either UNIX commands or the System Administration Manager (SAM) application.
7.2.4.1 Using UNIX Commands
To configure and use a print queue using LPR:
1
Become the superuser.
2
Issue the following commands:
Figure 7-7: Configuring a Print Queue Using UNIX Commands
Note:
Issuing the “lpshut” command will stop the HP spooling system, so this
command should not be performed when print jobs are active.
The lpadmin command adds to the print queue. The accept command tells the queueing system that
the queue is accepting requests and the enable command enables the print queue so it can start
printing. Finally, the lpsched command restarts the queuing system.
3
Print to this queue using normal lpr syntax (see Figure 7-6).
7.2.4.2 Using SAM
The System Administration Manager (SAM) application allows you to enable LPD printing and create print
queues.
1
At the HP prompt, type SAM.
2
From the main application window, choose Printers and Plotters. Click Open and choose Printers/
Plotters.
3
In the Actions pull-down menu, select Add Remote Printer/Plotter.
4
Enter the name of the print queue to add, the name of the ETS unit, and the name of the ETS service
5
Print to this queue using normal lp syntax (see Figure 7-6).
7.2.5 LPR on SCO UNIX Hosts
LPR is supported in SCO V3.2 release 4 with TCP/IP versions 1.2 and greater.
# /usr/lib/lpshut
# /usr/lib/lpadmin -pETS_PRT -v/dev/null -mrmodel \
-ocmrcmodel -osmrsmodel -ormETS_
xxxxxx
-orpETS_
xxxxxx
_P1
# /usr/lib/accept ETS_PRT
# /usr/bin/enable ETS_PRT
# /usr/lib/lpsched