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.
2.Create a spool directory.
For example: mkdir\var\spool\lpd\PRIFx
3.Add the printer entry to the \etc\printcap file.
Rprinter ALCXXXX:lp=:rm=HOSTNAME:rp=aux:sd=/var/spool/lpd /PRIFx
4.To print, use the lpr command.
Files that exceed 1 MB may not be printed unless the
166Settings for UNIX