Programming with Reflection
PrintScreen method
Syntax object.PrintScreen Item, Copies
Prints the selected text or the entire terminal screen.
Note: This method is equivalent to the Print method. Use this method to avoid potential conflicts with Visual Basic Print commands.
Item Argument type: Enumeration
Specifies what should be printed:
rcPrintPartition
Prints the current host partition. This value is relevant only when the session type is 3270 terminal.
rcPrintScreen
Prints the terminal window contents.
rcPrintScreenOrSel
Prints selected text or, if no text is selected, the terminal window contents.
rcPrintSel
Prints selected text or, if no text is selected, prints nothing.
Copies Argument type: Integer
Specifies how many copies should be printed. The range for this argument is 1-99.