This document describes how to set up your Linux laptop to print on SLAC's central print server.
All Unix print queues at SLAC are accessible from anywhere in the world via
lpr protocol through SLAC's Unix print server "printserv".
/etc/printcap This file defines all print queues.
Or, if you don't have an account, go the the WEB page
http://www.slac.stanford.edu/comp/service/printing/
and try to find a queue name.
LPRng printing package installed on your
laptoop.
Use the following command to print the file "file.ps" on queue
"hpcgb1a"
lpr -Phpcgb1a@printserv.slac.stanford.edu file.ps
(you can leave out the domain name if your machine is inside the SLAC domain;
e.g., at SLAC's wireless network)
All other printing commands like lpq, lprm are working in a
similar fashion:
To check on your print job:
lpq -Phpcgb1a@printserv.slac.stanford.edu
or use the WEB form
http://www.slac.stanford.edu/comp/service/printing/
and type in the queue name "hpcgb1a" and click the "Search" button.
Follow the "Queues List" URL to get the same output as the above command
would give you.
printserv your default print serer/etc/lpd.conf file to have the line
default_remote_host=printserv.slac.stanford.edu
in it. With this modification all lpr, lpq, lprm etc. commands will
go to that print server by default and you can ommit the
@printserv.slac.stanford.edu in the commands (see above).