× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.