lpr - BSD lpr/lpd line printer spooling system

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: lpr
Package version: 2008.05.17.1
Package release:
Package architecture: amd64
Package type: deb
Installed size: 270 B
Download size: 89.51 KB
Official Mirror: ftp.br.debian.org
This is the BSD printer spooler and associated utilities. You can use this for local and remote printers. If you install magicfilter or apsfilter (along with ghostscript), lpr will be able to automatically handle special file types (such as Postscript and PDF files).



  • suidmanager << 0.50


  • logcheck-database


    Source package: lpr

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install lpr deb package:
      # sudo apt-get install lpr


    • /etc/cron.weekly/lpr
    • /etc/default/lpd
    • /etc/init.d/lpd
    • /etc/logcheck/ignore.d.server/lpr
    • /usr/bin/lpq
    • /usr/bin/lpr
    • /usr/bin/lprm
    • /usr/bin/lptest
    • /usr/sbin/lpc
    • /usr/sbin/lpd
    • /usr/sbin/lpf
    • /usr/sbin/pac
    • /usr/share/doc/lpr/README.Debian
    • /usr/share/doc/lpr/changelog.gz
    • /usr/share/doc/lpr/copyright
    • /usr/share/doc/lpr/examples/printcap
    • /usr/share/man/man1/lpq.1.gz
    • /usr/share/man/man1/lpr.1.gz
    • /usr/share/man/man1/lprm.1.gz
    • /usr/share/man/man1/lptest.1.gz
    • /usr/share/man/man5/printcap.5.gz
    • /usr/share/man/man8/lpc.8.gz
    • /usr/share/man/man8/lpd.8.gz
    • /usr/share/man/man8/lpf.8.gz
    • /usr/share/man/man8/pac.8.gz


    2014-11-20 - Adam Majer <adamm@zombino.com> lpr (1:2008.05.17.1) unstable; urgency=medium * Acknowledge NMU. Thank you. (closes: #544552) * Fix an integer overflow in chksize() function on systems with > 1TB spool partition. (closes: #769925)

    2011-04-22 - Aurelien Jarno <aurel32@debian.org> lpr (1:2008.05.17+nmu1) unstable; urgency=low * Non-maintainer upload to fix a 1.5 years old pending bug. * Apply patch from Petr Salinger to fix the build on GNU/kFreeBSD (closes: #544552).

    2008-05-19 - Adam Majer <adamm@zombino.com> lpr (1:2008.05.17) unstable; urgency=low * Change package priority from standard to optional since it was already done in the override file * Add upstream revision file * Upgrade standards to 3.7.3 * Overwrite logcheck-database provided logcheck file with our own version (closes: #418393) * Added upstream patches + lpd/printjob.c [rev. 1.41] - rfc 3834 support: "Auto-Submitted: auto-generated" on lots of things; from Tamas TEVESZ + Synched to upstream lpr as of 2008-05-17 * Merged logcheck-database rule with the ones provided by lpr. * Remove old changelog entries for versions before OpenBSD's version was used as an upstream. * Added Vcs- info to control file.

    2006-11-04 - Adam Majer <adamm@zombino.com> lpr (1:2006.11.04) unstable; urgency=low * Added upstream patches + lpr.c [rev. 1.39] - portability patch s/0/SEEK_SET/ in lseek * /var/log/lp-{acct,errs} are now rotated weekly with lp:adm ownership with 0640 permissions. The latter is to counteract any security related information being leaked from filter's stderr to the log to the user. (closes: #390720)

    2006-08-03 - Adam Majer <adamm@zombino.com> lpr (1:2006.08.03) unstable; urgency=low * Fixed the changelog errors (closes: #307753) * (lpd/lpd.8) Manpage update clarifying that lpd will silently drop print requests if reverse DNS lookup fails. * Remove /etc/printcap conffile on purge only if it was not modified (closes: #326046) * Added a slightly modified patch to enable lpd to recognize hosts.equiv and hosts.lpd lines without trailing newline (closes: #323063) * Applied a patch from Martin Michlmayr that moves the dot in the init script next to the lpd name. This is to make the init script consistent with the other deamon's init scrips. (closes: #337222) * Plug a memory leak in displayq.c when nitems==0. Patch from OpenBSD cvs - originally from NetBSD. * Fixed lprm to function correctly when the - parameters is used. (closes: #337743) * Added LSB formatted dependencies to the init script (closes: #376960) * Updated Standards to 3.7.2. No changes.

    2005-05-01 - Adam Majer <adamm@zombino.com> lpr (1:2005.05.01) unstable; urgency=low * Changed to Debian native package. It is still based from OpenBSD cvs, but syncing with upstream now occurs on an ongoing basis. * (lpd/printjob.c) Applied a slightly modified patch from upstream to pstatus which could cause possible stack corruption if vnsprintf failed.

    2005-04-13 - Adam Majer <adamm@zombino.com> lpr (1:2005.01.28-5) unstable; urgency=low * Fix a FTBFS - logcheck is not present as a group. Use dh_installlogcheck

    2005-04-12 - Adam Majer <adamm@zombino.com> lpr (1:2005.01.28-4) unstable; urgency=low * Added logcheck ignore files for server configuration. * Added a patch from upstream that fixes handling of command line options for lpr (lpr.c 1.37 revision upstream) * Using dpatch for upstream patches which should keep things easier to sync when upstream is synced.

    2005-02-17 - Adam Majer <adamm@zombino.com> lpr (1:2005.01.28-3) unstable; urgency=low * Added a timeout to question in postrm regarding removal the spool directory during purge. Timeout is needed to handle non-interactive removals. (closes: #293308) * Added a hint (daemon not running) to error condition when connection to daemon fails. (closes: #180287)