[KLUG Programming] HTMLDOC pdf dynamic scripting
bill
programming@kalamazoolinux.org
Wed, 27 Aug 2003 09:27:24 -0400
Hello Patrick,
If you can get htmldoc to work from the command line it should be possible to create a web
form and run it.
The pdf-o-matic page below has a link to the source code. Did you try that?
Otherwise, post your code and the line number of the error, the "T_STRING" error is usually
something simple with an array.
kind regards,
bill
Patrick McGovern wrote:
> Does anyone have any perl or php scripts that will create htmldoc pdf files dynamically?
>
> I can easily use htmldoc to create pdf's from the command line. I need to use an html
> page to allow the user to create a pdf file of a directory of files or a single html file.
> The html page would pass a "get" request via a form method to the perl or php script.
> I want to send the perl or php script the directory name of html files (documents/*)
> or just the html file name (document.html).
>
> So what I need is the html form code that will pass the dir/file name and the perl or
> php code that will create the pdf and send it to the browser. I can't get the php
> example to work, I get a php parse error "T_STRING". The perl examples may
> work if I can get the cgi and html form syntax correct. The following are some
> links to some script examples:
>
> http://www.wdvl.com/Authoring/Languages/Perl/PerlfortheWeb/enter_perl.html
>
> http://www.easysw.com/htmldoc/pdf-o-matic.php
>
> http://www.easysw.com/htmldoc/pdf-o-matic.php?source
>
> http://www.easysw.com/htmldoc/htmldoc.html
>
> -----------------------------------------------
> Patrick Mc Govern
> Gordon Food Service
> IS SCM Developer
> 616-717-7733
> pmcgover@gfs.com
>
> _______________________________________________
> Programming mailing list
> Programming@kalamazoolinux.org
> http://www.kalamazoolinux.org/mailman/listinfo/programming