Programming with Reflection

image\rwnprg32.gif PrintFile method


Syntax object.PrintFile Filename



Prints the specified file, using Reflection's built-in printing support. All related printing properties (such as PrinterFontName and PrinterRows) are applied to the printed output. If the ClosePrinterManually property is set to True, then the FlushPrinter method should be called, after the PrintFile method, to ensure that the printer prints the file.


Filename Argument Type: String
Specifies the file to print. Supply complete path information.


image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command