How to use CupsSetUser();
Michael Sweet
mike at easysw.com
Tue Dec 5 06:31:55 PST 2006
Andreas Nitsche wrote:
> Hello!
>
> I want to have a standard user for my cups server. Every printing job will be called with this user.
>
> I think I need this CupsSetUser() function, but don't know how and when to call it.
>
> My current user should be replaced with any other definable user.
You mean you want every job to be tagged as coming from a specific
username?
That's a function of the requesting-user-name attribute, which is
indirectly set using cupsSetUser() in the CUPS API. The command-line
programs (lp, lpstat, etc.) have a -U option for setting this
username as well.
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups
mailing list