Number of pages printed with window.print()

Asked

Viewed 431 times

3

The report I am working on contains tables and graphs, which on the screen are being displayed normally. But when printing the report with the function window.print(), the report is not being presented in full, the generated pdf is cutting the content after the fifth page.

Can anyone tell me if there is any limitation as to the amount of printed pages?

  • 3

    I think the problem is not Javascript, since printing has more to do with HTML (the code may appear correctly in the browser but the print window appears wrong) or with the print setting (paper size, sheet orientation, margins etc). It would be interesting, for better analysis, to post in the question a print of how it appears correct and how.

  • 1

    There is no limit to printed page. It is important to adapt your style with media @print so that it is printed correctly. What is the way you use to generate PDF?

  • I managed to solve by printing the contents in landscape format.

  • If you can post a short reply and then mark it as a "right answer", it would be very good to avoid your question being "abandoned" as "unanswered" and also to help other people who might have similar problems. Abs!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.