Bug 5006 - lpr not installed on some distros by default
Summary: lpr not installed on some distros by default
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client platforms (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Peter Åstrand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-28 13:17 CET by Aaron Sowry
Modified: 2014-05-12 15:51 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Aaron Sowry cendio 2014-02-28 13:17:38 CET
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 Aaron Sowry cendio 2014-03-05 14:50:56 CET
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 Pierre Ossman cendio 2014-05-12 15:51:29 CEST
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.

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