Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-28 Thread Michael Weghorn
On 2024-03-28 11:23, Biswadeep Purkayastha wrote: >@Biswadeep: As you're implementing the feature, could you please keep in >mind to add this to the release notes once it's been integrated? >(Depending on when it gets merged, this would likely be either for >LibreOffice 24.8 or 25.2). Sure,

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-28 Thread Biswadeep Purkayastha
From: Michael Weghorn Sent: Thursday, March 28, 2024 11:41 AM To: Till Kamppeter; Biswadeep Purkayastha; libreoffice@lists.freedesktop.org Subject: Re: Adding support for the Common Print Dialog Backends (CPDB) >@Biswadeep: As you're implementing the feature, could you please keep in

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-27 Thread Michael Weghorn
On 2024-03-27 19:33, Till Kamppeter wrote: Would be good to tell them that for CUPS 3.x use of CPDB is required. For CUPS 2.x the direct CUPS interface can be used and CPDB also works with CUPS 2.x (CPDB works with any CUPS). Once CPDB support has been implemented, that can be added to the r

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-27 Thread Till Kamppeter
On 27/03/2024 18:11, Michael Weghorn wrote: Good, then I currently see no blocker for requiring CPDB for CUPS 3.x support. Distros will then become aware once they're packaging any software depending on CPDB at latest. Would be good to tell them that for CUPS 3.x use of CPDB is required. Fo

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-27 Thread Michael Weghorn
On 2024-03-27 17:40, Till Kamppeter wrote: On 27/03/2024 16:22, Michael Weghorn wrote: Are you aware of any specific reasons why distros would prefer direct use of CUPS API over CPDB other than the usual packaging efforts needed for any new library? No. It could only happen that some dis

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-27 Thread Till Kamppeter
On 27/03/2024 16:22, Michael Weghorn wrote: Are you aware of any specific reasons why distros would prefer direct use of CUPS API over CPDB other than the usual packaging efforts needed for any new library? No. It could only happen that some distros are perhaps not aware of CPDB and ther

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-27 Thread Michael Weghorn
On 2024-03-27 15:26, Till Kamppeter wrote: Also, if we would clean up and update the current CUPS/PPD interface, some distros will not go CPDB and users complain when CUPS has another significant change or if a clod printing service with their CPDB backend shows up. Are you aware of any speci

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-27 Thread Till Kamppeter
On 27/03/2024 12:55, Michael Weghorn wrote: For CUPS 3.x support, my initial thought was that requiring the CPDB-based implementation for that could be a way forward, while leaving LO's internal CUPS/PPD implementation basically unchanged and around for compatibility reasons (for CUPS 2.x set

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-27 Thread Michael Weghorn
On 2024-03-27 11:27, Till Kamppeter wrote: Michael, Biswadeep will take care of the CPDB interface, but the CUPS/PPD interface also needs attention, as if it is not done correctly, it will cease to work if CUPS 3.x is used (also if the CUPS Snap or any other containerized form of CUPS is used).

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-27 Thread Till Kamppeter
On 27/03/2024 08:34, Michael Weghorn wrote: Thanks for the detailed description. Since printing is a critical feature for many users and the current CUPS/PPD API implementation has been used successfully for quite a long time now, I wouldn't feel comfortable unconditionally replacing it with

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-27 Thread Michael Weghorn
On 2024-03-26 18:26, Till Kamppeter wrote: This is no problem to keep it optional, so that the packager/admin/user can choose, at least at build time, perhaps even at run time. Great. But note that PPD files and classic CUPS drivers are deprecated. CUPS 3.x, getting completeky released near t

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-27 Thread Heiko Tietze
On 26.03.24 6:26 PM, Till Kamppeter wrote: This requires changes on the print dialog: - List IPP print destinations, independent whether there is a CUPS queue for them or not (if not, CUPS would create a temporary queue) - Obtain printer capabilities and options via IPP, do not try to download

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-26 Thread Till Kamppeter
On 26/03/2024 15:22, Michael Weghorn wrote: Do I understand correctly that the idea is that the new CPDB-based approach would remain optional (for now at least), i.e. replace the previous CPDB implementation and co-exist with the existing code directly using CUPS/PPD API, rather than making i

Re: Adding support for the Common Print Dialog Backends (CPDB)

2024-03-26 Thread Michael Weghorn
Hi Biswadeep, On 2024-03-24 14:24, Biswadeep Purkayastha wrote: Hello, I am Biswadeep Purkayastha, a contributor to OpenPrinting. I am reaching out to the community with a request for assistance in integrating CPDB (Common Print Dialog Backends) support into the current LibreOffice print dialo

Adding support for the Common Print Dialog Backends (CPDB)

2024-03-24 Thread Biswadeep Purkayastha
Hello, I am Biswadeep Purkayastha, a contributor to OpenPrinting. I am reaching out to the community with a request for assistance in integrating CPDB (Common Print Dialog Backends) support into the current LibreOffice print dialog. CPDB has evolved a lot since the last time an attempt was made