Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
There's an article on ibm.com that discusses customizing pdf's via a middle ASCII postcript step and includes a small Perl application in the example. It's here at "Personalizing PDF files".

It's a fairly plain language description of the process. It's a shame there's no simple CPAN solution for filling in fields in a pre-existing pdf form and outputting the new file. Maybe I missed it, but I can't find one either. Maybe someone could concoct one that hid the PS middle step </hint>. :)

Also, Adobe has their FDF (File Document Format) which, as I understand it, is a text file format (constructed via CGI from some source, ie. html form) that can be served to a browser (which has Acrobat Reader installed), and the Reader will automatically retrieve and serve the applicable PDF form with the fields properly incorporated.

There's quite a bit of discussion (Google Groups)about using FDF via CGI indicating that several people have trouble understanding how to do it, but it certainly looks do-able. I haven't had occasion to do this, but it looks interesting so far.

HTH


In reply to Re: using perl to build documents off of pdf templates by tjh
in thread using perl to build documents off of pdf templates by nmerriweather

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (3)
    As of 2019-09-15 06:16 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      The room is dark, and your next move is ...












      Results (178 votes). Check out past polls.

      Notices?