Settings for UNIX 9-4
Setting up for SunOS 4.1.4 or laterIn the following steps, substitute the name tha t your printer with
the network adapter will be known by for HOSTNAME, and the
name by which you want your printer to be known for Rprinter.
1. Add the IP address and printer host name to the \ etc\hosts
file.
For example:
22.33.44.55 HOSTNAME
2. Create a spool directory.
For example:
mkdir\var\spool\lpd\PRIFx
3. Add the printer entry to the \etc\printcap file.
For example:
Rprinter |
SC860:lp=:rm=HOSTNAME:rp=aux:sd=/var/spool/lpd/
PRIFx
4. To print, use the lpr command.
For example:
lpt -s -PRPrinter Print-File-Name
cCaution:
Files that exceed 1MB may not be printed unless the -s option is
used.