You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to print a report which has many pages, 70 at least I think. But when generating the pdf, it just renders nothing and the console doesn't show the "Completed Ok" message or any other message at all. If I open to the temporary file that appears on the console prior to generating the pdf, the content's ok but the page where it's suppose to show the pdf stays blank.
What I'm aiming to is to show all events per day in a week associated to employees between a range of dates, in this case, 1 whole month. If I select just one week, it works fine. It will print 14 pages and that's the max amount of pages I've ever gotten in this application.
Has anyone else experienced this? Does the gem have an issue for printing that many pages?
Rails version: 5.0.3
Ruby version: 2.5.0
Thank you very much.
The text was updated successfully, but these errors were encountered:
@Malvov were you able to fix this issue? we are currently facing a similar where the PDF generated has 15-20 + pages.
Randomly the PDF is generated with blank pages and just a header and footer.
No actual content
Is the PDF content rendered with Javascript, like it might not render anything if React/Ember/Angular don't load? You might be "sometimes" running into a timeout for waiting on JS to render the page, at which point wkhtmltopdf gives up and prints the page as it looks at that point in time, which might be a blank page. You can try experimenting with adding an option like javascript-delay: 50000.
Hi guys.
I'm trying to print a report which has many pages, 70 at least I think. But when generating the pdf, it just renders nothing and the console doesn't show the "Completed Ok" message or any other message at all. If I open to the temporary file that appears on the console prior to generating the pdf, the content's ok but the page where it's suppose to show the pdf stays blank.
What I'm aiming to is to show all events per day in a week associated to employees between a range of dates, in this case, 1 whole month. If I select just one week, it works fine. It will print 14 pages and that's the max amount of pages I've ever gotten in this application.
Has anyone else experienced this? Does the gem have an issue for printing that many pages?
Rails version: 5.0.3
Ruby version: 2.5.0
Thank you very much.
The text was updated successfully, but these errors were encountered: