Specifications
Configuring and Managing Telnet Servers
14-10
It is assumed that you are familiar with configuring an ULTRIX print system. For
more detailed description of the ULTRIX print system, refer to the ULTRIX Guide
to System Environment Setup.
Step Action
1 Use the lprsetup program to initially configure a remote access printer entry in the
printcap file.
Example: The following example creates printer ds0 with spooling directory
/usr/spool/
lpd1. Some of the questions are ignored by pressing the Return key.
# lprsetup
ULTRIX Printer Setup Program
Command <add modify delete exit view quit help>: add
Enter printer name to add []: ds0
Enter the FULL name of one of the following printer types:
or press RETURN for [unknown]: remote
Enter printer synonym:
Set spooler directory 'sd' [] ? /usr/spool/lpd1
Set remote system name 'rm' [] ?
Set remote system printer name 'rp' []?
Enter the name of the printcap symbol you wish to modify.
Enter symbol name: q
Are these the final values for printer 1 ? [y] y
The lprsetup program creates the following printcap entry for ds0:
ds0|lp1:\
:lp=:\
:rm=:\
:rp=:\
:sd=/usr/spool/lpd1:
2 Modify the printcap entry:
ds0|lp1:\
:lp=@tsb0c3/prds3:\
:sd=/usr/spool/lpd1:
The tsb0c3 entry identifies the access server internet address and is an entry in
/etc/hosts for the access server. The prds3 entry identifies the access server TCP port
number and is an entry in /etc/services. For example:
16.20.48.43 tsb0c3.lkg.foo.com tsb0c3
prds3 2010/tcp
3 Print a file using the host’s lpr command. The lpr command queues and submits a job
for printing. For example:
# lpr -P ds0 file










