right-click on it and select the Cancel document option.
Figure 2-20. Document print-status window
The lpq command provides another way of viewing a queue's contents:
$ lpq
inkjet0 is ready
no entries
While the graphical Document print-status window shows requests by one user on all queues, lpq shows requests by all users on a single queue. The output in the previous example shows that there are no documents in the default queue
$ lpq -P
laser3 is ready and printing
Rank Owner Job File(s) Total Size
active chris 91 report.ps 124928 bytes
2 jason 92 spreadsheet.ps 523423 bytes
In this case, there are two jobs in the queue; job 91 is printing, and job 92 is scheduled to be printed next.
You can delete a document using the
$ lprm -P
2.5.2. How Does It Work?
Fedora's printing system combines four fairly complex tools into a comprehensive print solution. The Common Unix Printing System (CUPS) provides queue management and printer sharing; the Foomatic system provides access to the large database of printer configuration information and notes maintained by linuxprinting.org; Ghostscript converts PostScript, the most common printer output format used by Linux applications, into other formats for use by non-PostScript printers; and the
CUPS provides queue management, storing queued documents in
Applications vary enormously in the quality of their interface into the print system:
? Programs with the most advanced print control, such as OpenOffice.org, load the list of queues from CUPS, including each queue's capabilities. They also let you set print optionssuch as duplexing, ink mode, paper type, and resolutionusing the Properties button in the print dialog.
? Other applications, such as Firefox and Evince, load the queue list but don't permit full control over print options. You can select the queue from a drop-down list in the print dialog.
? Many other programs such as xpdf simply allow you to specify the
The printer icon in the GNOME panel's notification area is provided by the
2.5.3. What About...
2.5.3.1. ...creating a group of similar printers that are accessed on a first-available-printer basis?
This is called a printer class; to create one, use the New Class button in the graphical configuration tool. Add the desired printers to the printer class and click Apply; you can then print to the printer class instead of a specific printer, and the first available printer will be used to print your document.
2.5.3.2. ...setting up more than one queue for a printer?
Not only is it possible to set up more than one queue for a printer, it's a good idea, because each queue can have a different driver configuration.
For example, I have a color inkjet printer, which is used in text mode with plain paper and in a photo mode with photo paper. I have created three separate queues:
Printer queues are created with default driver options. To adjust the driver options, create the queue, and then use the Printer Options tab to access the driver settings.
2.5.3.3. ...making a PDF instead of printing?
Many applications that don't provide PDF output do provide the ability to print to a file instead of printing to an output queue; this feature can be used to save a PostScript copy of the print request, which you can then convert to a PDF by using Ghostscript via the
For example, you could 'print' from Firefox to the file
$ ps2pdf