Control the alarm printer using scripting
- Last UpdatedJul 22, 2024
- 1 minute read
You can use Alarm Printer functions in scripts to control alarm printing.
Alarm printer functions return an integer error code that indicates whether the function completed successfully or not. The following table shows the error codes.
|
Error Code |
Error Message |
|---|---|
|
0 |
Success |
|
1 |
Instance not found or not running |
|
2 |
Interface not initialized |
|
3 |
Failure to access virtual memory |
|
4 |
Invalid error code |
|
5 |
Too many instances already running |
|
6 |
Result string would be too long |
|
7 |
Invalid instance index passed to the function |
|
8 |
Failed to post the message to the alarm printer application |
|
9 |
Failed to wait for a response from the alarm printer application |
|
20 |
To priority must be equal to or greater than From priority |
|
21 |
Invalid priority value |
|
22 |
Invalid alarm state |
|
23 |
Failed to execute the command because the query is running |
|
24 |
Query string is not valid |
|
25 |
Invalid query processing state |
|
26 |
Invalid print state selector |
|
27 |
Command received by the alarm printer window is not recognized |
|
28 |
Query could not be started |