English (United States)
Call us! 512-349-0334 or (877) INDUSOFT

InduSoft Web Studio Forums

Find additional forum posts in in the Forum Archives. For assistance view the Forum Frequently Asked Questions.

How to Print to Dot Matrix Printers from InduSoft in Windows 7 and Newer
Last Post 05 Nov 2019 02:25 PM by Aveek. 0 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
AveekUser is Offline
Senior Member
Senior Member
Posts:171


--
05 Nov 2019 02:25 PM
    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
    You are not authorized to post a reply.