Navigation

How to print text and text files in Delphi

This code how to print text and text files. This is the simplest way to
print without using any external functions. All you have to do is open the
LPT1 port (this is the default printer port) as if it where a
file.

This code can be easily ported to Turbo Pascal (just change the function and
variable type names).