LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-05-2007, 02:11 PM   #1
leif_84
LQ Newbie
 
Registered: Jun 2007
Posts: 25

Rep: Reputation: 15
a tool for PDF modification? (import one pdf into another)


Hi!
I have a pdf file sheet.pdf and a bunch of smaller pdf files 1.pdf, 2.pdf etc.. I want to place thous smaller pdf's on specific coordinates on sheet.pdf and then export it as a new file.

I found a one way how to accomplish this, if only it would work. There's php class fpdf, that can generate pdf's and there's another class fpdi, that works with fpdf, that lets import pdf into existing pdf as template. I had experience with fpdf class, but had no luck with fpdi, it always generates blank pdf.

Then I found a pdftk a command line tool, that can manipulate pdf's. But it looks like from the examples, that it can't do what I'm trying to do.

If someone is experienced with pdftk, can you please give me example if it's possible to do what I'm trying to accomplish or maybe there's a different command line tool or a different way how to do this? any other suggestions? Thank you!

Last edited by leif_84; 09-05-2007 at 02:24 PM.
 
Old 09-06-2007, 06:55 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Well, basically pdf files aren't meant to be edited after creation. They're meant to be portable, something that you make ready and then distribute. Anyway it sees nowadays people *do* want to edit them, regardless of the fact that it would be easier, wiser and cleaner to just alter the original work and then export it again, to a new pdf file (and if you don't have the original, maybe you aren't supposed to edit it?)

I don't do that myself, but I see two "easy" approaches for this:
1) With some pdf readers, like Adobe Reader, you can select the content from the pdf. So, copy the contents off the pdf to another app, do the same for the other pdf files and then export the whole document.
2) Some office programs can, or so I've heard, do this as well (play around with the content of a pdf file); try Koffice for example.
 
Old 09-06-2007, 07:14 AM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Might try taking a look at: pdfedit - Editor for manipulating PDF documents
 
Old 09-06-2007, 12:16 PM   #4
leif_84
LQ Newbie
 
Registered: Jun 2007
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks, but I'm looking for a command line tool, I need to find a way how to do this automatically. I have a script that reads information from the database and puts it into a pdf. Then all the pdf's are listed, and I would select individual pdf's out of list, and then pass arguments to whatever tool would work for this situation and thous pdf's would be placed into one.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a RTF to PDF conversion tool buggabill Linux - Software 3 05-09-2007 09:06 PM
need a server side pdf merge tool siyisoy General 2 06-05-2006 10:38 AM
looking for fast pdf conversion tool James_dean Linux - Software 1 10-13-2005 07:04 AM
tool for converting html to pdf - htmldoc j-ray Linux - Software 2 08-30-2004 08:02 AM
mbr modification tool rharvey@cox Linux - Software 2 02-20-2004 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration