-
1. Re: Converting a dynamic xml form into a static pdf form... dynamically
pguerett Jun 21, 2010 12:31 PM (in response to past-tense)You cannot do this on the client side ...there is server based software that will do this (it is called flattening of the form). The product is called LiveCycle Ouput server.
Hope that helps
Paul
-
2. Re: Converting a dynamic xml form into a static pdf form... dynamically
past-tense Jun 21, 2010 1:58 PM (in response to pguerett)I've read up on this service, and I don't beleive that it is a viable solution (with repect to the costs). That being said, thank you for confirming my suspicions that this could not be done client-side. It looks like we will be changing our business procedures to fit with this limitation.
If someone else has faced a similar situation, I would be interested in hearing how you solved it. Aside from that, I consider this question quasi-answered.
Again, thanks for your time.
- Scott
-
3. Re: Converting a dynamic xml form into a static pdf form... dynamically
past-tense Sep 23, 2010 12:47 PM (in response to past-tense)Hello again,
I know that I'm making a minor lazarus post here, but I found a solution that we have adopted. I'm just posting it in the hopes of helping someone else in the future.
There is no way to dynamically flatten .pdf files, but you can make use of a third part tool to do so easily enough. All you need is a virtual printer (I used cutePDF Writer, and I've been happy wit it so far.) The virtual printer will 'print' the document to a new pdf. This new pdf has none of the code or functionality, is readonly and cannot be edited or refilled. It is 'flattened' in other words. You can even add a button with some javascript that prints to the virtual printer.
It's not as good a solution as using the adobe server-side products, but it works, and it's free.
Best of luck to you all.
- Scott
-
4. Re: Converting a dynamic xml form into a static pdf form... dynamically
oyvinref Jan 8, 2013 1:33 AM (in response to past-tense)Hi Scott,
I'm currious on how you got the form to print to a pdf using javascript? How did you write the script and can you rename and change the directory you wish to save the file? I'm trying to do something similar.



