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

Blank Pages being inserted in large PDFs #44

Closed
CaseyLemieux opened this issue Aug 14, 2021 · 1 comment
Closed

Blank Pages being inserted in large PDFs #44

CaseyLemieux opened this issue Aug 14, 2021 · 1 comment

Comments

@CaseyLemieux
Copy link

WkHtmlToPdf-DotNet seems to be inserting blank pages into pdfs being converted to byte arrays if its used consecutively. I don't know if this is an issue with the converter or something else. I am generating student ids in pdfs from html templates and CSS. If I generate them individually it works correctly and is formatted right. However if I generate a large number of them it starts inserting blank pages between the front and back of the ids that print fine when doing them individually. I tried limiting the to 25 students thus 50 page pdfs which makes the first 50 print correctly but after that it starts inserting blank pages. Maybe an issue with calling the converter back to back? Any help would be appreciated.

@HakanL
Copy link
Owner

HakanL commented Sep 16, 2021

Try to use the native library directly and see if you can reproduce the problem. Not likely an issue with this .NET Wrapper.

@HakanL HakanL closed this as completed Sep 16, 2021
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

2 participants