Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 303 — #329
i
i
i
i
i
i
i
i
13
Printer Operation
want to provide certain functions that are not available in the standard.
Manufacturers then provide drivers for only a few operating systems, elim-
inating difficulties with those systems. Unfortunately, Linux drivers are
rarely provided.
The current situation is such that you cannot act on the assumption that
every protocol works smoothly in Linux. Therefore, you may have to ex-
periment with various options to achieve a functional configuration.
CUPS supports the socket, LPD, IPP, and smb protocols. Here is some
detailed information about these protocols:
socket Socket refers to a connection in which the data is sent to an Internet
socket without first performing a data handshake. Some of the socket
port numbers that are commonly used are 9100 or 35. Example for a
device URI: socket://hhost-printeri:9100/
LPD (line printer daemon) The proven LPD protocol is described in
RFC 1179. Under this protocol, some job-related data, such as the
print queue, is sent before the actual print data is sent. Therefore, a
print queue must be specified when configuring the LPD protocol for
the data transmission. The implementations of diverse printer man-
ufacturers are flexible enough to accept any name as print queue. If
necessary, the printer manual may indicate which name to use. LPT,
LPT1, LP1, or similar names are often used. Of course, an LPD queue
can also be configured on a different Linux or Unix host in the CUPS
system. The port number for an LPD service is 515. Example for a
device URI: lpd://hhost-printeri/LPT1
IPP (Internet printing protocol) IPP is a relatively new (1999) protocol
based on the HTTP protocol. With IPP, more job-related data is trans-
mitted than in the other protocols.
CUPS uses IPP for internal data transmission. This is the pre-
ferred protocol for a forwarding queue between two CUPS
servers. The name of the print queue is necessary to con-
figure IPP correctly. The port number for IPP is 631. Ex-
ample for a device URI: ipp://hhost-printeri/ps or
ipp://hhost-cupsserveri/printers/ps
SMB (Windows share) CUPS also supports printing on printers con-
nected to Windows shares. The protocol used for this purpose is SMB.
SMB uses the port numbers 137, 138, and 139. Example for a device
URI:
303SUSE LINUX Enterprise Server










