in reply to Re: PDF File Merging Data
in thread PDF File Merging Data

the flier is mostly images, it is a professionally designed flier for our members to share a free giveaway website we built for them to build their organization.

So, if I had it done in HTML would that work? or does it have to be text? I have looked over the module you suggested, but I don't see an easy way to test it.

thx,
Richard

Replies are listed 'Best First'.
Re^3: PDF File Merging Data
by petecm99 (Pilgrim) on Dec 23, 2010 at 03:45 UTC
    Ahh, images. I don't see anything in pdf::create that allows for embedding images.

    In that case, you could try the module Rolf suggested (pdf::reuse), using the prText method to write to the existing template. But instead of replacing tags, set up the position of each dynamic data element in your Perl script (e.g. ~fullname~ has a position of {10,50}). Then, store/read the values for replacement separately. Doesn't have to be text - could get fancy and read them out of an Excel file, or database...