http://qs1969.pair.com?node_id=1023768

halweitz has asked for the wisdom of the Perl Monks concerning the following question:

How do I print a HTML document in wxHtmlWindow so that it fits inside my page borders? The document displays correctly in the HtmlWindow. But, when I invoke HtmlEasyPrinting the print is too large and only the left portion of the document prints. I want to either scale the output to fit the page (preferred)or reduce the default margins so that it fits. I am using the default fonts on both the HtmlWindow and HtmlEasyPrinting and on the page setup dialog. I have found no easy way to change the latter inside my Perl script.