Line Printer Daemon protocol: Difference between revisions

Content deleted Content added
Tas50 (talk | contribs)
macOS not Mac OS X
Tas50 (talk | contribs)
Link to UNIX
Line 1:
{{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 use 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 name="rfc" />
==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.