Printing in Linux

Printing Documents

Printing from a document in Linux is very simple. When printing is available in an application, go to File, then select Print.

printing6

The following popup will show.

printing7

From here you can choose from a list of printers from the drop down box as you see below:

printing8

Once you have found the printer you wish to print to then just click ok and the job will print.

"pquota"

The "pquota" command will allow a user to see how many pages they have left on their account to print. To check your print quota simply type "pquota" in the terminal command console and your remaining print quota will be displayed.

printing1

"lp"

If you wish to print a file directly from the Linux terminal console, you can type "lp (file name)" and it will print to the default printer. For example if we wanted to print our file called "TEST", we would type "lp TEST" and it will print to the lab's default printer.

printing3

"lpr"

If you wish to print a file from the terminal with anything other than default settings you will have to use the lpr command. The syntax is "lpr filename –P printername" where printername is the name of the printer you wish to print to, and filename is the name of the file you wish to print.

printing4