NAME

PDF::FromHTML - Convert HTML documents to PDF

VERSION

This document describes version 0.07 of PDF::FromHTML, released December 8, 2004.

SYNOPSIS

my $pdf = PDF::FromHTML->new( encoding => 'utf-8' );
$pdf->load_file('source.html');
$pdf->convert(
    Font => '/path/to/font.ttf',
    LineHeight => 10,
    Landscape => 1,
);
$pdf->write_file('target.pdf');

DESCRIPTION

This module transforms HTML into PDF, using an assortment of XML transformations implemented in PDF::FromHTML::Twig.

There is also a command-line utility, html2pdf.pl, that comes with this distribution.

More documentation is expected soon.

SEE ALSO

PDF::FromHTML::Twig, PDF::Template, XML::Twig.

AUTHORS

Autrijus Tang <autrijus@autrijus.org>

COPYRIGHT

Copyright 2004 by Autrijus Tang <autrijus@autrijus.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html