www.cendio.com
Bug 5006 - lpr not installed on some distros by default
: lpr not installed on some distros by default
Status: NEW
: ThinLinc
Client platforms
: trunk
: PC Unknown
: P2 Normal
: MediumPrio
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2014-02-28 13:17 by
Modified: 2014-05-12 15:51 (History)
Acceptance Criteria:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From cendio 2014-02-28 13:17:38
Debian (and therefore probably Ubuntu?) don't have lpr installed by default,
which means thinlocal printing will fail. The following unhelpful messages are
printed to tlclient.log:

2014-02-28T13:08:38: Finished receiving printer job
2014-02-28T13:08:38: Printing job with title "(stdin)" and type
"application/pdf" (1 copies).
2014-02-28T13:08:38: Converted printer job from PDF to PS: /tmp/lpdJ2hadf.ps
2014-02-28T13:08:38: Printing received file: /tmp/lpdJ2hadf.ps
2014-02-28T13:08:38: Failed to start command lpr
2014-02-28T13:08:38: Print error: Error when running 'lpr' command to print
file
------- Comment #1 From cendio 2014-03-05 14:50:56 -------
Actually, Debian's lpr is stupid and broken. It won't print to the default
printer if no destination is specified; it attempts to print to the print queue
"lp" instead. So even installing lpr won't help in this case.
------- Comment #2 From cendio 2014-05-12 15:51:29 -------
Actually, that's just the original lpr (which is what you get if you install
the "lpr" package). The lpr that all other distros use is the one from CUPS,
and that lives in cups-bsd on Debian. Installing that gets sane behaviour.