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

Michael Sweet <[email protected]> Fri, 09 Sep 2016 11:10:47 -0400
Newsgroups gmane.comp.printing.cups.devel
Message-ID <[email protected]>
Andreas,

> On Sep 9, 2016, at 10:53 AM, Andreas Lobbes <[email protected]> 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