![]() Given that this is strictly internal and that you'll be printing the PDFs, the licensing isn't much of an issue. Older versions were available under the MPL. AGPL is just as "viral" as the regular GPL. With AGPL, anyone with access to your OUTPUT must have access to the source of your application. iText is licensed under the AGPL (or commercially). I do this with iText (the Java basis of iTextSharp), though there are quite a few libraries available in various languages. ![]() If that's not the case.Ģ) Generate your PDF forms programmatically. Using FDF presumes you have the PDF forms already made, just waiting to be filled out. All you'd need to do would be to generate the appropriate FDF files, which is mostly trivial string building. You could just open/print them in the correct order.Īs I recall, Acrobat Pro's batch commands can import FDF data and print. Of course if you can control the order in which things are printed, you needn't merge the forms at all. then you're not really merging PDF forms any more. There are a couple approaches, the easiest of them being to "flatten" the fields so they are just page contents (line art & text). The aforementioned iText (and several others) can do this programmatically, other apps have command lines.Īny page that might need to be repeated should be it's own form in this environment. There are a number of mail-merge-esque products floating around that can take in an FDF and PDF and produce a filled PDF form. "/F" is the path to the form to be filled. "/V" indicates a field value, "/T" is a field's title. ![]() Here's a sample (with extra whitespace to make it more readable): %FDF-1.2 Opening the FDF fills the PDF (via a file association with acrobat/reader). FDF files are fairly trivial to generate, and contain a pile of field/value pairs (and can hold list options, and other fancier stuff you won't need) and a file association. And that's a terrible spec document, it only covers a small (infrequently used, complicated) part of the FDF format. ![]()
0 Comments
Leave a Reply. |