Combine PDF files With PDFCombineX and Perl

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


  Example Perl:

use Win32::OLE;

my $src="C:\\test\\test1.pdf\nC:\\test\\test2.pdf";
my $dest="C:\\test\\DestCombine.pdf";

my $c = CreateObject Win32::OLE 'PDFCombine.PDFCombineX';
$c->convert($src,$dest, "-c pdf  -log c:\\test\\PDFCombine.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.