xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 5 years ago

Closed 5 years ago

Last modified 6 months ago

#1325 closed enhancement (fixed)

Options for printers configured by XPRA should be accessible

Priority: major Milestone: 1.0
Component: printing Version: trunk
Keywords: Cc:



-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.



Change History (6)

comment:1 Changed 5 years ago by Antoine Martin

Owner: changed from Antoine Martin to ERIC GRAMMATICO
  • "-o" is only used to set printer-is-shared=false
  • "-u" is used to restrict the printer to the user running the server

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?

comment:2 Changed 5 years ago by 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.



comment:3 Changed 5 years ago by 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.

comment:4 Changed 5 years ago by ERIC GRAMMATICO

Resolution: fixed
Status: newclosed

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,


comment:5 Changed 5 years ago by Antoine Martin

Minor fixup in r14084

comment:6 Changed 6 months ago by migration script

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

Note: See TracTickets for help on using tickets.