We help IT Professionals succeed at work.

merge pdfs using PHP

tkerns
tkerns asked
on
1,177 Views
Last Modified: 2009-12-16
I have a series of pdfs stored as blob fields in a mysql database.
Is there a way using PHP to loop through a recordset, merge all the resulting PDFs into one PDF?
My goal is to be able to batch print all the PDFs with one click.
To do that, I assumed I would need to merge them all into one PDF.

So, I would be either interested in a way to dynamically merge all the pdfs, or to batch print them all.

Any ideas?

Thanks.

Tom
Comment
Watch Question

Author

Commented:
Hmm...
No responses on this yet today.  
Perhaps its more dificult than I thought.
I don't have a lot of points, but I will double the points, and see if that finds any takers.

Any help would be much appreciated.

Tom
Kiran Paul VJComputer Engineer
CERTIFIED EXPERT

Commented:

Author

Commented:
Kiranvj,
This looks interesting, but how would I incorporate that into a web page?
I was looking for something that would merge the files server-side using php, on a linux server.

Tom
Kiran Paul VJComputer Engineer
CERTIFIED EXPERT

Commented:
Hi Tom,

there should be some way to do it.

These links will give you a start, i hope
http://in2.php.net/pdf
http://www.pdflib.com/products/pdflib-family/

kiranvj
Computer Engineer
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
My apologies.  I didnt realize I had neglected to close this.
I have abandoned the pdf part of the project, and am creating dynamic html pages instead.

Much easier to deal with.
I will give you the points for your effort tho.  Nobody else had any suggestions at all.

thanks!

Tom
Kiran Paul VJComputer Engineer
CERTIFIED EXPERT

Commented:
Hi tkerns,

Thanks for the points.

Kiranvj

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.