Subject: | duplicate attribute at line 10, column 109, byte 676 at /usr/lib/perl5/vendor_perl/5.8.6/i386-linux/XML/Parser.pm line 187 |
#perl html2pdf.pl
duplicate attribute at line 10, column 109, byte 676
at /usr/lib/perl5/vendor_perl/5.8.6/i386-linux/XML/Parser.pm line 187
Error when run PDF::FromHTML.
Thanks.
Oliver
Subject: | html2pdf.pl |
use PDF::FromHTML;
my $pdf = PDF::FromHTML->new( encoding => 'utf-8' );
$pdf->load_file('/sp3/sp/proves/HTML/10001674.html');
$pdf->convert;
#$pdf->convert(
# Font => '/sp3/sp/proves/fonts/SLKSCR.TTF',
# LineHeight => 10,
# Landscape => 1,
#);
$pdf->write_file('10001674.pdf');