PrintScreen - method of object Pm

Printing the whole screen to a printer or to a file.
PrintScreen(sParams As String)
Pm.PrintScreen sParams
sParams(String) Additional parameters that define the print type (file, printer, etc.). If it is empty string, then the screen is printed to the printer with the window for the printer selection. Entries are in format KeyVal, for example "printer:select;".
"printer:xxx;" (optional) - Specifies the printer
select (default) - Printing to the printer with the possibility to select a printer and to change the settings (orientation, resolution, etc.) by means of the input window.
default - Printing to the OS Windows default printer (without the input window). It isn't possible to change the print settings (orientation, resolution, etc.).
file:filepath - The file name with the path (*.bmp, *.png, *.jpg, *.gif or *.tif), where the screen is stored. The file extension specifies the graphic format. It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files and folders.
This method is not functional for Web panels in JavaScript language (and therefore it is not working in Web panels).
Print the screen to the printer with the possibility to set the printer.
VBScriptSelect and copy to clipboard

Pm.PrintScreen "printer:select;"
Printing the screen into file #temp:screen.png;.
VBScriptSelect and copy to clipboard

Pm.PrintScreen "printer:file:#temp:screen.png;"
PROMOTIC 8.3.30 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
- Pm
- Abs
- Cos
- E
- Exp
- LN2
- PI
- Pow
- PrintScreen
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice