[Tech] convertitori HTML 2 PDF

Francesco F franco@inpe.unipi.it
Lun 21 Giu 2004 16:21:59 CEST


At 16.08 21/06/04, you wrote:
>htmldoc 1.8.23 viene compilato e installato a dovere ma stranamente 
>lanciandolo esattamente come indicato negli esempi della documentazione:
>
>htmldoc --webpage -f prova.pdf file.htm       [enter]
>
>si rifiuta di eseguire alcunchè e mi propone l'help (come se avessi 
>scritto htmldoc --help)
>e sì che ho preso pari pari la documentazione !!
>
>lanciando invece
>
>htmldoc --webpage file.htm
>
>produce (su standardoutput) un altro file html !!  E sì che la 
>documentazione dice: ...a PDF file is sent to the standard output...
>
>Qualcuno usa HTMLDOC e riesce a darmi lumi?

/usr/bin/htmldoc -t pdf --size 'A4' --webpage 'pagina.html' -f 'file.pdf'

Personalmente lo utilizzo per generare report da PHP se la struttura 
dell'html è semplice, funziona tranquillamente. Ti consiglio di leggere nel 
manuale sui tag html supportati

[...] HTMLDOC does not support HTML 4.0 elements, attributes, stylesheets, 
or scripting.


         Francesco






Maggiori informazioni sulla lista flug-tech