lpr

From Wikipedia, the free encyclopedia
Jump to: navigation, search
For other uses, see LPR (disambiguation).

The lpr command is used on many Unix-like systems to assign jobs to printer queues.[1] The name derives from line printer, though it has become the commonly used command for any sort of printer. The command originally appeared as part of the Berkeley printing system, and for some time served as a shibboleth to distinguish between System V and BSD systems. lpr is the standard name for the BSD printer command. It is also the standard name for the printer command in the LPRng project. The Common Unix Printing System, used on Linux and Mac OS X among other systems, provides an lpr command for compatibility with BSD systems.

Microsoft Windows provides an lpr command that prints to printers supporting the Line Printer Daemon protocol.[2][3]

See also[edit]

References[edit]

  1. ^ "lpr". UnixManPages.com. Retrieved 16 February 2014. 
  2. ^ "Lpr". Windows XP Professional Product Documentation. Microsoft. Retrieved 16 February 2014. 
  3. ^ Lwin, Jeff (16 June 2005). "Printing using LPR in Windows". Computer Networking Group. University of Stanford. Retrieved 16 February 2014.