[plt-scheme] redirecting to printer port
Look at printer-dc. Also, if you can put your data into a text% object,
you can send it the print method.
For example:
(define t (make-object text%))
(send t insert "ab\ncd")
(send t print)
Robby
At Mon, 14 Apr 2003 12:45:37 EDT, TheKoRnKilleR at aol.com wrote:
> ------------------------------------------------------------------------------
> hello
> I've looked at the scheme doc but I have found nothing concerning the printer
> port.
> I've build a little application and I handle datas with it, then I'd like to
> print my datas to my default printer.
> Can I do that ? and if it is possible what should I do ?
>
> thanks
>
> ------------------------------------------------------------------------------
> hello
> I've looked at the scheme doc but I have found nothing concerning the printer port.
> I've build a little application and I handle datas with it, then I'd like to print my datas to my default printer.
> Can I do that ? and if it is possible what should I do ?
> thanks