Getting imposed sheet information after imposition
This functionality is available from pdfToolbox 16 onwards.
In a process plan, it is possible to retrieve the results of a previous imposition step using JavaScript. In order to do so, the imposition step needs to be followed by a JavaScript variable step, like so:
Where imposition results live in JavaScript
Once the imposition step has run, pdfToolbox stores the imposition results in the app.doc.result.imposition variable. Using JavaScript, you can use it as illustrated below.
This simple JavaScript access the results stored in:
app.doc.result.imposition
Write this object to the console to get a deeper understanding of what you can find in it. The structure is identical to what you can retrieve using the "Check evaluation results" checkbox in the JavaScript imposition editor for a JavaScript runlist configuration.