Sonia Hamilton wrote:
I (well my boss actually) want to convert several hundred html pages to
pdf - what's the easiest way to do this? Any pointers, ideas?

I guess I'm looking for a tool like pdf2html (but going in the reverse
direction).

I've found a php module called html2pdf [1] - just wondering if there's
a stand alone tool callable from the shell.

[1] http://directory.fsf.org/print/misc/html2pdf.html

Well it depends on how well formed the HTML is. If its crap it could be hard to create neat, good looking PDF. Here are possibilities:

1. If its got few tags and is very neat maybe use sed/bash scripting to convert 
it to
latex and run pdflatex on it. This is easily scriptable to do several hundred 
files.

2. Script Open Office. OpenOffice can take in HTML and produce PDF.

Mike
--
Michael Lake
Computational Research Support Unit
Science Faculty, UTS
Ph: 9514 2238



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to