Re: GSoC project to add CPDB support to the LibreOffice print dialog

2024-07-03 Thread Biswadeep Purkayastha
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@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!


Re: GSoC project to add CPDB support to the LibreOffice print dialog

2024-05-07 Thread Michael Weghorn
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!


OpenPGP_signature.asc
Description: OpenPGP digital signature


GSoC project to add CPDB support to the LibreOffice print dialog

2024-05-06 Thread Biswadeep Purkayastha
Hello,
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.

Regards,
Biswadeep

P.S.: Following is the link to my previous communications: 
https://lists.freedesktop.org/archives/libreoffice/2024-March/091748.html