pdfkit-invoice icon indicating copy to clipboard operation
pdfkit-invoice copied to clipboard

Many pages of items

Open joelsonrocha opened this issue 5 years ago • 9 comments

This code does not work if there are more items for a next page. Do you know how to solve this problem?

joelsonrocha avatar Nov 22 '19 21:11 joelsonrocha

This code does not work if there are more items for a next page. Do you know how to solve this problem?

having the same issue. Any solutions?

rahmanabir avatar Feb 18 '20 09:02 rahmanabir

I am also have same issue. More items for next page breaks.

sarojnp2003 avatar Feb 27 '20 15:02 sarojnp2003

same issue. were you guys able to find any workaround ?

usman154 avatar May 30 '20 18:05 usman154

same issue. were you guys able to find any workaround ?

No solutions as of yet. Table support PDFKit is close to none-existent. I've shifted to puppeteer, very bad performance but got my job done.

rahmanabir avatar May 30 '20 18:05 rahmanabir

if (this.position > 680) { doc.addPage(); this.position = 50; }

this might work if we keep track of position that is y

ghost avatar Mar 01 '21 11:03 ghost

having the same issue. Any solutions? Please do somethig @philipp-spiess

rahim3070 avatar Apr 07 '21 14:04 rahim3070

No solutions as of yet. Table support PDFKit is close to none-existent. I've shifted to puppeteer, very bad performance but got my job done.

Would you plz give us any demo code please ? @rahmanabir

rahim3070 avatar Apr 07 '21 14:04 rahim3070

A bit old but have you checked https://github.com/natancabral/pdfkit-table ?

QAnders avatar Dec 12 '21 15:12 QAnders

this worked for me. Check the answer on stackoverflow https://stackoverflow.com/questions/60757742/pdfkit-nodejs-one-element-per-page-from-page-2

davidtwin avatar Jun 26 '23 19:06 davidtwin