Do not use -E as the first option. For all CUPS commands, -E as the first argument
sets use of an encrypted connection. To enable the printer, -E must be used as shown
in the following example:
lpadmin -p ps -v parallel:/dev/lp0 -P \
/usr/share/cups/model/Postscript.ppd.gz -E
The following example configures a network printer:
lpadmin -p ps -v socket://192.168.1.0:9100/ -P \
/usr/share/cups/model/Postscript-level1.ppd.gz -E
For more options of lpadmin, see the lpadmin(1) man page.
During printer setup, certain options are set as default. These options can be modified
for every print job (depending on the print tool used). Changing these default options
with YaST is also possible. Using command line tools, set default options as follows:
1 First, list all options:
2 Change the option with lpadmin:
3 Check the new setting:
Settings are written to ~/.lpoptions when a normal user runs lpoptions. root
settings are written to /etc/cups/lpoptions.
460
Installation and Administration
lpoptions -p queue -l
Example:
Resolution/Output Resolution: 150dpi *300dpi 600dpi
The activated default option is evident from the preceding asterisk (*).
lpadmin -p queue -o Resolution=600dpi
lpoptions -p queue -l
Resolution/Output Resolution: 150dpi 300dpi *600dpi