Re: prt screen
On Sun, 1 Jun 1997 16:24:08 +0100 Jean Hendrickx
<jean.hendrickx at EURONET.BE> writes:
>Hi Euphorians,
>
>I did a program which displays diagrams on the screen,
>and I want to print them (A partial print screen).
>Can somebody give me an idea how to do that ?
>Thank you for any suggestion.
>Jean.Hendrickx
>
Don't know what your doing here.
LPT1 is the printer.
You should be able to do this.
integer printer
printer = open ("lpt1", "wb")
puts (printer, "Text going to printer.\n")
puts (printer, "More stuff to printer.\n")
close (printer)
\n is a linefeed you may need to include a
carriage return.
integer printer
printer = open ("lpt1", "wb")
puts (printer, "Text going to printer.")
puts (printer, {13, 10}) -- carriage return and linefeed.
puts (printer, "More stuff to printer.\n")
puts (printer, {13, 10}) -- carriage return and linefeed.
close (printer)
If you want to print graphics you will have to get or
develop a graphics driver for your printer.
|
Not Categorized, Please Help
|
|