Creating a custom step (transform) object that updates the job's page count
To define a data stream transform object from the InfoPrint Manager Administration GUI, use this procedure:
- Start the InfoPrint Manager Administration GUI.
- Click Server, and select Transform → Create.
- In the Create Transform dialog, fill in the fields as shown in Create Transform dialog: Define a transform to pass job attributes. For this example, the passvals program that is called by the PASSVALUES transform object gets passed both the resource-context document attribute and the job-owner job attribute, as well as an update file. You should change the passvals program to your transform program that knows how many pages are in the job, and then change the parameters in "Transform options" to what your program expects with the "%u" being the update_file that will be passed to the transform_update utility when your transform calls it. Other attributes, like resource-context and job-owner, can be included or omitted as required by the needs of your transform.
- Click OK. InfoPrint Manager saves the transform under the name you provided in the Name field so that you can see its values by selecting Transform → Properties from the Servers menu.