PDF Split and Merge
PDF Split and Merge is an easy-to-use tool with graphical and command line interfaces to spit, merge, mix, and rotate your PDF documents. Version 2.2.4 is the last version which will run in OpenJDK 6. The next version 3.x needs Java 8 according the programmers blog.
A list of features:
Download pdfsam-2.2.4-out.zip. Create a folder (directory) "pdfsam". Unzip the file "pdfsam-2.2.4-out.zip" to the new folder "pdfsam".
The pdfsam.cmd file
Pdfsam version 2.2.4 works with Open JDK in OS/2-eCS. I have made a pdfsam.cmd file with the following contents;
@echo off set path=[drive: java]\JAVA160ga5\bin set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin set CLASSPATH= [drive: pdfsam] cd [drive: pdfsam]\pdfsam java -Xmx384m -Duser.home=[drive: pdfsam]\pdfsam -jar pdfsam-2.2.4.jar 2>pdfsam-bugs.txtI use 2 separate folders (directories), one for Java and one for Pdfsam with the files created by this program. The references used in the cmd file;
should be replaced with real drive letters. Edit and save the file "pdfsam.cmd" from the distribution. This file is copied to the "pdfsam" folder (directory). Furthermore, different paths?, adjust according to your needs.
Create a new program object. Specify the path and file name: "[drive: pdfsam]\pdfsam\pdfsam.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "pdfsam-2.2.4". You find enclosed in the file a suitable OS/2 icon.
Parameters / options explained
In the file you can find the above command file (all driveletters are set to C:) and an OS/2 Pdfsam icon: pdfsam-ecs.zip.
revision July 2, 2015