CardExchange Solutions Documentation

Producer Help - Configure Automated Printing


Automated Printing is based on creating a trigger on a field in the connected database. This means that for using this functionality, Storage Items needs to be created. Based on the Storage Item, CardExchange® Producer will monitor any changes of the field. Storage Items are created when the database connection is made. Connecting to a database and creating storage items is mentioned in section 'Databases' of this Help file.

Considering the fact that the Storage Item is created we need to address and set the trigger for monitoring the database for changes.



Select Edit trigger from the Automated printing section of the Print tab. This will open the Edit Trigger window.

When the Edit Trigger window is opened you need to Activate the trigger to set all the properties. By checking the check box 'Activate trigger' you will have access to three important properties. First you need to select the field where CardExchange® Producer needs to trigger on. This can be selected from the drop down menu 'Associated storage item', here will be all the created storage item presented.

The next step is to set the trigger condition. This condition is executed on the database field. In this case the record will be printed when the triggered database field (PrintDate) IS NULL (default).

The last step is to set the trigger interval. In this example, CardExchange® Producer will look every 10 seconds if there are records in the database where the PrintDate field is NULL. When it finds a field that follows the trigger condition it will print that record.

It is also possible to define the Error behaviour in case of something happens during the printing process. You have four different options:

  • Do not process the storage item - When an error appears, the storage item is not processed
  • Process the storage item as usual - When an error appears, the storage item will be processed
  • Store this value - When an error appears, the value entered in the text box will be stored
  • Store the error message - When an error appears, the error message will be stored

Automated printing can be configured for every connected card layout in CardExchange® Producer.