LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-19-2005, 03:30 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Rep: Reputation: 52
Merging ,pdf files


Hi folks,

I'm looking for a solution;

1) to merge/combine .pdf files to a single .pdf file.
2) Each .pdf file will be retained as a single page, not messing all files together
3) It is possble adding notes to the single file.
4) Re-splitting is possible, i.e. able to move any page/file in the single file

I found following links;
Mad Builder PDF Assembler
http://thierry.schmit.free.fr/dev/mb...btPdfAsm2.html

Putting together PDF files (NewsForge)
http://lwn.net/Articles/89939/

NewsForce
http://www.newsforge.com/article.pl?.../06/09/1844259
joinPDF
http://www.iis.ee.ic.ac.uk/~g.briscoe/joinPDF/

Any one of them will be best suitable for my application. Or are there any other suggestions

Please advise. TIA

B.R.
satimis
 
Old 02-19-2005, 07:37 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
pdftk and joinPDF are the ones I tend to use:
http://www.accesspdf.com/pdftk/
 
Old 02-19-2005, 08:31 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally posted by david_ross
pdftk and joinPDF are the ones I tend to use:
http://www.accesspdf.com/pdftk/
Hi david_ross,

Tks for your advice.

Which of them will be more suitable to my application

B.R.
satimis
 
Old 02-19-2005, 08:36 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
I think pdftk can add other data such as your comments, I don't think joinPDF can.
 
Old 03-02-2005, 02:18 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Hi david_ross,

Quote:
I think pdftk can add other data such as your comments, I don't think joinPDF can.
Noted with thanks

B.R.
satimis
 
Old 11-21-2007, 01:59 PM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 50
The first method is by using convert , directly from the ImageMagick toolkit. You probably already have this one installed on your favourite Linux distribution; if not, almost every known Linux distribution has a package for it. Even if you don't need to edit PDF files you should have it, it is a wonderful swiss army knife for command line image processing. The syntax for merging PDF files is simple:

convert file1.pdf file2.pdf file3.pdf out.pdf

(that is, the last file name is the output file name). This usually works quite correctly, but 1)it is slow 2)I found sometimes has issues with image resolution. So I looked for another solution, and I found pdftk. The name stands for "PDF ToolKit", and really it is. It is a free (open source under the GNU GPL), wonderful command line utility that with a bit of magic allows you to manage PDF files from the command line. It works on Linux, Windows and Mac. pdftk can merge PDF documents, split PDF pages into a new document, rotate PDF Pages or Documents, decrypt and encrypt, fill PDF forms, apply a background watermark or a foreground stamp, burst a PDF Document into single pages... whatever.

The syntax for merging with pdftk is almost as simple:


pdftk file1.pdf file2.pdf file3.pdf cat output out.pdf

You just need to add the magic "cat output" between the input pdfs and the output file name. In comparison with convert, it is truly fast and in my experience gives better results. And it may come handy for when I have to work with PDF files in other ways. Also, KDE users may find nice PDF Concat, a Kommander script that acts as a simple pdftk frontend to merge PDFs.
 
Old 11-21-2007, 08:31 PM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by frenchn00b View Post
The first method is by using convert , directly from the ImageMagick toolkit. You probably already have this one installed on your favourite Linux distribution; if not, almost every known Linux distribution has a package for it. Even if you don't need to edit PDF files you should have it, it is a wonderful swiss army knife for command line image processing. The syntax for merging PDF files is simple:

convert file1.pdf file2.pdf file3.pdf out.pdf

(that is, the last file name is the output file name). This usually works quite correctly, but 1)it is slow 2)I found sometimes has issues with image resolution. So I looked for another solution, and I found pdftk. The name stands for "PDF ToolKit", and really it is. It is a free (open source under the GNU GPL), wonderful command line utility that with a bit of magic allows you to manage PDF files from the command line. It works on Linux, Windows and Mac. pdftk can merge PDF documents, split PDF pages into a new document, rotate PDF Pages or Documents, decrypt and encrypt, fill PDF forms, apply a background watermark or a foreground stamp, burst a PDF Document into single pages... whatever.

The syntax for merging with pdftk is almost as simple:


pdftk file1.pdf file2.pdf file3.pdf cat output out.pdf

You just need to add the magic "cat output" between the input pdfs and the output file name. In comparison with convert, it is truly fast and in my experience gives better results. And it may come handy for when I have to work with PDF files in other ways. Also,
Hi,


Thanks for your advice.


On my F7 box;
$ which convert
/usr/bin/convert

I have "convert" running.


$ yum search ImageMagick
...
ImageMagick.x86_64 : An X application for displaying and manipulating images.

showing it on repo but NOT indicating "Installed". If installed where can I find it on KDE menu?


$ which pdftk
No printout.


$ yum search pdftk
pdftk.x86_64 : The PDF Tool Kit

found it on repo but not indicating "Installed"


Quote:
KDE users may find nice PDF Concat, a Kommander script that acts as a simple pdftk frontend to merge PDFs.
Where can I find it on KDE menu? Thanks


satimis
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
merging mpg files karhu Linux - Software 4 07-28-2005 05:25 AM
How do I unpack pdf.pdf files corbis_demon Linux - General 5 10-29-2004 09:12 PM
merging movie files ZaphyR Linux - Software 4 09-05-2004 08:26 AM
merging files using perl pantera Programming 1 06-03-2004 12:56 PM
merging log files help please digitalgravy Linux - Newbie 3 12-10-2003 02:26 PM


All times are GMT -5. The time now is 01:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration