Back

Topic

[KB729]Using HARDCOPY in a Multi-screen Environment

Tags: Hardcopy, Scada Basic, Scripting

10 years ago
By RM
Options
Print
Applies to:

PcVue. All versions.


Summary:

Workaround, using a SCADA Basic script, to generate a screen hard copy when in a multi-screen environment.
Originator: FABO


Details:

If you need to print current screen you are navigating in, you can do it launching the following script through a Run Program animation or key press programming

Sub HARDCOPYSCREEN()

Dim iReturn As Integer;
Dim
iRegion As Integer;

iRegion = Getarg (“VARSTATUS”); Returns the region number in which the mimic, containing the animation, resides
Region
(“SETREGION”, iRegion);
Window
(“HARDCOPY”, Window (“CURRENTNAME”), “” );

End Sub


Created on: 10 Feb 2015 Last update: 13 May 2024