Operation Manual

13.6 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.
13.7 Special Features in openSUSE
A number of CUPS features have been adapted for openSUSE. Some of the most im-
portant changes are covered here.
13.7.1 CUPS and Firewall
After having performed a default installation of openSUSE, SuSErewall2 is active
and the network interfaces are congured to be in the External Zone which blocks
incoming trafc. More information about the SUSErewall2 conguration is available
in Section “SuSErewall2” (Chapter 14, Masquerading and Firewalls, ↑Security Guide)
and at http://en.opensuse.org/SDB:CUPS_and_SANE_Firewall
_settings.
13.7.1.1 CUPS Client
Normally, a CUPS client runs on a regular workstation located in a trusted network
environment behind a rewall. In this case it is recommended to congure the network
interface to be in the Internal Zone, so the workstation is reachable from within
the network.
13.7.1.2 CUPS Server
If the CUPS server is part of a trusted network environment protected by a rewall, the
network interface should be congured to be in the Internal Zone of the rewall.
It is not recommended to set up a CUPS server in an untrusted network environment
Printer Operation 205