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..."
In reply to Re: Possible to print a formatted HTML page?
by thomas895
in thread Possible to print a formatted HTML page?
by wildbill001
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |