(Perhaps only necessary for some Macs, new ones with proper DNS, DHCP setup will respond correctly to a hostname command - you should see the DNS name, NOT the "friendly.local" name)
sudo scutil --set HostName hostname.cs
ie sudo scutil --set HostName cscfmac01.cscf
NOTE: can even do this as root via Apple Remote Desktop Unix script command, and verify with hostname command
(You may have to restart to get this to apply)
sudo tcsh
(this will give you a root shell)
lpadmin -p lj_cs -v lpd://print.cs.uwaterloo.ca/lj_cs -D 'main CS printers' -L DC2320
lpadmin -p lj_cs -E
lpadmin -d lj_cs
lpstat -t
to look at some output
Once that's done, you need to go into the printer control panel thingie (the GUI, I don't know what Apple call it). You should see a printer there called "main CS printers" - it'll be typed as something like "local raw printer". You want to change the printer type to the HP Laserjet 4100 Series.
Again: this is extremely evil, partially because if you print cover pages they'll go to a different printer. I think that this is because we have to use the lj_cs queue, which tries to load balance between printers, and I have suspected for quite some time that what happens is the Mac sends the cover page and the document itself as two different jobs.
Arthur says that is truly evil. He suggests you check his notes: AddingMacintoshNetworkPrinters