-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.
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?
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.
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.
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,
Minor fixup in r14084
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1325