Adding a Barcode only on Odd Pages for Booklets
Posted: Mon Nov 11, 2024 8:10 pm
I'm working on adding DataMatrix barcodes to PDFs for use with a Morgana 5050 booklet maker, which scans barcodes on each sheet to ensure correct order and set integrity. I'd like to use an Enfocus PitStop Pro Action List to automate this process. The challenge I'm facing is that the Morgana expects the barcode's Page Number and Page Count to reflect the physical sheets (the front sides the scanner reads), not the PDF page numbers. For example, a 12-page booklet printed duplex results in 6 physical sheets (since each sheet has two pages when folded). So the barcode should encode Page Numbers from 01 to 06 and a Page Count of 06, not the PDF's 12 pages.
I created an Action List that places the barcodes on Odd pages only, however now I need to adjust the barcode data in PitStop Pro to reflect the sheet numbers instead of the page numbers. However, I'm running into a roadblock: PitStop Pro's Action Lists don't seem to support variable calculations or scripting necessary to perform arithmetic operations (like dividing the page number by 2 and rounding up) to compute the sheet numbers dynamically. Is there a way in PitStop Pro to perform such calculations within an Action List, or any workaround to achieve this? I know that it can be done with Switch, however I'd like to avoid purchasing a costly software subscription for JUST this purpose when it seems like Pitstop is SO SO close to getting it right.
Any insights or suggestions would be greatly appreciated.
I created an Action List that places the barcodes on Odd pages only, however now I need to adjust the barcode data in PitStop Pro to reflect the sheet numbers instead of the page numbers. However, I'm running into a roadblock: PitStop Pro's Action Lists don't seem to support variable calculations or scripting necessary to perform arithmetic operations (like dividing the page number by 2 and rounding up) to compute the sheet numbers dynamically. Is there a way in PitStop Pro to perform such calculations within an Action List, or any workaround to achieve this? I know that it can be done with Switch, however I'd like to avoid purchasing a costly software subscription for JUST this purpose when it seems like Pitstop is SO SO close to getting it right.
Any insights or suggestions would be greatly appreciated.