Allows to split an existing PDF file into several new PDF files.
Syntax
CHGVAR |
VAR(&CMD) VALUE('PDFSPLIT') |
CHGVAR |
VAR(&PARM1)
VALUE('"<path_file1>.pdf";"<path_file2>.pdf";
|
CHGVAR |
VAR(&PARM2) VALUE(' Origin="Path of the PDF to split"; SplitPagesQty=number of pages for each splitted PDF ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 + &PARM2 &RESULT) |
Parameters
Parameters |
|
Parm1
Parm2 |
List of the new PDF files created after splitting (complete path), separated by a semicolon.
Origin: Complete path of the PDF file to split.
SplitPagesQty : Number of pages for each splitted PDF.
Note: If the PDF to split has 5 pages, and the SplitPagesQty parameter is equal to 2, therefore: - the 1st PDF specified into Parm1 will have 2 pages - the 2nd PDF specified into Parm1 will have 2 pages - the 3rd PDF specified into Parm1 will have 1 page
|
Example
LNCCMD CMD(PDFSPLIT) +
PARM1('"C:\A\b_1.pdf";"C:\A\b_2.pdf"') +
PARM2('Origin="C:\A\b.pdf";SplitPagesQty=1')