Which tool for merging PDF-files?
Hi,
today I wanted to merge several single-page PDF-files from the scanner into one file. But I could not find a tool on my Slackware-computer. Am I missing something? How do you merge PDF-files? I tried imagemagick, but it put the pages into small pictures on one larger page. Maybe there is an appropriate option in imagemagick which provides the expected behavior..... I took also a look at slackbuilds.org, but I did not find an appropriate program there too. Markus |
Here you are - pdftk:
http://slackbuilds.org/repository/14.0/office/pdftk/ |
pdfconcat
What about
Code:
$ pdfconcat Code:
$ grep pdfconcat /var/log/packages/* |
What about pdftk or ghostscript?
|
Try pdfunite
|
Hi,
thanks for the quick responses, I will install pdftk now. But is it correct that a stock Slack-install comes without any of this tools? Markus |
Quote:
|
Here's a snippet using gs:
Code:
gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=<newfilename>.pdf <inputfilenameshere> |
I've now installed pdftk and will try it out later.
Thanks also to mrclisdue for the commandline with gs, I did not know this. I'll follow up here when I've some experience with the tools. Markus |
If you only need to merge docs once in a while, the GUI front-end for PDFTK is nice to use. If you have to merge PDFs on a regular basis, ImageMagick/GraphicsMagick are better for that.
|
Quote:
|
Evidently TIMTOWTDI.
|
Well, I've tried pdftk, it works very well but the commands are not very intuitive.
For example rotating a file by 180 degree Code:
pdftk upsidedown.pdf cat 1-endsouth output rotated.pdf Code:
pdftk first.pdf second.pdf third.pdf cat output altogether.pdf Code:
pdftk --help Markus |
And there is pdfjoin as well
jlinkels |
And just for fun here is a script that combines .pdf files into a single bookmarked file http://www.linuxquestions.org/questi...ml#post4382364
|
All times are GMT -5. The time now is 01:35 AM. |