Description:
If PDF is electronic paper, then pdftk is an electronic staple-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a useful tool for handling PDF documents. Every PDF user should have one in the top drawer of his/her desktop. Use it to:
* Merge PDF Documents
* Split PDF Pages into a New Document
* Decrypt Input as Necessary (Password Required)
* Encrypt Output as Desired
* Burst a PDF Document into Single Pages
* Report on PDF Metrics, including Metadata and Bookmarks
* Uncompress and Re-Compress Page Streams
* Repair Corrupted PDF (Where Possible)
Pdftk is also an example of how to use a library of Java classes in a stand-alone C++ program. Specifically, it demonstrates how GCJ and CNI allows C++ code to use iText's (itext-paulo) Java classes.

Merge Two or More PDFs into a New Document
pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf

This is a very useful tool, and thank you both for taking an interest.
Mu did'nt want to mess with all the dependecies cause it would be a large
package, I understand. But on the otherhand people coming to puppy
will see our initiative at getting applications that really are useful to work.
Thus they might come to understand why puppy is better than the rest.
This will be one of those tools._________________Heaven is on the way, until then let's get the truth out!Last edited by klhrevolutionist on Thu 03 Nov 2005, 01:32; edited 2 times in total

This is a .txt file that gives examples for usage of pdftk from the commandline. Which personally I found to be easier. If you work with pdf
files and use pdftk this is very useful. This installs to /root/my-documents/

This is a .txt file that gives examples for usage of pdftk from the commandline. Which personally I found to be easier. If you work with pdf files and use pdftk this is very useful. This installs to /root/my-documents/

Okay I found an alternative for merging pdf files, which essentially
is what I needed pdftk for. It is called ghostview and comes pre-installed on puppy. I'm still trying to master it, and will give my instructions which will
be in human terms. Here goes someone's recipe.

Merge pdf files with ghostview,
Convert file1.pdf and file2.pdf into PostScript (.ps) format.
Select some PostScript printer ->
mark Print to file -> OK. Write file1.ps to File name: -> OK.
Repeat these steps to convert file2.pdf into file2.ps.
In this example it is assumed that the files are saved into wherever.
Open Notepad (or some other text editor),
copy and paste the following PostScript code snippet into an editor.
Edit the code to correspond the directory where file1.ps and file2.ps
Remember to to use \\ instead of \ in path names.
Save the results to some directory as file12.ps._________________Heaven is on the way, until then let's get the truth out!

This is pdftohtml. It converts your .pdf files to html.
Very simple to use, I am still figuring out how to do this and that.
All of these pdf tools will be great for me at least. And hopefully for other's too. Well at the least I am able to create some cool pdf files, with html
I can't do crap. So make a nice web page in pdf then convert it with or
without frames among other notable features. Then open your new web page with openoffice or your fav html editor and add to it if you want.
I tell you what, the pdf format is an end-user's dream come true.
As of now I am editing thoughtjourney's script puppyPDF, this way puppyPDFtoHTML as well as puppyPDFtoTXT will be easier to use and more straightforward._________________Heaven is on the way, until then let's get the truth out!

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum