<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rakshit Khare's Blog- Aarambh &#187; pdftk</title>
	<atom:link href="http://www.rakshitk.com/blog/tag/pdftk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rakshitk.com/blog</link>
	<description>Not just a blog but my 2nd home &#124; The Technology Inside</description>
	<lastBuildDate>Wed, 11 Nov 2009 04:39:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Merge, Split and Repair PDF files</title>
		<link>http://www.rakshitk.com/blog/2008/04/26/merge-split-and-repair-pdf-files/</link>
		<comments>http://www.rakshitk.com/blog/2008/04/26/merge-split-and-repair-pdf-files/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 14:23:23 +0000</pubDate>
		<dc:creator>Rakshit</dc:creator>
				<category><![CDATA[Archives]]></category>
		<category><![CDATA[Software Reviews]]></category>
		<category><![CDATA[Tutorials- "How To..."]]></category>
		<category><![CDATA[encrypt and decrypt pdfs]]></category>
		<category><![CDATA[merge pdfs]]></category>
		<category><![CDATA[pdf took kit]]></category>
		<category><![CDATA[pdftk]]></category>
		<category><![CDATA[repair pdfs]]></category>
		<category><![CDATA[split pdfs]]></category>

		<guid isPermaLink="false">http://www.rakshitk.com/blog/2008/04/26/merge-split-and-repair-pdf-files/</guid>
		<description><![CDATA[As my B-Tech Final Year Project is almost finished, now I can relax more and get back to blogging like before. Sorry for such a long gap. Now no more. CHEERS!!!  
Yesterday, I was stuck when my friend asked me about software to merge two or more PDF documents at one go. I knew [...]]]></description>
			<content:encoded><![CDATA[<p><em>As my B-Tech Final Year Project is almost finished, now I can relax more and get back to blogging like before. Sorry for such a long gap. Now no more. CHEERS!!! <img src='http://www.rakshitk.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </em></p>
<p>Yesterday, I was stuck when my friend asked me about software to merge two or more PDF documents at one go. I knew many software but none were as fast as desired and also most of them were not free as well.</p>
<p>Recently, I found a tool that can easily merge, split and repair your PDF files at such a rapid pace that you wouldn&#8217;t believe it. Not only that you can also <strong>decrypt, encrypt and rotate</strong> your PDF files. <strong>With no installation needed</strong>, <a href="http://www.accesspdf.com/pdftk/">PDFTK</a> (PDF Tool Kit) is a command-line tool for doing everyday things with PDF documents. It does not require Acrobat, and it runs on Windows, Linux, Mac OS X, FreeBSD and Solaris.</p>
<p>First download the tool from <a href="http://www.accesspdf.com/article.php/20041130153545577">this location</a>. After you have downloaded the software, unzip it to the location easily accessible from command prompt. In my case I have copied the file <strong>PDFTK</strong> to C: / and also all the required PDF files to the same location. Open a command prompt and type <tt><strong>pdftk --help</strong></tt>. You should get various usage instructions.<br />
<a href="http://s213.photobucket.com/albums/cc127/roxisayshi1/?action=view&amp;current=pdftklocation.jpg" target="_blank"></a></p>
<p style="text-align: center"><a href="http://s213.photobucket.com/albums/cc127/roxisayshi1/?action=view&amp;current=pdftklocation.jpg" target="_blank"><img src="http://i213.photobucket.com/albums/cc127/roxisayshi1/pdftklocation.jpg" alt="Photobucket" border="0" /></a></p>
<p><strong>Pdftk </strong>can also be used for many other functions such as the following:-</p>
<ul class="unIndentedList">
<li> Merge PDF Documents</li>
<li> Split PDF Pages into a New Document</li>
<li> Rotate PDF Pages or Documents</li>
<li> Decrypt Input as Necessary (Password Required)</li>
<li> Encrypt Output as Desired</li>
<li> Fill PDF Forms with FDF Data or XFDF Data and/or Flatten Forms</li>
<li> Apply a Background Watermark or a Foreground Stamp</li>
<li> Report on PDF Metrics such as Metadata, Bookmarks, and Page Labels</li>
<li> Update PDF Metadata</li>
<li> Attach Files to PDF Pages or the PDF Document</li>
<li> Unpack PDF Attachments</li>
<li> Burst a PDF Document into Single Pages</li>
<li> Uncompress and Re-Compress Page Streams</li>
<li> Repair Corrupted PDF (Where Possible)</li>
</ul>
<p>Below are the different commands by which you can manipulate various PDF files. Open <strong>Command Prompt </strong>and go to the location where you have copied your pdftk file along with other pdf files. At that location perform the below mentioned commands to get the desired outputs.<br />
<a href="http://s213.photobucket.com/albums/cc127/roxisayshi1/?action=view&amp;current=pdftk.jpg" target="_blank"></a></p>
<p style="text-align: center"><a href="http://s213.photobucket.com/albums/cc127/roxisayshi1/?action=view&amp;current=pdftk.jpg" target="_blank"><img src="http://i213.photobucket.com/albums/cc127/roxisayshi1/pdftk.jpg" alt="Photobucket" border="0" /></a></p>
<p><u><strong>Examples</strong></u></p>
<p><strong>Merge Two or More PDFs into a New Document</strong></p>
<p>pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf</p>
<p><strong>Split Select Pages from Multiple PDFs into a New Document</strong>pdftk A=one.pdf B=two.pdf cat A1-7 B1-5 A8 output combined.pdf</p>
<p><strong>Rotate the First Page of a PDF to 90 Degrees Clockwise</strong></p>
<p>pdftk in.pdf cat 1E 2-end output out.pdf</p>
<p><strong>Rotate an Entire PDF Document&#8217;s Pages to 180 Degrees</strong></p>
<p>pdftk in.pdf cat 1-endS output out.pdf</p>
<p><strong>Encrypt a PDF using 128-Bit Strength (the Default) and Withhold All Permissions (the Default)</strong></p>
<p>pdftk mydoc.pdf output mydoc.128.pdf owner_pw foopass</p>
<p><strong>Same as Above, Except a Password is Required to Open the PDF</strong></p>
<p>pdftk mydoc.pdf output mydoc.128.pdf owner_pw foo user_pw baz</p>
<p><strong>Same as Above, Except Printing is Allowed (after the PDF is Open)</strong></p>
<p>pdftk mydoc.pdf output mydoc.128.pdf owner_pw foo user_pw baz allow printing</p>
<p><strong>Decrypt a PDF</strong></p>
<p>pdftk secured.pdf input_pw foopass output unsecured.pdf</p>
<p><strong>Join Two Files, One of Which is Encrypted (the Output is Not Encrypted)</strong></p>
<p>pdftk A=secured.pdf mydoc.pdf input_pw A=foopass cat output combined.pdf</p>
<p><strong>Uncompress PDF Page Streams for Editing the PDF Code in a Text Editor</strong></p>
<p>pdftk mydoc.pdf output mydoc.clear.pdf uncompress</p>
<p><strong>Repair a PDF&#8217;s Corrupted XREF Table and Stream Lengths (If Possible)</strong></p>
<p>pdftk broken.pdf output fixed.pdf</p>
<p><strong>Burst a Single PDF Document into Single Pages and Report its Data to doc_data.txt</strong></p>
<p>pdftk mydoc.pdf burst</p>
<p><strong>Report on PDF Document Metadata, Bookmarks and Page Labels</strong></p>
<p>pdftk mydoc.pdf dump_data output report.txt</p>
<p>Hope you like the above mentioned utility. Try it and if you encounter any problem, please share that with us. We will try to resolve it as soon as possible.</p>
<p>Other than that, do you know any other similar utility that is as fast and as efficient as this? Do share that with us as well.</p>
<br/><p><b>People who viewed this article also liked the following articles:-</b></p>
<ul><li><a href="http://www.rakshitk.com/blog/2008/06/12/top-10-free-video-editing-softwares/" rel="bookmark" title="Permanent Link: Top 10 FREE Video Editing Softwares">Top 10 FREE Video Editing Softwares</a></ul></li><ul><li><a href="http://www.rakshitk.com/blog/2009/11/11/recover-deleted-pictures-and-files-from-memory-cards/" rel="bookmark" title="Permanent Link: How to Recover Deleted Pictures and Files from Memory Cards">How to Recover Deleted Pictures and Files from Memory Cards</a></ul></li><ul><li><a href="http://www.rakshitk.com/blog/2008/03/12/how-to-lock-files-and-folders-without-any-software/" rel="bookmark" title="Permanent Link: How to Lock Files and Folders without any Software">How to Lock Files and Folders without any Software</a></ul></li><ul><li><a href="http://www.rakshitk.com/blog/2008/05/04/how-to-give-your-usb-devices-a-background-image/" rel="bookmark" title="Permanent Link: How to give your USB devices a Background Image">How to give your USB devices a Background Image</a></ul></li><ul><li><a href="http://www.rakshitk.com/blog/2008/05/02/april-%e2%80%9908-stats-and-google-page-rank-2/" rel="bookmark" title="Permanent Link: April ’08 Stats and Google Page Rank 2">April ’08 Stats and Google Page Rank 2</a></ul></li>
<i>© Rakshit Khare’s Blog- Aarambh 2007-08</i>]]></content:encoded>
			<wfw:commentRss>http://www.rakshitk.com/blog/2008/04/26/merge-split-and-repair-pdf-files/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
