Programming with Reflection
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
Required
Specifies the file to print. Supply complete path information.