Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Setting page margin on printed classic report

mtMay 15 2022

I'm using apex build 21.2.5. For printing a classic report, I have found 2 solutions, each with a different problem.
Solution 1 is to use this tutorial; SOTFUL - Blog - Sandro Ferreira. I open the report in a modal and use a print button with javascript. The good part is that I can use the print settings interface to adjust the size of the contents to fit nicely on the page. The bad part is that, one we look at the pdf, it's ugly and pixelated (altho it prints fine).
Solution 2 is to use the out-of-the-box printing options from apex. The pdf is not pixelated, but I don't seem to have an control over the margins (I'd like them to be narrower)
Is there code I can add for Solution 2, to control the margins?
Thank you
mt in NY (unable to change my profile name, yes it's been reported)

Comments
Post Details
Added on May 15 2022
4 comments
453 views