You are here

Printing from DICE machines

Printer-friendly versionPrinter-friendly version

Simple printing commands

lpstat -p

will give a list of available printers and their status. From April 2018, you will be able to use the cloudm0 and cloudc0 queues. At the end of semester 2, we will disable the old queues.

lpstat -l -p printername

will give more information on the chosen printer.

echo "export PRINTER=printername" >> ~/.benv

will set your default printer (note this only takes effect next time you log in).

lpr filename

will print a document to your default printer. Though the printing software will try to convert the file you give to PDF or Postscript (the language the printer understands), it does not work for all files, especially Microsoft Office files e.g. Word, Excel.

DO NOT PRINT .doc files or other Microsoft, or LibreOffice files from the command line. Use the appropriate application.

lpr -P printername filename

will print the document to a specified printer.

lpr -o sides=one-sided -P printername myfile.pdf 

will print simplex (one-sided).

For more information see General Printing Questions.

Last reviewed: 
23/05/2017

System Status

Home dirs (AFS)
Network
Mail
Other services
Scheduled downtime

Choose a topic