General information about scripts

For the description of objects and programming methods necessary for developing scripts in Axxon PSIM, see Guide for creating scripts (programming).

Script for printing a template

In the Access Manager module, you can print templates from several printers at the same time using a script. 

Script for printing a template looks like this:

DoReactStr("AM","1","EXTERNAL_PRINT","person_id<>,template_path<>,target_slave<>,target_device<>");

Parameters:

You can print templates from several printers at the same time if printers have the last saved settings that are the same for all devices, for this:

  1. All printers belonging to the same Access Manager module must be the same (one driver).
  2. All printers belonging to the same Access Manager module are installed in the system (visible in the OS).

Example of a script for printing a template:

DoReactStr("AM","1","EXTERNAL_PRINT","person_id<3>,template_path<D:\AxxonTemplate.axt>,target_slave<A-KING>,target_device<Microsoft Print to PDF>");