PCLSplit.exe: Split, Count & Extract Pages

PCLSplit.exe is a multi-function, multi-purpose collection of PCL file utilities that split, extract or count PCL pages. PCLSPLIT.exe requires PTC32.dll & RUNCODE.ini.

PCLSPLIT -<option> args...

Arguments depend on option selected.

Enter with option char to see argument summary.

Split PCL by Page Count uses SDK functions to count the number of pages in a PCL file if no file-splitting arguments are provided. Or, it can split large PCL files into smaller ones, using command line arguments.

PCLSPLIT -P { -flags } <pclfile> { <pgbreak interval> <output basename> }

If only <pclfile> supplied, reports number of pages. Otherwise splits into multiple files with <pgbreak> pages, appending 4-digit serial number to <output basename>

Flags :

 -s : generate only first output file, keep name

 -f : forces breaks in between duplex pages

Split PCL by Keyword uses SDK functions to split PCL files whenever the text in a fixed location changes. By providing the RECT coordinates of the key field in the .IBL file parameter, the program will trigger a new PCL file for every change in the key field text. This is useful for splitting reports by Store location, Department Code, etc.

PCLSPLIT -K <.ibl file> <.pcl file> <output>

Extracts <pcl file> into separate <outfile>+<4digit serial>.pclfiles, breaking whenever contents of any IBL field change

Scan PCL for Keyword Hits uses SDK functions to show the number of occurences ("hits") of text to be found in a RECT area specified in the .IBL file provided. This is program is useful to test PCL files for

PCLSPLIT –S <.ibl file> <.pcl file> {output}

Shows IBL hits per page of PCL file. Writes to stdout or to optional output file

Split PCL into Single Pages uses SDK functions to extract and normalize each page in a PCL file and then writes them into individual PCL pages, based on an output filenaming convention provided.

PCLSPLIT -G <pclfile> <output basename>

Extracts single pages, appending 4 digit serial number to <output basename>

Extract PCL Page Ranges into Single PCL File uses SDK functions to extract and normalize ranges of pages in a PCL file and then writes them out into a individual PCL file with the page range specified.

Two ways to specify range:

PCLSPLIT -R -f<start page> -t<last page> <pclfile> <output file>

PCLSPLIT -R -f<start page> -n<number pages> <pclfile> <output file>

Page numbers are 1 based: 1 for first page, etc.

-t<last page> is index of last page in range.

-n<number pages> is number pages in range.

-n0 extracts pages to end of file.

© 2007 PageTechnology Marketing, Inc. – PCL Utilities: PCLSplit.exe