PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: display current date every time the PDF is opened
   PostPosted: 20 Jan 2012, 11:44 
Hi ,
I have a requirement to generate pdf files daily and to display dynamically with the current date every time the PDF is opened. I want to embed javascript in the pdf which displays the current date whenever customer opens the pdf file . Is there any way to do this at the pdf creation time ( similar to permissions)? please let me know how can we accompalish this.

Thanks


  Subject: Re: display current date every time the PDF is opened
   PostPosted: 24 Jan 2012, 13:50 
Currently the feature is not supported.

We'll investigate today if PD4ML architecture would allow to embed JavaScript to generated PDFs in principle.


  Subject: Re: display current date every time the PDF is opened
   PostPosted: 26 Jan 2012, 15:48 
We successfully prototyped the feature and were able to auto-insert the date info into a form field. Unfortunately we did not enabled the feature in the just-released v380fx2, as there was not enough time to extensively test it. It is going to be available with the next beta-release of PD4ML.

FYI: we achieved that with
this.getField("i1").value = new Date().toDateString()

JavaScript code, assigned to OpenAction of PDF.

The source HTML document supposed to define:
<input name=i1 type=text style="border: none">


PD4ML must explicitly enable PDF form output:
pd4ml.generatePdfForms(true, null);


  Subject: Re: display current date every time the PDF is opened
   PostPosted: 27 Jan 2012, 11:07 
thanks for the response.

So When can we excpect this new beta-release of PD4ML? Also please let me know how can we assign javascript to OpenAction of pdf programatically.

thanks.


  Subject: Re: display current date every time the PDF is opened
   PostPosted: 27 Jan 2012, 15:27 
Currently the method signature is like that:
public void addDocumentActionHandler( String actionType, String javaScript );
We'll see during the testing if any extra parameters are needed.

We could send you a development version to test closer to the end of the next week.


  Subject: Re: display current date every time the PDF is opened
   PostPosted: 06 Feb 2012, 14:31 
I couldn't see any beta-release last week of pd4ml which incorporates adding javascript to pdf. If you can provide by this week it will be helpful.

Thanks,


  Subject: Re: display current date every time the PDF is opened
   PostPosted: 06 Feb 2012, 18:03 
Most probably it will be available for download tomorrow or day after tomorrow.

If you want to test the actual development build right now - please send a request to support pd4ml com


  Subject: Re: display current date every time the PDF is opened
   PostPosted: 14 Feb 2012, 15:54 
I have recieved development version and it's working fine as per my requirement. Thanks a lot for the support.
Please let me know when can i expect the next beta release with this functionality so that i can find a workaround( till next beta release).


  Subject: Re: display current date every time the PDF is opened
   PostPosted: 14 Feb 2012, 19:09 
It is going to be released this week.


  Subject: Re: display current date every time the PDF is opened
   PostPosted: 22 Feb 2012, 17:46 
Can we expect new beta release by this week? It would be of great help if you can release by this week.
Thanks,



[Reply]     [ 16 posts ]  Go to page 1, 2  Next

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