xpra icon
Bug tracker and wiki

Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#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 (5)

comment:1 Changed 7 months 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 7 months 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.

thanks

Eric.

comment:3 Changed 7 months 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 7 months 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,

Eric.

comment:5 Changed 7 months ago by Antoine Martin

Minor fixup in r14084

Note: See TracTickets for help on using tickets.