Programming with Reflection

image\rwnprg32.gif PrintScreen method

 

Syntax object.PrintScreen Range, [Copies]

 

Description

Prints the contents of display memory. If the ClosePrinterManually property is True, calling the FlushPrinter method before and after each call to the PrintScreen method is recommended. This way, each job starts on a new page.

Note: This method is equivalent to the Print method. Use this method to avoid conflicts with Visual Basic Print commands.

Arguments

Range Argument Type: Enumeration
Required
The possible values are:

 rcSelection

 Prints the current selection.

 rcScreen

 Prints the current screen in display memory.

 rcAll

 Prints all of display memory (including the current screen).

Copies Argument Type: Integer
Optional
Specifies the number of copies to print. If this argument is omitted, one copy is printed.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command