[ic] Tag [create-pdf]

Stefan Hornburg racke at linuxia.de
Fri Mar 18 14:36:16 EST 2005

On Fri, 18 Mar 2005 17:38:29 +0100
"Marco Mescoli" <m.mescoli at omnibit.nu> wrote:

> I see Mike note to create pdf via global UserTag [create-pdf].
> Good. htmldoc installed and I follow his instructions at
> http://www.jsw4.net/info/list-archives/interchange/04-07/msg00329.html
> My problem:
> http://server/cgi-bin/foundation/a.html?pdf=1
> No output in foundation/tmp/[data session id].pdf
> No log messages in foundation/error.log
> I test directly at the command prompt the:
> system $cmd created by [create-pdf] tag with my input file test.html and it
> produces correctly output test.pdf.
> No rights problems on tmp dir ...
> It seems that the usertag have not the input file.
> Can you explain this behavior ?

Try the usertag with an absolute path for the htmldoc binary and capture
the return values of system:

my $ret = system $cmd;
::logError("Return value is $ret");


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the interchange-users mailing list