Convert PDF files With Total PDF ConverterX and Perl

Please, download and install Total PDF ConverterX. Using the sample code below you will be able to convert PDF to TIFF, DOC, TXT, etc.

 

  Example Perl:

use Win32::OLE;

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

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