Split PDF files With PDFSplitterX and Perl

Please, download and install PDFSplitterX. Using the sample code below you will be able to PDF files.


  Example Perl:

use Win32::OLE;

my $src="C:\\test\\test1.pdf";
my $dest="C:\\DestFolder";

my $c = CreateObject Win32::OLE 'PDFSplitter.PDFSplitterX';
$c->convert($src,$dest, "-c pdf  -log c:\\test\\PDFSplitter.log");
print $c->ErrorMessage if -e $dest;
If you need examples on other languages please contact us. We will create any example specially for you.

Related topics