Programming with Reflection

image\rwnprg32.gif PrintScreen method

 

Syntax object.PrintScreen Item, Copies

 

Description

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.

Arguments

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.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command