PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: pd4browser.properties
   PostPosted: 17 Dec 2009, 16:38 
hello,

i have a little problem with the pdf generation.

I use the demo of pd4ml and i try to store the opening parameters (from adobe) in the pdf: http://www.adobe.com/devnet/acrobat/pdf ... meters.pdf

So i just added the parameter in the pd4browser.properties:

viewer.executeble=acroread.exe
viewer.params="page=3"

the parameter means, that the reader open the third page. but it doesn't work. i tried a few things more like viewer.params=page/=3.

i can't find some documentation about this file on the website.


And pd4ml set the page format always to A4. the only thing i just can edit are the insets and the document informations.

i use the following php code to generate the pdf:

<?php
passthru('java -jar pd4ml_demo.jar http://sample.com/templates/letter.php test.pdf');
?>

can anybody help me?

Greetings from Germany!


  Subject: Re: pd4browser.properties
   PostPosted: 31 May 2010, 11:22 
1. Actually viewer.params is intended to make possible to open generated PDFs by exotic PDF viewers (if any). Let's say the viewer requires to put an extra switch before PDF name:

myexoticpdfreader.exe -input output.pdf

In the case you would need to define

viewer.params=-input

in pd4browser.properties. If you want to use the property to pass PDF open parameters, you need to specify them fully:

viewer.params=/A "page=3=OpenActions"

(the above makes sense only in offline scenarios!)


2. You may define desired page format in pd4browser.properties

page.format=LETTER

but why don't you use Pd4Php for that?

http://pd4ml.com/php.htm

In the case you may pass the open parameter (from your first question) like that:

http://myserver.de/mypdfgenerating.php#page=3


Last bumped by Anonymous on 31 May 2010, 11:22.



[Reply]     [ 2 posts ] 

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