community.borland.com

Article #15295: Redirecting printer output

 Technical Notes Database

TN295D.txt   Redirecting printer output
Category   :Pascal
Platform    :All
Product    :Turbo Pascal  5.5

Description:
Q. How do you send a program's output to the printer?
A. Use the LST file variable declared in the PRINTER
     unit. For example:

         Program SendToPrinter;
         Uses Printer;
         Begin
           Writeln(LST,'This will go to the printer.');
         End.


Reference:


7/16/98 4:35:30 PM
 

Last Modified: 01-SEP-99