CSOIreland / PDF-API

An API Web Application based to convert HTML to PDF based on the Open-Source Selenium engine
MIT License
0 stars 1 forks source link

All Pages not shown for Merge (JSONRPC)PDFapi.Data.Convert_API.Update #8

Open JohnPCarroll opened 2 years ago

JohnPCarroll commented 2 years ago

The is data missing from the end of each page

downloaddatamergepages.pdf

damiancosmoschapman commented 2 years ago

It looks like the pageRanges field is set to 1 here rather than an empty string(see https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-printToPDF) When the printRanges field is set to the empty string it means print all pages. Can you please re-test with the pageRanges field set to the empty string and let me know if the issue is still happening.

JohnPCarroll commented 2 years ago

Unable to create a pdf when I set pageRanges to empty. image

damiancosmoschapman commented 2 years ago

My apologies. I think this was caused by my redeploying the application a few times this morning. I have tested this use case now and it worked with no issues. Can you please retry this test again and let me know if you find any further issues?