300+ free and legal portable apps (over 9GB), up-to-date, & new apps regularly (Jul 28, 2014: Transmission-qt).
Get the fast, new 64GB PortableApps.com Companion, encrypted PortableApps.com Carbide, or carry your KeyZ.
PA.c Platform 12.0 Beta 3.2 (May 20, 2014) | PortableApps.com needs your help: Please donate today.

PDF Split and Merge

stephenjudge's picture
stephenjudge - February 5, 2009 - 2:14pm

I would like to request that a developer looks at making an PortableApps version of PDF Split and Merge. It is a Java based program to split the page of a PDF document or merge several PDF documents together. The program can be downloaded as a Zip file and can be extracted to any portable location and run. It does not seem to need an dependencies (except for JRE obviously)or leave any files behind on the host PC.

Website: http://www.pdfsam.org
Licence: GPL


( categories: )

PDFTK Builder

As we already have PDFTK Builder, does this app add anything that it can't do? If not, it wouldn't really add much to do it.

http://portableapps.com/apps/office/pdftk_builder_portable

Sometimes, the impossible can become possible, if you're awesome!

PDFTK Builder is a great tool

PDFTK Builder is a great tool too. I use it daily. Eye-wink

I agree that pdfsam is excellent.

Now that Java is in PortableApps.com format, this program is even more attractive. The current release candidate (2.0.0-rc1) allows drag & drop re-ordering of pages with thumbnail previews. I don't think PDFTK Builder maintains the bookmarks in files that are merged, whereas pdfsam does. I believe the author is also working on automatically adding a bookmark for each file merged and/or bookmark editing.

OK, two years later, but

OK, two years later, but there is a need. PDFsam has a number of unique features. A critical one is merging two files created from a scanner that only does single-sided scanning of a double-sided document. PDFsam automatically interleaves two documents while reverse ordering one. Not possible in PDFTK Builder (without much manual, painstaking, error-prone entry per page. Try it on a 50+ page, double-sided document. (While my scanner can scan double sided scanning, the interface to scanners by Windows 7 does not support this.) Very surprised you would not see more requests for this reason alone.

Update: If you install the Windows version, copy the "Program Files (x86)/pdfsam/" directory to your "PortableApps" directory, uninstall it from Windows, then restart PortableApps; then it adds it to the menu and runs PDFsam just fine it seems. Did not check but likely using a JavaVM installed on the Windows machine though.

I have just tried it out.

You can download portable java off this site - you will have to search for it.
Download & extract PDFSAM. Run portable java then start Pdfsam. It will run fine.
However, I think that PDFTK Builder is easier to use.

I did a reg shot:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap]
"ProxyBypass"=hex(4):01,00,00,00
"IntranetName"=hex(4):01,00,00,00
"UNCAsIntranet"=hex(4):01,00,00,00
[HKEY_LOCAL_MACHINE\Software\Microsoft\DirectDraw\MostRecentApplication]
"Name"=hex(1):6a,00,61,00,76,00,61,00,77,00,2e,00,65,00,78,00,65,00,00,00
"ID"=hex(4):80,47,4e,48
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Desktop"=hex(1):43,00,3a,00,5c,00,44,00,6f,00,63,00,75,00,6d,00,65,00,6e,00,74,00,73,00,20,00,61,00,6e,00,64,00,20,00,53,00,65,00,74,00,74,00,69,00,6e,00,67,00,73,00,5c,00,41,00,64,00,6d,00,69,00,6e,00,69,00,73,00,74,00,72,00,61,00,74,00,6f,00,72,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{bbcabada-4f66-11dc-89a4-806d6172696f}]
"BaseClass"=hex(1):44,00,72,00,69,00,76,00,65,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{0816fa5a-4f69-11dc-9af3-806d6172696f}]
"BaseClass"=hex(1):44,00,72,00,69,00,76,00,65,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{28740e14-d46c-11db-a28f-b7ae09976410}]
"BaseClass"=hex(1):44,00,72,00,69,00,76,00,65,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{b5010a82-fd37-11d6-9262-806d6172696f}]
"BaseClass"=hex(1):44,00,72,00,69,00,76,00,65,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\Y]
"BaseClass"=hex(1):44,00,72,00,69,00,76,00,65,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\Z]
"BaseClass"=hex(1):44,00,72,00,69,00,76,00,65,00,00,00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\MediaResources\DirectSound\Speaker Configuration]
@=hex(1):00,00
"Speaker Configuration"=hex(4):04,00,14,00

[Pre tags added, mod SL]

I take back my previous comment

PDFTK Builder will NOT split a password protected PDF whereas PDFsam will.
I have now made PDFsam portable with JauntePE & have junked PDFTK from my stick.

thats right

I tried splitting a password protected pdf and it didnt work...

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

it needs password, but

the later version iText does not support remove the password,

Paulo Soares said,
From iText version 2.0.3 and iTextSharp 4.0.4 the password restrictions are enforced by the library instead of passing that responsability to the developer. Using PdfStamper or importing pages in PdfStamper, PdfCopy and PdfWriter will throw an exception if the PDF was not opened with the owner password.

for detail, please visit,
http://blog.rubypdf.com/2007/12/12/why-do-i-get-the-exception-pdfreader-...

Pdf solution and software provider

This will split a password protected pdf

It is also portable and very small in size.

Version 0.49 Win32
Gui for PDFTK the pdf tool kit

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)
* Rotate the PDF

http://www.paehl.de/pdf/gui_pdftk.html

Cool

This looks like a good/better GUI... Ill take a look at it.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

PDFTK Builder is not bad but

PDFTK Builder is not bad but its biggest problem is that it doesn't have PDF preview.

After a very long search, I was able to find the following two free applications that have PDF preview and can do basic PDF manipulation (delete, rotate, rearrange, etc):

PDFRider:
http://pdfrider.codeplex.com/

PDFrizator:
http://www.rttsoftware.com/pdfrizator.html

PDFrizator has portable option. Not sure about PDFrider's portability but I think it should also work.

Maybe it's a good idea to add these two to the Portable Apps list as long as the authors approve.