AssignPrn

Belongs to : Procedure

Description

The AssignPrn procedure assigns the printer to a FileHandle. This means that subsequent text writing to this file gets rerouted to the printer. This provides a simpl and easy way of dumping out text to a printer.

Notes
Warning : The AssignPrn mechanism is useful for simple programs, but lacks any control over printing for a real application.




Example code