[cups-devel] lpr and authentication for dnssd backend on Mac

Michael Sweet msweet at apple.com
Fri Sep 9 08:10:47 PDT 2016


Andreas,

> On Sep 9, 2016, at 10:53 AM, Andreas Lobbes <Andreas.Lobbes at thinprint.com> wrote:
> ...
> My Question is: Is it possible to pass some Mac-specific Options via lpr, so
> that the print job can get through?

You can, via the "auth-info" option, specify the username and password to use with the remote server:

    lpr -o auth-info="username","password" filename

But specifying that option exposes your credentials in the output of "ps" (not to mention on the screen to someone looking over your shoulder) so I can't say it is a good idea.

_________________________________________________________
Michael Sweet, Senior Printing System Engineer




More information about the cups-devel mailing list