Configuring/Installing printer and printing in Linux
Basics of Printer in Linux:-
- Printing in Red Hat Enterprise Linux is handled by Cups i.e. Common Unix Printing System which handles all print related jobs.
- Printers may be locally connected to a PC or a networked printer. Print request by a user is sent in the form of queues which are served on the first come and first served basis. These jobs may be canceled before or during the printing.
Commands Associated With Printers:-
- system-config-printer is a graphical tool for configuring printers or you can alternative use system>administration>printing.
- lpr (Local/Line print request) sends job to the queue that is to be printed.
- lpq (Line print queue) is used to view the contents of a queue.
- lprm (line print request remove) removes a job from the queue.
- Other commands like lp, lpstat and cancel are also supported in Linux.
-p argument is used to select a queue other than the default
-# argument is used to specify number of copies
Follow the following commands to print a file:
- #system-config-printer
- Select the New Printer from tab to Configure a New Printer
- Next select your desired Printer name, Description, Location of your printer and once done click forward to continue.


