The lpr command lets you send a UNIX file to a network printer.
You can send either TEXT files or PostScript files to the printer. All other types of files will probably not print out correctly.
The lpr command produces no output unless you have made a mistake.
There are many different printers on the network, and you need to tell the lpr command which printer to use
lpr -Pprinter_name
file_to_print
To get a list of the network printers, type
If you want to send a PostScript file to the printer in B481, you should use the command
lpr -Ppostscript file_to_print
Other popular lpr commands include
|
What to Type |
What it Does |
|
|
send "file1" to the printer in Beckman 050 |
|
|
list all the printers |
|
|
see who is also printing to the printer and list the print job numbers |
|
|
remove print job #200 from a printer |
For more help with the lpr command or to see the online UNIX manual and all the extensions to the lpr command, click here.