With Windows 7 and on, Microsoft removed direct support for dot matrix printing. To print to a dot matrix printer is now trickier.
Write a script that calls the WinExec() or Exec() function in InduSoft to execute the following in a Windows command prompt:
Echo 'Text to be printed' > LPT1
where 'Text to be printed' is the text, such as an alarm message, that you wish to print.
Additionally, the dot matrix printer needs to be configured to LPT1, which is parallel port 1. This will likely require using a USB to Parallel Port adapter to connect the dot matrix printer to the windows machine.
This link may be useful as well: https://answers.microsoft.com/en-us/windows/forum/windows_10-hardware/what-dot-matrix-or-impact-printers-will-work-with/5ecd7423-fa7c-4922-a0f7-f6b70d631635