![]() |
Computer Systems Lab CS1000 |
![]() Wiscinfo |
![]() CS Home |
![]() CSL |
![]() CS1000 |
![]() Feedback |
All instructional accounts have access to the printers in room 1359. Currently, these consist of four Apple LaserWriters called laser1, laser2, laser3, and laser4. To send a file to the printer, you can use either lpr or print. print ONLY works with text files and includes a banner across each page indicating the filename, page number, and time. DO NOT print postscript files with the print command, or you'll end up printing scores of pages of useless text. Instead, use lpr command.
vega1% lpr -P<printername> <filename>
vega1% print -P<printername> <filename>
The -P<printername> can be laser,laser1, laser2, laser3, or laser4. Here is an example of printing a file:
vega1% lpr -Plaser test.c
vega1% print -Plaser test.c
You should use the printer laser without a number, to print on the least busy of the four printers. All files sent to the printer are put in a queue and printed in order of arrival. You can then use the command laserq to display the queues of all the laser printers and determine which one your job was sent to.
vega1% laserq
It's also a good idea to check the printer queues before you send your file to a printer to see how long the queue is (in other words, how long you must wait.)