>Original sender: "Timmerfabriek Overbeek" <tifa.overbeek_at_introweb.nl>
>Which command have I to use to print
>directly to lpt1, without a windows-box?
>
>I am compiling programs running under dos to swisforth.
>This knows the words: printer ( output to lpt1)
> console ( output to terminal).
Hugo,
Windows does not support printing directly to a printer port.
In Windows, the printer is a device which is drawn on via a
"device context". We do provide services in SwiftForth for
printing to the Windows-recognized installed printers,
In particular, the simplest method of printing is to use
the word >PRINT . This parses the rest of the input line and
directs its output to the printer. For instance, you might
>PRINT HERE 100 DUMP
>PRINT may be used with any words which generate output via
standard EMIT or TYPE functions.
Rick VanNorman
.
Received on Thu Dec 31 1998 - 10:23:25 PST
Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!
This archive was generated 09-Feb-2012. Archive updated nightly.