#1325 closed enhancement (fixed)
Options for printers configured by XPRA should be accessible
Reported by: | ERIC GRAMMATICO | Owned by: | ERIC GRAMMATICO |
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | printing | Version: | trunk |
Keywords: | Cc: |
Description
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.
Change History (6)
comment:1 Changed 5 years ago by
Owner: | changed from Antoine Martin to ERIC GRAMMATICO |
---|
comment:2 Changed 5 years ago by
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.
comment:3 Changed 5 years ago by
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.
comment:4 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
comment:6 Changed 3 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1325
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?