Logo

arrow2 File Converters

arrow2 Forensic

arrow2 TIFF and PDF apps

arrow2 Freeware

PDF SplitterX

Split PDF files With PDFSplitterX and PHP

Example PHP:
$src="C:\\test\\test.pdf";
$dest="C:\\DestFolder\\";
if (file_exists($dest)) unlink($dest);
$c= new COM("PDFSplitter.PDFSplitterX");
$c->convert($src,$dest, "-c PDF -log c:\doc.log");
if (file_exists($dest)) echo "OK"; else echo "fail:".$c->ErrorMessage;

If you need examples on other languages please contact us. We will create any example specially for you. Download

Examples of PDF Splitter X

Split PDF files With PDFCombineX and .NET

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

PDFSplitterX Cnv = new PDFSplitterX();
Cnv.Convert(src, dest, "-c PDF -log c:\\test\\Splitter.log");

MessageBox.Show("Convert complete!");

Download .NET PDF Combine example

Split PDF files With PDFSplitterX and ASP

dim C
Set C=CreateObject("PDFSplitter.PDFSplitterX")
C.Convert "c:\source1.pdf", "c:\Dest Folder\", "-fo"
set C = nothing

Split PDF files With PDFSplitterX and PHP

$src="C:\\test\\test.pdf";
$dest="C:\\DestFolder\\";
if (file_exists($dest)) unlink($dest);
$c= new COM("PDFSplitter.PDFSplitterX");
$c->convert($src,$dest, "-c PDF -log c:\doc.log");
if (file_exists($dest)) echo "OK"; else echo "fail:".$c->ErrorMessage;

Split PDF files With PDFSplitterX and Ruby

require 'win32ole'
c = WIN32OLE.new('PDFSplitter.PDFSplitterX')

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

c.convert(src,dest, "-c PDF -log c:\\test\\PDFSplitter.log");

if not File.exist?(dest)
  puts c.ErrorMessage
end

Split PDF files With PDFSplitterX and Python

import win32com.client
import os.path

c = win32com.client.Dispatch("PDFSplitter.PDFSplitterX")

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

c.convert(src, dest, "-c PDF -log c:\\test\\PDFSplitter.log");

if not os.path.exists(file_path):
  print(c.ErrorMessage)

Split PDF files With PDFSplitterX and Pascal

uses Dialogs, Vcl.OleAuto;

var
  c: OleVariant;
  Source: String;
begin
  c:=CreateOleObject('PDFSplitter.PDFSplitterX');
  Source:='c:\test\source1.pdf';
  C.Convert(Source, 'c:\DestFolder', '-cPDF -log c:\test\PDFSplitter.log');
  IF c.ErrorMessage<> Then
    ShowMessage(c.ErrorMessage);
end;

Split PDF files With PDFSplitterX and 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;

Get all CoolUtils products
for $99 only
read more

  (you save up to $500)


PDF SplitterX Preview1

Coolutils.com

Latest News

Newsletter Subscribe

No worries, we don't spam.


© 2019. All rights reserved. CoolUtils File Converters

Cards