3. Create the printer.
For example:
lpadmin -p Rprinter -s HOSTNAME\aux-T unknown-1 any
4. Enable the printer for use.
For example:
accept Rprinter
enable Rprinter
5. To print, use the lp command.
For example:
lp -d RPrinter Print-File-Name
Setting up for SunOS 4.1.4 or later
In the following steps, substitute the name that your printer 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 |
ALCXXXX:lp=:rm=HOSTNAME:rp=aux:sd=/var/spool/lpd
/PRIFx
125
How To
2
2
2
2
2
2
2
2
2
2
2
2