Hi, I am using the Printing library to generate a sales ticket/invoice in PDF format.
The problem is that the ticket can have an indeterminate length, from a single sales line to hundreds of sales lines.
The problem is that the user wants it to be emailed in PDF format and from what I have seen in the Printing library examples it is necessary to declare the page size.
How can I solve this issue?
Thank you very much.
The problem is that the ticket can have an indeterminate length, from a single sales line to hundreds of sales lines.
The problem is that the user wants it to be emailed in PDF format and from what I have seen in the Printing library examples it is necessary to declare the page size.
How can I solve this issue?
Thank you very much.