In this article, you will learn
- what this check verifies, and
- how and where this check can be applied.
1. Introduction
The check Check Number of Pages allows you to verify the number of pages of a Print Item. The user can check whether the page count of a multipage Print Item exactly matches the specified value, is less than or greater than that value, or is a multiple of that value.
2. General
The check Check Number of Pages is available in Automation when creating a Production Configuration. This check is offered in the following Operations:
- Check Print Item and Apply Fixups – this Operation checks the Print Item and determines which Fixup or Action is applied when the checked value is present or not present.
- Check Print Item and Apply Fixup Chain – this Operation checks the Print Item and determines which Fixup Chain or Action is applied when the checked value is present or not present.
- Check Print Item and forward to – this Operation checks the Print Item and determines to which Production Configuration or Action the Print Item is forwarded when the checked value is present or not present.
Production Configurations are used in the Workflow in the following situations:
- Creating Automation Jobs – applying Production Configurations to selected Articles or Print Items.
- Batch Processing – applying the selected Production Configuration to the print data to be processed.
- Hotfolder – applying the selected Production Configuration to the print data located in a Hotfolder.
- API – applying a Production Configuration to print data that is submitted to the application via the API.
For information on how to create a Production Configuration, see the chapter Creating a Production Configuration.
Detailed Description of Individual Operations
A detailed description of all Operations available in a Production Configuration, as well as their correct application, can be found in the chapter Operations - Technical Description.
3. Description
The check Check Number of Pages allows you to verify whether the number of pages matches the specified value. It evaluates whether the number of pages is exactly equal to, less than, greater than, or a multiple of the specified value.
Figure 1: The dialog of the check Check Number of Pages
This check allows you to verify the number of pages. To check the number of pages, the following options can be selected:
- Templates [1] – the settings selected in the dialog can be saved as a Template and subsequently applied to the Operations Check Print Item and Apply Fixups, Check Print Item and Apply Fixup Chain, as well as Check Print Item and forward to for other Articles or Print Items.
- Number of Pages is [2] – in the selection menu, choose whether the defined number of pages should be exactly met, less than, greater than, or a multiple of the specified value. The following options are available:
- equal – the entered number of pages exactly machtes the number of pages in the Print Item.
- less than – the entered number of pages is less than the number of pages in the Print Item.
- greater than – the entered number of pages is greater than the number of pages in the Print Item.
- is a multiple of – the entered number of pages corresponds to a multiple of the number of pages in the Print Item. Example: If you enter the value "2" for the option Number of Pages, the check verifies whether the total number of pages in the file is divisible by two. The check therefore applies to all print data with an even number of pages (e.g., 2, 4, 6, 8, 22, 24, 26 ). If the value "3" is entered, the check verifies whether the Print Item has a number of pages divisible by three (e.g., 6, 12, 18, 24).
- Variable Content [4] – select the desired placeholder here – Database Field or User-defined Field – from which the value for the chosen method should be retrieved. The selected field must contain the following values for the method to be applied:
equal_toless_thangreater_thanis_a_multiple_of
- Number of Pages [3] – enter the desired number of pages to be checked against the number of pages in the Print Item. For Variable Content [5], select the desired placeholder – Database Field or User-defined Field – from which the value for the number of pages should be retrieved.
Figure 2: Expected values in the selected fields for the option Number of Pages is
Article Update: Workflow 1.22.0 – 12/2025
