Line Printer Daemon protocol: Difference between revisions

Content deleted Content added
→‎Usage: Removed unsourced conjecture
 
(37 intermediate revisions by 29 users not shown)
Line 1:
{{Short description|Network printing protocol}}
The '''Line Printer Daemon protocol/Line Printer Remote protocol''' (or '''LPD''', '''LPR''') is a network protocol for submitting print jobs to a remote printer. The original implementation of LPD was in the [[Berkeley printing system]] in the [[BSD]] UNIX operating system; the [[LPRng]] project also supports that protocol. The [[Common Unix Printing System]] (or CUPS), which is more common on modern [[Linux]] distributions, supports LPD as well as the [[Internet Printing Protocol|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.<ref>[http://www.rfc-editor.org/rfc/rfc1179.txt RFC1179] Line Printer Daemon Protocol, August 1990, edited by L. McLaughlin III.</ref>
{{Infobox networking protocol|title=Line Printer Daemon|purpose=Submitting print jobs to a remote printer|rfcs=RFC 1179|ports=515<ref name="rfc">{{Cite IETF|title=Line Printer Daemon Protocol|rfc=1179|date=August 1990}}</ref>|date={{Start date and age|1983}}|based on=[[Berkeley printing system]]}}
 
The '''Line Printer Daemon protocol/Line Printer Remote protocol''' (or '''LPD''', '''LPR''') is a network [[printing protocol]] for submitting print jobs to a remote printer. The original implementation of LPD was in the [[Berkeley printing system]] in the [[BSD]] [[UNIX]] operating system; the [[LPRng]] project also supports that protocol. The [[Common Unix Printing System]] (or CUPS), which is more common on modern [[Linux]] distributions and also found on [[macOS]], supports LPD as well as the [[Internet Printing Protocol|Internet Printing Protocol (IPP)]]. Commercial solutions are available that also leverageuse 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.<ref>[http://www. name="rfc-editor.org/rfc/rfc1179.txt" RFC1179] Line Printer Daemon Protocol, August 1990, edited by L. McLaughlin III.</ref>
==Usage ==
A server for the LPD protocol listens for requests on TCP port 515. A request begins with a byte containing the request code, followed by the arguments to the request, and is terminated by an ASCII [[Newline|LF]] character.
 
An LPD printer is identified by the [[IP address]] of the server machine and the queue name on that machine. 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 have 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.<ref>[http://gpvno.co.za/ Winet]'s InetLPD server documentation.</ref> Some companies (e.g. D-Link in model DP-301P+) 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" ([[Internet protocol suite|TCP/IP]] is used to establish connections between printers and clients on a network), although that term would be equally applicable to a printer that supports the [[Internet Printing Protocol]].
 
==See also ==
LPR VS RAW
 
*[[Lp (Unix)]]
*[[LPRng]]
*[[Category:ComputerLegacy printing]]
*[[Common Unix Printing System|Common Unix Printing System (CUPS)]]
*[[System V printing system]]
*[[Spooling]]
*[[Print server]]
*[[Application layer]]
*[[Foomatic]]
 
==References ==
Difference Between LPR and RAW
• Categorized under Protocols & Formats | Difference Between LPR and RAW
 
LPR vs RAW
 
Two common networking computer protocols are LPR and RAW protocols. Both LPR and RAW protocols are involved with network printing. The concept of network printing is printing documents and papers by multiple users without using a direct connection or cables between computers and printers.
 
The LPR protocol is a shortened term for Line Printer Remote protocol. The LPR protocol serves as a system that allows computers and printers to work with each other in a network. The word “remote” in a whole term implies that a print job from a computer in another place can be carried out and performed in a printer that is not in the same space as the other machine as long as the two are attached to the same network.
 
The LPR protocol works by using a TCP/IP connection (transmission control protocol/Internet protocol) and LPD (Line Printer Daemon). The TCP/IP serves as the channel for the order or instruction to go from the computer to the printer while the LPD is software or a program installed inside the computer to allow the user to print a document or any kind of material using instructions in the computer.
 
The LPR protocol is initially designed for the UNIX computers, but it has been used after its development in other computer systems and platforms. It is often referenced as RFP1179. It can be used as the protocol for systems that don’t support RAW or other alternative protocols.
 
This particular type of protocol allows print queues since it can receive print jobs from numerous computers and users. However, in terms of errors, the protocol only displays a single and undetailed error status report. The example for this is a dialog box that says “Printer Error” with no specific details about the said error.
 
 
RAW protocol is one of the common computer languages that documents are translated into and then sent to a networked printer. The printer interprets the protocol and prints the document. RAW protocol is used when the computer user wants to print a complicated document which entails more than texts or letters. The protocol enables the computer to translate the document into RAW form before sending it to the printer which understands the given language and job.
 
The RAW protocol is the default protocol for systems that do not use Windows OS and for Standard TCP/IP. It is characterized and known as Port 9100. The advantage of this protocol is that it sends data without further processing and has smaller packet headers. The protocol also has fewer networks overhead.
Both RAW and LPR protocols need drivers in order to perform the task of printing the document after the computer gives the command to print.
 
Summary:
 
1.Both LPR and RAW protocols are used in network printing depending on the computer operating system. Either the LPR or RAW protocols can be used for printing jobs.
2.Both protocols function using the TCP/IP. Both protocols are enabled to communicate between the computer and printer.
3.LPR protocol is the most familiar computer protocol. It is often used in Windows OS and other computer platforms. On the other hand, RAW is the default protocol for non-Windows computers. The LPR protocol can be substituted for the RAW protocol if the latter cannot function and doesn’t respond while on a print job. This makes the LPR protocol more flexible and more universal compared to the RAW protocol.
4.LPR protocol is known as RFP 1179 while the Raw protocol is identified as Port 9100.
5.LPR protocol requires LPD or Line Printer Daemon to function while RAW protocol creates a data type with the same name in order to perform a print job. Also, the RAW protocol sends the data without further processing.
6.A disadvantage of the LPR protocol is its generic error message. It states that there is a printer error, but it doesn’t specify what kind of problem was encountered.
 
 
 
Read more: Difference Between LPR and RAW | Difference Between | LPR vs RAW http://www.differencebetween.net/technology/protocols-formats/difference-between-lpr-and-raw/#ixzz305842ZTf
 
==References==
{{Reflist}}
{{Refbegin}}
{{Refend}}
 
==External links ==
* [https://www.freebsd.org/cgi/man.cgi?query=lpd&sektion=8 FreeBSD LPD Man Page]
 
[[Category:NetworkComputer protocolsprinting]]
==External links==
[[Category:Printing protocols]]
*[http://ddr.web.id/ddrLPD.html ddrLPD - LPD/LPR server from ddr.web.id]
*[http://www.tcpterminalemulator.com/technical-specs/ Inet/Winet with LPD and LPR]
*[http://www.brooksnet.com/lpr-lpd-protocol.html Line Printer Daemon / Requester Comparison]
*[http://www.networkprinting.info/line-printer-daemon.html RPM Line Printer Daemon Software]
*[http://sdisw.com/LPD/ SDI LPD from SDI]
 
[[Category:Unix]]
[[Category:Network protocols]]
[[Category:Computer printing]]
 
{{Network-software-stub}}