- Teegala Rajesh
- PowerBuilder
- Wednesday, 18 October 2023 11:56 AM UTC
Hi All,
We have more than 200 psr files and need to generate pdf based out of them using datastore, Along with this we have a scenario where we need to merge 2 psr’s for each pdf (i.e. 100 pdf files to be created out of 200 psr’s).
we are storing these psr files in datastores. Previously we used Print function using ‘Amyuni PDF convertor’ to print pdf documents,as we have merge and save features available in PB now, we wanted to remove the dependency of external printer but this is causing a performance degradation.
Old implementation: ds_merge.Print (False, False)(i.e. ds_merge is Datastore)
New implementation: ds_print.save(“D:\save_3A.pdf”) (i.e. ds_print is PDFDocument)
We also tried the multi-threading to implement, it did not give us proper result.
Below are the links we tried:
A Multi-Threaded Data Retrieval Example - Appeon Community
Is there any possibility for processing this files in parallelly, so this can help us in increasing the performance.
Please suggest the best approach on this.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.