Send TextFile to Printer

TECH TIP: Send TextFile to Printer

Question: “I designed a application that exports the report to a .txt file using ReportTextFile device. How can I Send the text file to the printer?”

The following procedure will send the .txt file to the printer using Delphi’s TPrinter object.