Syntax to print from a command prompt
- Last UpdatedJul 11, 2024
- 1 minute read
The command syntax is:
"<WindowMaker path name>" COMMANDFILE="<CSV file>" ALL OUTPUTTARGET=<target name>
where:
<WindowMaker path name> is the path to the WindowMaker application (WM.exe).
-
<CSV file> is the name of the .csv file that specifies the windows to print.
-
<target name> is output location, either to a printer or .html file.
-
ALL is the command to print all link, database entry, and script information. If you do not include the ALL command, only graphical object information prints.
In this example, all link, database entry, and script information is sent to the default printer:
"C:\Program Files\Wonderware\InTouch\wm.exe" COMMANDFILE="D:\print.csv" ALL OUTPUTTARGET = PRINTER
In this example, graphical object information is sent to an .html file:
"C:\Program Files\Wonderware\InTouch\wm.exe" COMMANDFILE="D:\print.csv" OUTPUTTARGET = HTML <DEMOAPP.html>