Hi Bubblers,
For those of you who have print-intensive features in your apps, what plugin or method are you currently using?
Within my knowledge, there are plugins like the famous PDF Conjurer by @vini_brito and some other plugins that enable you to print specific groups or pages like Zeroqode’s Page to PDF converter
We’re aiming to print 2 things:
- A PDF with a structured dynamic table that could reach hundreds of rows. This will be for business inventory purposes (Any bond paper size will do)
- Long receipts without page breaks - similar to the receipts we get when we buy groceries. (A thermal paper will be used)
We’ve tried zeroqode’s page to PDF converter but it doesn’t fit our use case with the page breaks and all. Furthermore, we also had issues with the scaling.
We haven’t tried the PDF conjurer plugin yet but I assume it won’t fit our use case, especially if we were to keep workload units in mind since if we were to initiate the PDF creation workflow using the plugin, it would need to search for the data in the DB and perform calculations in each row.
Also, if you were to create a table in the plugin’s actions, you would also need to search for the data type’s field in every column - further incurring us workload units.
We fear that it might timeout since there have been a lot of cases where the PDF conjurer timed out due to the immense data being queried or calculations being performed.
We could, however, probably get away with the query part if we were to load the data in a repeating group first, but there’s till the calculation issue - how would we be sure that the plugin won’t time out?
As for the second print structure (receipt), the plugins or even word has a max size for the document. How should we go about printing something that doesn’t have a page break and could extend infinitely?
I just saw this forum topic and it’s pretty interesting.
It converts HTML to PDF. I could see this working for our first use case (dynamic tables) but not the receipt use case since MS Word has a limited length size for the documents.
Would greatly appreciate if someone could point us to the right direction