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,ab7955b47c75a0a4 X-Google-Attributes: gid103376,public From: Roga Danar Subject: Re: Ada i-face to printer on WIN NT 4.0. Date: 1998/10/15 Message-ID: <36264222.701E6D11@stelnj.com>#1/1 X-Deja-AN: 401420292 Content-Transfer-Encoding: 7bit References: <3626180F.975F8B4D@stelnj.com> <362624F8.F575356C@chat.ru> To: Dmitriy Anisimkov Content-Type: text/plain; charset=us-ascii X-Trace: news1.exit109.com 908473210 28701 208.225.73.22 (15 Oct 1998 17:40:10 GMT) Organization: AlphaSoft, Inc. Mime-Version: 1.0 Reply-To: nospam@nospam.com NNTP-Posting-Date: 15 Oct 1998 17:40:10 GMT Newsgroups: comp.lang.ada Date: 1998-10-15T17:40:10+00:00 List-Id: Dmitriy Anisimkov wrote: > Roga Danar wrote: > > I am looking for some sample Ada code that will provide a way to send > > data to a printer. > > Simply open a text file with "LPT1" or "PRN" name and write there. Hi Dmitriy, I just attempted the suggestion and it failed with an exception. I pretty sure if it were a DOS program it would be okay, but I think the WIN NT OS is controlling the port. Thanks for the reply, however. Michael (smithm@stelnj.com)