Line Printer Daemon protocol

Line Printer Daemon protocol

The Line Printer Daemon protocol/Line Printer Remote protocol (or LPD, LPR) also known as the Berkeley printing system, is a set of programs that provide printer spooling and network print server functionality for Unix-like systems. The most common implementations of LPD are the official BSD UNIX operating system and the LPRng project. The Common Unix Printing System (or CUPS), which is more common on modern Linux distributions, borrows heavily from LPD but implements Internet Printing Protocol (IPP). Commercial solutions are available that also leverage Berkeley printing protocol components, where more robust functionality and performance is necessary than is available from LPR/LPD (or CUPS) alone (such as might be required in large corporate environments). The LPD Protocol Specification is documented in RFC 1179, Line Printer Daemon Protocol, dated August 1990, edited by L. McLaughlin III.

Commands

The official LPD protocol defines the following commands:
*lpr—Assign a job to a queue.
*lpq—Display the jobs assigned to a queue and their print status.
*lprm—Remove a job from a queue.
*lpc—Control a queue.The lpd program provides the daemon and queues with which the aforementioned commands interface.

Usage

In order for a system to provide print functionality using LPD, the lpd program must be configured and started. Based upon its configuration, it will create the necessary queues and address the printers available to users of the system. Once started, it listens for local messages on TCP port 515 (in standard implementations) from the lpr, lpq, lprm, and lpc programs, as well as for network messages from remote clients who also implement the LPD protocol.

An LPD printer is identified by the IP address of the PC (or network printer or server) and the queue name. Many different queue names may exist in one LPD server, with each queue having unique settings. Note that the LPD queue name is case sensitive. Some modern implementations of LPD on network printers might ignore the case or queue name altogether and send all jobs to the same printer. Others has the option to automatically create a new queue when a print job with a new queue name is received. This helps to simplify the setup of the LPD server. [ [http://gpvno.co.za/ Winet] 's InetLPD server documentation.] Some companies have a tradition of calling the queue name “lpt1” or “LPT1”.

A printer that supports LPD/LPR is sometimes referred to as a "TCP/IP printer" (TCP/IP is used to establish connections between printers and workstations on a network), although that term seems equally applicable to a printer that supports CUPS.

References

*RFC 1179

ee also

*Lp (Unix)
*LPRng
*Legacy printing
*Common Unix Printing System (CUPS)
*RLPR
*System V printing system
*print (command)
*Spooling
*Print server
*Application layer
*Foomatic

External links

* [http://www.brooksnet.com/lpr-lpd-protocol.html?wiki LPD/LPR Protocol]
* [http://www.networkprinting.info/index.html?wiki Network Printing]
* [http://lpd.brooksnet.com/index.html?wiki LPD Software]
* [http://sdisw.com/LPD/ SDI LPD from SDI]
* [http://linux.about.com/library/cmd/blcmdl1_lpr-cups.htm LPR-CUPS] .


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Line Printer Daemon protocol — (aussi connu sous le nom de Line Printer Remote protocol ou de Berkeley printing system, abrégé en LPD/LPR) désigne un protocole d impression communément utilisé sur les systèmes de type UNIX, bien que CUPS soit aujourd hui plus répandu. Le… …   Wikipédia en Français

  • Line Printer Remote protocol — Line Printer Daemon protocol Line Printer Daemon protocol (aussi connu sous le nom de Line Printer Remote protocol ou de Berkeley printing system, abrégé en LPD/LPR) désigne un protocole d impression communément utilisé sur les systèmes de type… …   Wikipédia en Français

  • Line Printer Daemon — У этого термина существуют и другие значения, см. LPD. LPD Название: Line Printer Daemon protocol Уровень (по модели OSI): Прикладной Семейство: TCP/IP Создан в: 1990 г. Порт/ID: 515/TCP Назначение протокола …   Википедия

  • Line Printer Daemon protocol — …   Википедия

  • Line Printer Remote — Das Berkeley Printing System besteht aus Netzwerkprotokollen und Software, um Druckaufträge im Netzwerk verschicken zu können. Es wurde ursprünglich für Unix entwickelt, ist aber auch auf anderen Plattformen implementiert. LPDP im… …   Deutsch Wikipedia

  • Daemon (computing) — For other uses, see Daemon (disambiguation). In Unix and other multitasking computer operating systems, a daemon (  /ˈdeɪ …   Wikipedia

  • Internet Printing Protocol — Protocole d impression Internet Le Protocole d impression Internet (Internet Printing Protocol ou IPP) définit un protocole standard pour l impression ainsi que tout ce qui s y rattache comme les files d attente d impression, la taille des médias …   Wikipédia en Français

  • LPDP — Line Printer Daemon Protocol …   Acronyms

  • LPDP — Line Printer Daemon Protocol …   Acronyms von A bis Z

  • Berkeley printing system — Line Printer Daemon protocol Line Printer Daemon protocol (aussi connu sous le nom de Line Printer Remote protocol ou de Berkeley printing system, abrégé en LPD/LPR) désigne un protocole d impression communément utilisé sur les systèmes de type… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”