PDF::FromHTML 0.12 review
Download
|
|
PDF::FromHTML is a Perl module to convert HTML documents to PDF.
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');
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.
Requirements:
Perl
PDF::FromHTML 0.12 keywords