Setting up for SunOS 4.1.4 or later
In the following steps, substitute the name you will use to configure
your printer's Ethernet card on the network for HOSTNAME.
Substitute the printer name that users will send print jobs to 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 |
LP-1700:lp=:rm=HOSTNAME:rp=aux:sd=/var/spool/
lpd/PRIFx
Files are printed using the lpr command.
For example:
lpt -s -PRPrinter Print-File-Name
c
Caution:
The -s option should be included to print files that exceed 1 MB.
Using the Ethernet Card with UNIX 9-3