Hi All,

I have an urgent need to work out feasibility of some Perl code to manipulate PDF files.

The requirement is to process a number of individual PDF files, add a cover page to each one with a name and address on it, then concatenate all these individal files together into one multi-document PDF.

I know there are a number of Perl modules available for working with PDFs but my success at using them in the past has been mixed. (Maybe not helped by me not having much of an understanding of the inner workings of PDF files).

I would appreciate any recommendations people could share on *which* of the available Perl modules for PDFs would best suit what I need to achieve. For example I see that CAM:PDF has a function to ADD a page, but it does not look like it can be used to INSERT a page (at the start of the document).

I'm not looking for someone to hand me the whole solution on a plate, just some advice on which would be the best tool to investigate since I don't have time to follow dead ends.

Thanks in anticipation,

Acka.au


In reply to Perl & PDF Manipulation by acka.au

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, details, 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, summary, 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.