PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: pd4browser.properties file settings not working
   PostPosted: 03 Feb 2010, 21:49 
Hi,

I am using the java version of pd4ml pro with command line execution on unix.

I have modified to pd4browser.properties file for page fomat LETTER.
..
page.format=LETTER

But it seems not considered for conversion - the pdf ouput is still in A4.

Could it be a path issue? The properties file is in the same directory as the pd4ml.jar file. Input Html file and the calling Perl script are in different directories.

Thanks!


  Subject: Re: pd4browser.properties file settings not working
   PostPosted: 04 Feb 2010, 17:49 
First try to make sure it is not the config file path issue. You may define an explicit config file location with "-config filename.properties" parameter.

Example:
java -jar pd4ml.jar -config /path/filename.properties file:/path/template.htm /path/out.pdf



[Reply]     [ 2 posts ] 

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share