Previous: PenWin UNit To the Table of Content Next: Regstr Unit

- 4.56 -
Standard Units

The Printer Unit

Targets: MS-DOS, OS/2, Win32


The Printer unit 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.

Example:
uses Printer;
begin
  WriteLn(Lst, 'Your printer works properly!');
end.





Previous: PenWin UNit To the Table of Content Next: Regstr Unit
PenWin UNit Table of Content Regstr Unit

- 4.56 -