PDF Include & embedded tags

JamesBowen

19+ years progress programming and still learning.
Hi.

I've be using the PDF Include tool to generate reports and static content letters. Now my company want to do bulk mail merges creating PDF documents.

However the letters are stored in the database and the operators/mangers want to have simple formating TAGS/MARKUP in the the letters i.e. BOLD CENTER UNDERLINE TAB etc.

So how can I parse the contents of the letter (stored on the DB) to generate the PDF document.

I have tried using the PDF merger feature, using "Adobe Acrobat Professional" overlaying member details, but they did not like this because the forms fields where of a fix length. The the form fields needed to be inserted into the middle of a paragraph with variable lengths.
 
Since no one has taken the time to answer my question. I have written my own tag/scripting syntax.

The main feature that was needed was to produce system generated letter with full page justification of paragraphs. Also to have automatic search and replace functionality i.e. [MeberNumber] becomes 00034302, or [MemberName] becomes Mr Test User.

Example would be:

Dear [BOLDON][MemberName][BOLDOFF]
As a value member [BOLDON]([MeberNumber])[
BOLDOFF] blah blah blah.

Dear Mr Test User
As a value member ( 00034302) blah blah blah

The code is out there, it's just that you work-it-out for your self.
 
my bad man i did something like this awhile back and i ended up doing mine using outlook and just connection to it and setting a data object. I found that way being fairly easy but not 100% automated.
 
Back
Top