From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,339bd947f5a1c39f X-Google-Attributes: gid103376,public From: mcc@tyrolia.cs.princeton.edu (Martin C. Carlisle) Subject: Re: Printing in Ada Date: 1997/03/18 Message-ID: <5gmj88$7dl$1@cnn.Princeton.EDU>#1/1 X-Deja-AN: 226477191 Organization: US Air Force Academy Newsgroups: comp.lang.ada Date: 1997-03-18T00:00:00+00:00 List-Id: Bryan Hyatt wrote: > > I have the Gnat 3.09 version for Windows 95 of Ada. Is it possible to > send output directly to a printer instead of via a file. You could also try open'ing "lpt1:" if you have it attached. Of course the printer codes are not system independent, so your code would not be portable. Alternatively, you can get the win32ada binding, and use Windows 95 calls to get at the printer. --Martin -- Dr. Martin Carlisle, Asst Prof of Comp Sci, US Air Force Academy Opinions expressed herein are not necessarily those of USAFA. mcc@cs.usafa.af.mil;http://www.usafa.af.mil/dfcs/bios/carlisle.html -- Martin C. Carlisle, Computer Science, US Air Force Academy mcc@cs.usafa.af.mil, http://www.usafa.af.mil/dfcs/bios/carlisle.html DISCLAIMER: The opinions contained herein are not necessarily those of the US Air Force or the US Government.