How to get working cups command line tools on Server 14.04

Posted by Nick on Ask Ubuntu See other posts from Ask Ubuntu or by Nick
Published on 2014-06-02T02:32:41Z Indexed on 2014/06/02 3:55 UTC
Read the original article Hit count: 296

Filed under:
|
|
|
|

It looks like some of the commands like lpr and lprm have broken versions that don't work with cups. These commands worked properly on 10.04.

lpr for cups has an -o option, but no lpr is intalled when cups is installed, and the lpr installed with apt-get install lpr does not have the -o option and does not appear to be the cups version of lpr.

man lpr shows BSD General Commands Manual at the top, where man lpr on the Ubuntu 10.04 server said Apple, inc in the same spot. which leads me to believe the "wrong" lpr is in the "lpr" package or package names got moved around. There is also a lprng package, but trying to install it wants to remove cups and cups-client.

lprm also returns lprm: PrinterName: unknown printer when PrinterName is in fact a valid printer installed with cups and does appear in lpstat -t.

How do I get the proper cups versions of lpr working on Server 14.04?

© Ask Ubuntu or respective owner

Related posts about command-line

Related posts about server