Closed popod closed 3 months ago
There is no option to change this, but you can use SwissQRBill.isSpaceSufficient
to calculate if there is sufficient space on the current page and add a page manually if necessary.
if (!SwissQRBill.isSpaceSufficient(pdf, 0, pdf.y)) {
pdf.addPage({ size: 'A4' });
}
Working example: stackblitz.com
Hi @schoero
Thank you for your fast reply ! This is perfect :)
I think that adding that to the full bill exemple could be great.
Hi,
When generating the complete qr bill with a long table, the QR slip is added to a new page. But the new page is not in A4 format.. How to add the QR slip in a new A4 page ?
Thank you