schoero / swissqrbill

Swiss QR Bill generation in Node.js and browsers
MIT License
156 stars 29 forks source link

Add an option to change the page format for QR slip when a second page is needed #337

Closed popod closed 3 years ago

popod commented 3 years ago

When we call the addQRBill() method, SwissQRBill will automatically add the QR slip to the bottom of the current page if there is enough space left, otherwise it will generate a new page in the size of A6/5.

It will be useful to add a parameter to addQRBill() to define the new generate page format with A4 for example.

schoero commented 3 years ago

v2.4.0 Adds an optional size parameter to addQRBill().

popod commented 3 years ago

Very nice ! Thank you :)