Programming with Reflection
PrintScreen method
Syntax object.PrintScreen Range, [Copies]
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.
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.