Try studying this UNIX command:
lpd
and this file:
/etc/printcap
Your man pages on these commands will be a great asset.
There are other associated commands, including:
Quote:
FILES
/etc/printcap printer description file
/var/spool/* spool directories
/var/spool/*/minfree minimum free space to leave
/dev/lp* line printer devices
/dev/printer socket for local requests
/etc/hosts.equiv lists machine names allowed printer access
/etc/hosts.lpd lists machine names allowed printer access, but not
under same administrative control.
SEE ALSO
lpc(8), pac(1), lpr(1), lpq(1), lprm(1), syslog(3), printcap(5)