Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many pages of items #1

Open
joelsonrocha opened this issue Nov 22, 2019 · 9 comments
Open

Many pages of items #1

joelsonrocha opened this issue Nov 22, 2019 · 9 comments

Comments

@joelsonrocha
Copy link

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

@rahmanabir
Copy link

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?

@sarojnp2003
Copy link

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

@usman154
Copy link

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

@rahmanabir
Copy link

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.

@ghost
Copy link

ghost commented Mar 1, 2021

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

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

@rahim3070
Copy link

rahim3070 commented Apr 7, 2021

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

@rahim3070
Copy link

rahim3070 commented Apr 7, 2021

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

@QAnders
Copy link

QAnders commented Dec 12, 2021

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

@davidtwin
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants