in reply to Possible to print a formatted HTML page?
That's easy. You only have to add the following to your HTML output:
<script type="text/javascript"> window.print(); </script>
Put it wherever on the page, maybe at the bottom before the </body> tag.
Not really Perl, though. I'm surprised you didn't find this while searching -- maybe you used the wrong keywords?
~Thomas~
"Excuse me for butting in, but I'm interrupt-driven..."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Possible to print a formatted HTML page?
by wildbill001 (Initiate) on Aug 05, 2013 at 16:38 UTC |