Printing

Based on an article on macosxhints.

Create a termcap file, anywhere and with any name, that contains stuff like

pname:\
  :rm=machine.mynet.edu:\
  :rp=printer_name:\
  :sd=/var/spool/lpd/lp:
and load that into netinfo with
sudo niload printcap / < path/to/the/termcap/file
Also, make sure you create the spool directory:
sudo mkdir /var/spool/lpd/lp

In the termcap file, the assumption is that the printer is printer_name@machine.mynet.edu. To access it you lpr -Ppname file or just lpr if you have setenv PRINTER pname in your .cshrc file.