Aaron,
I found the problem. Local files must be reference by the 'file:' protocol, instead of the 'http:' protocol. So, in order to transform a local HTML file, you'd need a reference such as 'file:/my_directory/my_file.html'. That seems to work.
There were no errors generated. And I don't see a parameter to specify additional logging. The command-line utility is documented at the following:
http://www.pd4ml.com/html-to-pdf-command-line-tool.htm
Although I found a solution to my immediate problem, I'd still be interested in hearing opinions or observations about generating PDF reports. On my part, this has been quite a lesson on running Java under IBM i. One of my problems early on was a result of running into some erroneous documentation at IBM Information Center 5.4 about selecting a Java version to run under. The document specified a process for selecting the 32 bit JVM, which I don't have installed, evidently. I'm testing under "Classic". And my server evidently hosts versions 1.3, 1.4, and 1.5.
-Nathan.
----- Original Message ----
From: Aaron Bartell <aaronbartell@xxxxxxxxx>
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Sent: Tue, May 11, 2010 12:45:20 PM
Subject: Re: [WEB400] Using pd4ml to transform HTML to PDF
When you run that from QShell does it output any errors?
Do you know if they have some sort of logger (i.e. log4j) that could be
turned on via a command parm?
Aaron Bartell
http://mowyourlawn.com
http://mowyourlawn.com/blog/
As an Amazon Associate we earn from qualifying purchases.