[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printing perldocs



On Tue, Feb 11, 2003 at 10:30:40AM -0600, Danny Sauer wrote:
> Now that I think about it, though, it seems 
> like it'd be relatively easy to set up something that'd render HTML 
> before sending it on to the printer.

HTML::FormatPS(3)     User Contributed Perl Documentation    HTML::FormatPS(3)

NAME
       HTML::FormatPS - Format HTML as postscript

SYNOPSIS
         require HTML::TreeBuilder;
         $tree = HTML::TreeBuilder->new->parse_file("test.html");

         require HTML::FormatPS;
         $formatter = new HTML::FormatPS
                          FontFamily => 'Helvetica',
                          PaperSize  => 'Letter';
         print $formatter->format($tree);

Implementing a simple html2ps is left as an exercise for the reader.

You will get better output with the man pages though.  (I assume you
caught my last post?)

Steve
-- 
steve@silug.org           | Southern Illinois Linux Users Group
(618)398-7360             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.