Convert CSV files With Total CSV ConverterX and Perl

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

 

  Example Perl:

use Win32::OLE;

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

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