GSoC project to add CPDB support to the LibreOffice print dialog

Biswadeep Purkayastha bpdps95 at hotmail.com
Wed Jul 3 10:37:11 UTC 2024


Monthly update: July 2024

Hello everyone,
Last month, I focused on rewriting older code to incorporate CPDB frontend API functions and fix the printing process. Now, printing with CPDB works seamlessly on the LibreOffice print dialog. During this process, I discovered that the printer names in the LibreOffice dialog are static and evaluated at startup, unlike CPDB, which periodically refreshes the printer list. Consequently, the print dialog had to handle situations where a printer might no longer be available even though it is still displayed. I implemented changes for dynamically updating the printer lists and to include appropriate error handling to address this issue of stale printers while using CPDB. Additionally, I modified the functionality of the "Print Directly" button in LibreOffice so that with CPDB it now prints to the default printer initially, rather than the first available printer as it did previously.

Regards,
Biswadeep


________________________________
From: LibreOffice on behalf of Michael Weghorn
Sent: Tuesday, May 7, 2024 12:57 PM
To: Biswadeep Purkayastha; libreoffice at lists.freedesktop.org
Subject: Re: GSoC project to add CPDB support to the LibreOffice print dialog

On 2024-05-06 19:22, Biswadeep Purkayastha wrote:> I am Biswadeep
Purkayastha, a GSoC 2024 contributor to OpenPrinting. In
> the upcoming months I'll be working on getting CPDB support into the
> LibreOffice print dialogs. I had previously reached out to the community
> asking for a mentor to help me from the LibreOffice side and I am happy
> to announce that Michael Weghorn will be mentoring me from the
> LibreOffice side on this project. I look forward to working on this
> project with my mentors and being a part of the open-source community.

Thanks for the update and welcome again!
I'm looking forward to working together and hope you'll have a great
GSoC experience!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20240703/f59b97ad/attachment.htm>


More information about the LibreOffice mailing list