[geeks] I need an HTML to PDF converter

Phil Stracchino phil.stracchino at speakeasy.net
Tue Feb 21 18:10:34 CST 2006


Patrick Giagnocavo 717-201-3366 wrote:
> On Tue, 2006-02-21 at 17:48, Sheldon T. Hall wrote:
> 
>>Folks-
>>
>>I need a converter that will take HTML and spit out PDF files, do it from
>>the UNIX command line, as a batch process.  There will be hundreds of files
>>to convert per day, so it needs to be amenable to running from a shell
>>script without any user intervention.
>>
>>I don't care if it's a PERL/Python/whatever script, C source, or whatever.
>>I would need source and some sort of license.  Client is a non-profit mental
>>health organization.
>>
>>Googling turned up lots of Windows printer drivers and such, but nothing
>>obviously suited to this task.
>>
>>Does anyone have an suggestions ... anatomically possible ones, that is?
> 
> 
> There is a for-pay, and a free version (FOSS) of HTMLDOC:
> 
> http://www.htmldoc.org/
> 
> There is also html2ps , which you would then pipe through ps2pdf or some other PS --> PDF converter:
> 
> http://user.it.uu.se/~jan/html2ps.html
> 
> html2ps appears to be more configurable, and URLs are made clickable inside the PDF that is generated.


You can then pipe the output of html2ps to ps2pdf, which is also free.


-- 
 Phil Stracchino       phil.stracchino at speakeasy.net
    Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037         Landline: 603-886-3518



More information about the geeks mailing list