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


in reply to Using script to print out a html file

It is in general a quite hard task to render HTML like "your" browser, as many browsers have quite different opinions on how to "correctly" render HTML. There are modules that do this for Perl, like HTML::Format, that can produce Postscript or ASCII text from HTML source, but if you want something in the quality of IE 5, supporting frames etc., you have to use IE 5 to print it.

In general, Perl is the wrong hammer for this nail.

  • Comment on Re: Using script to print out a html file

Replies are listed 'Best First'.