I need to send a request to CUPS server with the specific request-user parameter - remote_user instead of local_user. How should I set the local CUPS server?
According to the CUPS release notes, support for specifying a different username was added in CUPS 1.6b1:
The Ubuntu bug report below (I can't make it a link due to ServerFault limits) is another place to look for information and workarounds for pre-CUPS 1.6b1, although the workarounds are not very practical.
If you print using this command:
If you want to force a default option for all users, run this command as root:
[Note: some versions of CUPS seem to mix up 'job-originating-user-name' and 'requesting-user-name'. So you know if my suggestion doesn't work for you...]