Initial revision
[AROS-Contrib.git] / development / compilers / freepascal / rtl / win32 / printer.pp
blobbe7eea65dcef88b371f5be1e962b251b530c5465
2 $Id$
3 This file is part of the Free Pascal run time library.
4 Copyright (c) 1999-2000 by Florian Klaempfl
5 member of the Free Pascal development team
7 Printer unit for BP7 compatible RTL
9 See the file COPYING.FPC, included in this distribution,
10 for details about the copyright.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 **********************************************************************}
17 unit printer;
18 interface
20 var
21 lst : text;
23 implementation
25 var
26 old_exit : pointer;
28 procedure printer_exit;
29 begin
30 close(lst);
31 exitproc:=old_exit;
32 end;
35 begin
36 assign(lst,'PRN');
37 rewrite(lst);
38 old_exit:=exitproc;
39 exitproc:=@printer_exit;
40 end.
42 $Log$
43 Revision 1.1 2002/02/19 08:26:26 sasu
44 Initial revision
46 Revision 1.1 2000/07/13 06:31:22 michael
47 + Initial import
49 Revision 1.1 2000/04/06 08:27:33 florian
50 + Initial revision of printer unit for win32, took that one of go32v2