Printer

From Delphi Pascal wiki
Jump to navigation Jump to search

The Printer unit (PRINTER.TPU) declares a text file called Lst and associates it with the LPT1 device.

var   Lst : text;

When you use the Printer unit, you don't need to declare, assign, open, and close a text file yourself when you use your printer from within a program.