comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: Output to Printer Problems
Date: Sun, 09 Jun 2002 18:38:17 GMT
Date: 2002-06-09T18:38:17+00:00	[thread overview]
Message-ID: <3D03A0CE.892E3841@acm.org> (raw)
In-Reply-To: 3D03689C.47B4A961@NOTINNEDMEATntlworld.com

Pheet wrote:
> 
> Procedure Print is
> File:FIle_Type;
> Begin
>         open (File, Out_Mode, "LPT1");
>         put(File, "Hello Printer!");
>         close(File);
> ...
> end print;

I have successfully printed from Ada (GNAT) under Win98 by using Create,
rather than Open.

> 
> Any ideas or suggestions on this would be greatfully appreciated, as
> it's starting to irritate me now! :-)

One suggestion would be that you only post your message once.

-- 
Jeff Carter
"I unclog my nose towards you."
Monty Python & the Holy Grail



  reply	other threads:[~2002-06-09 18:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-09 14:39 Output to Printer Problems Pheet
2002-06-09 18:38 ` Jeffrey Carter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-09 15:29 Pheet
2002-06-09 19:31 ` David C. Hoos, Sr.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox