* Re: ada printing
@ 2000-12-31 11:11 rasser
0 siblings, 0 replies; 3+ messages in thread
From: rasser @ 2000-12-31 11:11 UTC (permalink / raw)
To: comp.lang.ada
This should work from for Win98, DOSbox or not. Use "LPT1" in "Open"
instead of "PRN" if you like result is the same with only one printer
port.
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Characters.Latin_1; use Ada.Characters;
procedure Test_Prn is
Outf : File_Type;
begin
Open (Outf, Out_File, "PRN");
Put (Outf, "This is printed on PRN....");
Put (Outf, Latin_1.LF & Latin_1.CR);
Close (Outf);
end Test_Prn;
^ permalink raw reply [flat|nested] 3+ messages in thread
* ada printing
@ 2000-12-28 14:36 thomas
2000-12-28 20:41 ` tmoran
0 siblings, 1 reply; 3+ messages in thread
From: thomas @ 2000-12-28 14:36 UTC (permalink / raw)
any hints\ideas on how to print via LPT1 using ada, or where to go to
get such hints ?
i read an article here with a guy trying to print via text_io.put, with
a file name of prn.
but i got a status_error.
thankyou.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-12-31 11:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-31 11:11 ada printing rasser
-- strict thread matches above, loose matches on Subject: below --
2000-12-28 14:36 thomas
2000-12-28 20:41 ` tmoran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox