Xpra: Ticket #1325: Options for printers configured by XPRA should be accessible

Hello,

-o -u lpadmin parameters are hardcoded in pycups_printing.py. It should be possible to setup any accepted values through /etc/xpra/conf.d/16_printing.conf.

Thanks,

Eric.



Thu, 29 Sep 2016 14:15:27 GMT - Antoine Martin: owner changed

I would rather avoid having to mix command line parsing from config options and the dynamic options which we have to generate. What are you trying to change and to what value? For what purpose?


Thu, 29 Sep 2016 19:25:33 GMT - ERIC GRAMMATICO:

The Xapp is not running on the same host and having the option to set printer-is-shared=true would give me a help to setup printing.

thanks

Eric.


Fri, 30 Sep 2016 04:00:12 GMT - Antoine Martin:

Done in r13918, you can edit most of the lpadmin add options in browser/xpra/trunk/src/etc/xpra/conf.d/16_printing.conf.in

Please close if that works for you.


Mon, 03 Oct 2016 12:23:46 GMT - ERIC GRAMMATICO: status changed; resolution set

Hi there,

I made a test with the following parameters in 16_printing.conf:

add-printer-options = -E
add-printer-options = -o printer-is-shared=true
add-printer-options = -u allow:eric

Those parameters are well given to cupsd, and cupsd have written the following parameters in printers.conf for the corresponding printers:

...
Shared Yes
...
AllowUser eric

Considered as fixed.

Thanks and best regards,

Eric.


Sun, 09 Oct 2016 14:09:25 GMT - Antoine Martin:

Minor fixup in r14084


Sat, 23 Jan 2021 05:21:10 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1325