|
Source: www.secureblackbox.com
|
Source: www.secureblackbox.com
Regarding version v2019.11.10.0
On request we’ve added PDF as Destination. The primary goal was to split the pages of a multi page PDF file.
Don’t forget to add a Filename filter so only PDF files as Source will be handled (*.pdf).
PDF as Destination. Multiple ‘PDF Actions’ can be added. At the moment only ‘Output PDF File’ as Action is available. Each Action can be Enabled/Disabled.
There is a possibility to select the pages within the PDF Source File.
Some info about the ‘Custom Pages’ selection.
> Split first and last page of Source multi page PDF file
> Split middle page(s) of Source multi page PDF file
When splitting a multi page pdf file a pre extension page number will be added to the output filename.
i.e. MultiPage PDF File as Source:
> Resulting Output File when ‘Split Pages Number Length = 0 (automatic number length)
> Resulting Output File when ‘Split Pages Number Length = 1 (minimum number length of 1)
> Resulting Output File when ‘Split Pages Number Length = 2 (minimum number length of 2)
If you need another type of split pages naming then you can use the File Renaming option (Rename Tab).
When ‘Split Pages’ is disabled a single multi page will be created in the output directory. It will contain the selected pages of the source file. Suppose your custom selection is set to ‘0,1,m’ then the multi page output file will contain the first, the last and the middle page(s) of the Source multi page file.
As always, feedback would be much appreciated.
Regards,
Limagito Team
Dear users,
Regarding v2019.10.28.0
We’ve added a Pascal Script Function that will let you split a multipage pdf file into single page pdf files.
Don’t forget to adjust the ctOutputFolder in the script.
– psPdfSplitPages function will split a multipage pdf to single pdf pages
Function psPdfSplitPages(SourceFile, DestinationFolder: String; PadLength: Integer): Boolean;
PadLength: 0 = automatic
i.e.
Const
ctOutputFolder = 'C:\Test\Out_PDF\';
Begin
psExitCode:= 0;
// ... add your code here
If psPdfSplitPages(psFilePath + psFileName, ctOutputFolder, 0) Then
Begin
psExitCode:= 1;
psLogWrite(1, '', psFilePath + psFileName + ' Split Success');
End
Else
psLogWrite(1, '', psFilePath + psFileName + ' Split Error');
End.
If you need any help, just let us know.
Regards,
Limagito Team