http://www.perlmonks.org?node_id=143294


in reply to Browser Print Margin Control

Unless there's a browser that executes Perl from a HTML file that I just haven't heard about, this really doesn't look like a Perl question.

You might have better luck if you try coding this in JavaScript. I have no idea whether JavaScript can check or change a browser's printer settings, but at least the probability of that is higher than trying to do it at the server.