Graphical Printing Interfaces; Printing From The Command Line - Novell LINUX ENTERPRISE DESKTOP 10 SP2 - DEPLOYMENT GUIDE 08-05-2008 Deployment Manual

Table of Contents

Advertisement

2 Change the option with lpadmin:
3 Check the new setting:
When a normal user runs lpoptions, the settings are written to ~/.lpoptions.
However, root settings are written to /etc/cups/lpoptions.

20.6 Graphical Printing Interfaces

Tools such as xpp and the KDE program KPrinter provide a graphical interface for
choosing queues and setting both CUPS standard options and printer-specific options
made available through the PPD file. You can even use KPrinter as the standard printing
interface of non-KDE applications. In the print dialog of these applications, specify
either kprinter or kprinter --stdin as the print command. The command to
use depends on how the application transmits the data—just try which one results in
starting KPrinter. If set up correctly, the application should open the KPrinter dialog
whenever a print job is issued from it, so you can use the dialog to select a queue and
set other printing options. This requires that the application's own print setup does not
conflict with that of KPrinter and that printing options are only changed through
KPrinter after it has been enabled.

20.7 Printing from the Command Line

To print from the command line, enter lp -d queuename filename, substituting
the corresponding names for queuename and filename.
Some applications rely on the lp command for printing. In this case, enter the correct
command in the application's print dialog, usually without specifying filename, for
example, lp -d queuename.
450
Deployment Guide
The activated default option is identified by a preceding asterisk (*).
lpadmin -p queue -o Resolution=600dpi
lpoptions -p queue -l
Resolution/Output Resolution: 150dpi 300dpi *600dpi

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents