Richard Korts
asked on
Append one pdf doc to another
Can I merge two pdf documents without acrobat writer?
The documents are created using pdf.
I just want to add one pdf to the end of another, making a 2 page pdf
Thanks
The documents are created using pdf.
I just want to add one pdf to the end of another, making a 2 page pdf
Thanks
Hi Richard,
Lots of ways to do it without any Adobe software. One way is with the free PDF Toolkit (PDFtk) from PDF Labs. PDFtk comes in both command line and GUI versions. The command line version is called PDFtk Server and may be downloaded here:
http://www.pdflabs.com/tools/pdftk-server/
Don't be misled by "Server" in the name. I don't know why they called it that, but it's just an executable (pdftk.exe, with a supporting DLL, libiconv2.dll) that runs on "standard" Windows — it does not have to run on a "server" Windows.
For example, here's the one line solution using the PDFtk Server command line for combining two files into a third:
pdftk input1.pdf input2.pdf cat output combined.pdf
It also accepts a wildcard, so you may do this to combine all files in a folder:
pdftk *.pdf cat output combined.pdf
The "cat" operation "catenates" (joins/merges/combines) the input files into the output file. If you'd like to see the full syntax for the PDFtk Server command line and some usage examples, here are the links:
http://www.pdflabs.com/docs/pdftk-man-page/
http://www.pdflabs.com/docs/pdftk-cli-examples/
If you prefer a GUI (graphical) version of PDFtk to combine the files, it is called PDFtk Free (another bad name, imo, since PDFtk Server is also free, although a commercial license is required to distribute PDFtk with a commercial product):
http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
Here's what its opening screen looks like:
As you can see, there are several other features in the PDFtk Pro version for the extremely inexpensive price of $3.99:
https://www.pdflabs.com/tools/pdftk-pro/
But you don't need the Pro version to do what you want.
As a disclaimer, I want to emphasize that I have no affiliation with this company and no financial interest in it whatsoever. I am simply a happy user/customer. Regards, Joe
Lots of ways to do it without any Adobe software. One way is with the free PDF Toolkit (PDFtk) from PDF Labs. PDFtk comes in both command line and GUI versions. The command line version is called PDFtk Server and may be downloaded here:
http://www.pdflabs.com/tools/pdftk-server/
Don't be misled by "Server" in the name. I don't know why they called it that, but it's just an executable (pdftk.exe, with a supporting DLL, libiconv2.dll) that runs on "standard" Windows — it does not have to run on a "server" Windows.
For example, here's the one line solution using the PDFtk Server command line for combining two files into a third:
pdftk input1.pdf input2.pdf cat output combined.pdf
It also accepts a wildcard, so you may do this to combine all files in a folder:
pdftk *.pdf cat output combined.pdf
The "cat" operation "catenates" (joins/merges/combines) the input files into the output file. If you'd like to see the full syntax for the PDFtk Server command line and some usage examples, here are the links:
http://www.pdflabs.com/docs/pdftk-man-page/
http://www.pdflabs.com/docs/pdftk-cli-examples/
If you prefer a GUI (graphical) version of PDFtk to combine the files, it is called PDFtk Free (another bad name, imo, since PDFtk Server is also free, although a commercial license is required to distribute PDFtk with a commercial product):
http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
Here's what its opening screen looks like:
As you can see, there are several other features in the PDFtk Pro version for the extremely inexpensive price of $3.99:
https://www.pdflabs.com/tools/pdftk-pro/
But you don't need the Pro version to do what you want.
As a disclaimer, I want to emphasize that I have no affiliation with this company and no financial interest in it whatsoever. I am simply a happy user/customer. Regards, Joe
ASKER
Thank you both for your responses. I respect both of you, you have helped me before.
I should have said this in the original question.
All my server programs are in php. In need the combine or append to be done with php.
Thanks,
Richard
I should have said this in the original question.
All my server programs are in php. In need the combine or append to be done with php.
Thanks,
Richard
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok, Joe. I’ll try it.
Tomorrow or Monday.
Thanks,
Richard
Tomorrow or Monday.
Thanks,
Richard
Good luck!
ASKER
Actually, I figured out an easier way to do it by creating two pdf’s programmatically in php; so I don’t have to merge.
Richard
Richard
OK, thanks for the update.
Try that, otherwise you need Acrobat which I know works very well. I use the Combine feature frequently
Follow up: I did some more looking and all the Combine articles point to just Acrobat.