[pmwiki-users] GeneratePDF recipe - where to install htmldoc ?

Patrick R. Michaud pmichaud at pobox.com
Mon Sep 11 08:11:07 CDT 2006

On Mon, Sep 11, 2006 at 11:07:38AM +0200, OBUTEX / Hladůvka wrote:
> I just downloaded the recipe and installed to my standalone PmWiki.
> When tested I received Adobe Reader message : File does not begin with 
> '%PDF-'
> This is a part of my local/config.php :
> #=J= GeneratePdf
> #    $HtmlToPdfCmd = '/path/to/htmldoc -t pdf --quiet --webpage';
>    $HtmlToPdfCmd = 'C:\Program Files\HTMLDOC\htmldoc.exe -t pdf --quiet 
> --webpage';
>    include_once('cookbook/generatepdf.php');
> My standalone PmWiki system is in D:\JHLwiki
> Shouldn't be the htmldoc installed in the folder where pmwiki.php 
> resides? Or in /pub folder ?

It really shouldn't matter where htmldoc.exe is installed, but I'm
not very familiar with the windows version.  If I get a chance later
today I'll try installing it on my windows environment and see 
if I can figure things out from there.

> There are 2 executable files in HTMLDOC : htmldoc.exe and ghtmldoc.exe
> Which to use? (suppose htmldoc.exe)

Yes, htmldoc.exe is the one to use.


More information about the pmwiki-users mailing list