Many workflows utilize PDF exclusively for submission of work to hot folders, and many rely on multi-page PDF files. The code
sample below illustrates generation of a list of every page to be printed in a hot folder, when many of those pages are in
multi-page PDF files.
The code below can be intgrated with other hot folder examples to support this. The function 'makeListOfJobsFromFolder' can be
used to produce a list of pages to be processed, that will include all the pages of multi-page files. Note that this code depends
on the 'pdfAnalysis.dyn' feature of Wasatch XML Access.
Caution - Multi-page files are only supported if all pages have the same size.
Python 3 Source Code
|