Link to home
Start Free TrialLog in
Avatar of rivkamak
rivkamakFlag for United States of America

asked on

pdf mail merge feature

What's the best software or code to use to mail merge into a PDF ?
I want to have a pdf url that has xxx.pdf?id=678&n=asdf
and that information should end up in certain text boxes in my PDf.
Avatar of tel2
tel2
Flag of New Zealand image

Hi rivkamak,

I've done that kind of thing using Perl.

Q1, Is your webhost running Windows or Linux?  (Both should work with Perl, actually, but it might be good to know.)
Q2. Is Perl currently installed?
Q3. Are you willing to use Perl to do this?
Q4. What is your previous experience with Perl?

The PDF creating module I used was PDF::API2.  (There is also one called PDF::API2::Simple which is probably simpler, but might have less functions.)

Here's a tutorial on PDF::API2, which I found helpful for my project.

There is also a module called PDF::Create, which is a lot smaller than PDF::API2, and has less functions.

If you have further questions for me, please start by answering Q1-Q4, above.

Tel2
Avatar of rivkamak

ASKER

my site is on a windows server.
but can this perl script pull in query parameters?
ASKER CERTIFIED SOLUTION
Avatar of tel2
tel2
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No. I have 0 experience in perl, but if I read the document I can try to work it out.
I think it is installed on our server.
I was hoping for something in PHP or asp
I can't help you with PHP or ASP, sorry rivkamak.

If you decide to try a Perl solution, I suggest you first answer these questions (for yourself and for me):

Q5. Is Perl definitely installed.  It's probably called ActiveState Perl if it's on Windows.

Q6. Are you allowed to install Perl modules (or that PDF::Create or PDF::API2 are already installed)?  Is there someone you can ask about the above, or do you have to work it out for yourself?

Q7. Please describe all the content of the PDF, apart from the 2 query parameters.  Perhaps supply it in a Word doc or graphic so we can see what's involved in making the PDF.  Just one page?
Avatar of SUDEEP G
SUDEEP G

Hi,
Use this software to generate pdf files from mail merge. You can do lots of things with this software.
https://mailmergepdf.blogspot.in/