comp.lang.ada
 help / color / mirror / Atom feed
* Re: Ada i-face to printer on WIN NT 4.0.
  1998-10-15  0:00 Ada i-face to printer on WIN NT 4.0 Roga Danar
@ 1998-10-15  0:00 ` Dmitriy Anisimkov
  1998-10-15  0:00   ` Roga Danar
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitriy Anisimkov @ 1998-10-15  0:00 UTC (permalink / raw)
  To: smithm

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Ada i-face to printer on WIN NT 4.0.
@ 1998-10-15  0:00 Roga Danar
  1998-10-15  0:00 ` Dmitriy Anisimkov
  0 siblings, 1 reply; 3+ messages in thread
From: Roga Danar @ 1998-10-15  0:00 UTC (permalink / raw)


Hi,

  I am looking for some sample Ada code that will provide a way to send
data to a printer.

  Thanks in advance,

  Michael

  If replying directly use: smithm@stelnj.com





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Ada i-face to printer on WIN NT 4.0.
  1998-10-15  0:00 ` Dmitriy Anisimkov
@ 1998-10-15  0:00   ` Roga Danar
  0 siblings, 0 replies; 3+ messages in thread
From: Roga Danar @ 1998-10-15  0:00 UTC (permalink / raw)
  To: Dmitriy Anisimkov



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)






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-10-15  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-15  0:00 Ada i-face to printer on WIN NT 4.0 Roga Danar
1998-10-15  0:00 ` Dmitriy Anisimkov
1998-10-15  0:00   ` Roga Danar

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