Go to documentation repository
Documentation for ACFA PSIM 1.3.
On the page:
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:
- AM—the Access Manager module that you use,
- 1—id of the Access Manager module that you use,
- person_id<>—id of the user for whom you want to print a template,
- template_path<>—path to the template file for printing,
- target_slave<>—slave device (computer) that you use,
- target_device<>—name of the printer as it is displayed in the Devices and Printers section of the OS settings.
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:
- All printers belonging to the same Access Manager module must be the same (one driver).
- 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>");
Overview
Content Tools