The Line Printer

To send listings to the line printer, use the "lpr" command followed by a list of the files to be printed. There are many options available on the "lpr" command. For more information, type "man lpr". Listings can be picked up from the bins in Computer Science 308 (the Public Terminal Room). If your listing is not there, call the machine operator using the phone near the racks. Please allow some time for your listing to be printed. There may be several people ahead of you, and there is only one line printer for all the Unix systems.

To check the printer queue, use the command "lpq". It will print the names of all the entries in the queue. To cancel your print request, use "lpq" to obtain the number of your request and then use the "lprm" command to remove your request. For example:

% lpr xlisp.samples % lpq Rank Owner Job Files Total Size 1st phiggins 498 xlisp.samples 10458 bytes % lprm 498 orion.oac.uci.edu: dfA498orion.oac.uci.edu dequeued orion.oac.uci.edu: cfA498orion.oac.uci.edu dequeued There are currently two printers on the OAC system orion: "normal" and "diablo". "Normal" paper is ruled 11x14 inch paper, and "diablo" paper is 8.5x11 inches, white.

Click here to go to the top of the chapter.