Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 04-08-2006 Installation Manual page 459

Table of Contents

Advertisement

smb://user:password@workgroup/server/printer,
smb://user:password@host/printer, and smb://server/printer.
The protocol supported by the printer must be determined before configuration. If the
manufacturer does not provide the needed information, the command nmap, which
comes with the nmap package, can be used to guess the protocol. nmap checks a host
for open ports. For example:
nmap -p 35,137-139,515,631,9100-10000 printerIP
Configuring CUPS in the Network Using YaST
Network printers should be configured with YaST. YaST facilitates the configuration
and is best equipped to handle the security restrictions in CUPS (see
"Changes in the CUPS Print Service"
CUPS in the network, read the article CUPS in a Nutshell in the Support Database at
http://en.opensuse.org/SDB:CUPS_in_a_Nutshell.
Start the printer configuration then click Add. If not told otherwise by the network ad-
ministrator try the option Print Directly to a Network Printer and proceed according
to your local requirements.
Configuring with Command Line Tools
Alternatively, CUPS can be configured with command-line tools like lpadmin and
lpoptions. You need a device URI (uniform resource identifier) consisting of a
back-end, such as usb, and parameters, like /dev/usb/lp0. For example, the full
URI could be parallel:/dev/lp0 (printer connected to the first parallel port) or
usb:/dev/usb/lp0 (first detected printer connected to the USB port).
With lpadmin, the CUPS server administrator can add, remove, or manage class and
print queues. To add a printer queue use the following syntax:
lpadmin -p queue -v device-URI \
-P PPD-file -E
Then the device (-v) will be available as queue (-p), using the specified PPD file
(-P). This means that you must know the PPD file and the name of the device if you
want to configure the printer manually.
(page 462)). For guidelines for installation of
Section 24.6.2,
Printer Operation
459

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents