Lantronix ETS Reference Manual - page 111
TCP/IP Host Setup
LPR Printing
7-9
1
Ensure that the Berkeley remote printing files and executable programs are installed on the host ma-
chine. If not, issue the mkdev command to install them.
Figure 7-8: Installing Print Files
Note:
The mkdev rlp command should only be installed once. If it is used repeatedly,
serious problems will result with the machine.
2
Create the remote printer using the following command.
Figure 7-9: Creating the Remote Printer
3
Configure the remote printer.
Figure 7-10: Configuring the Remote Printer
4
When prompted for the queue name, enter the name of the service on your print server. To change the
queue name at a later time, manually edit the printcap file.
5
Print to this queue using normal lp syntax (see Figure 7-6).
7.2.6 LPR on Sun Solaris Hosts
The following commands configure a BSD print queue on a Solaris 2.3 system. These commands require
that you are the superuser and in the bourne shell.
Figure 7-11: Creating a BSD Print Queue
# mkdev rlp
# rlpconf
Remote Printing Configuration
Enter information for remote printers or local printers accepting remote
printing requests
Please enter the printer name (q to quit): ETS_
xxxxxx
_P1
Is printer ETS_
xxxxxx
_P1 a remote printer or a local printer? (r/l) r
Please enter the name of the remote host that ETS_
xxxxxx
_P1 is attached
to: host_name
The ETS_
xxxxxx
_P1 is connected to host ETS_PRT.
Is this correct? (y/n) y
Would you like this to be the sys.default printer? (y/n) y
Make sure your hostname appears in host_name’s /etc/hosts.equivor or
/etc/hosts:lpd file.
Make sure ETS_
xxxxxx
_P1 appears in /etc/printcap (in BSD format).
Make sure ETS_
xxxxxx
_P1 has a spool directory on ETS_PRT.
Putting the_printer in printer description file and creating spool
directory... done
Updating LP information... done
# /usr/lib/lpsystem -t bsd ETS_
xxxxxx
_P1
# /usr/lib/lpadmin -p ETS_PRT _s ETS_
xxxxxx
_P1!ETS_serv
# /usr/lib/accept ETS_PRT
# enable ETS_PRT