Mail Archives: djgpp/1998/10/20/20:26:25
On Sun, 18 Oct 1998 13:28:48 +0200 (IST), Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> wrote:
>
>On Thu, 15 Oct 1998, Tim wrote:
>
>> I was wondering if somebody could tell me if there was a standard
>> easy way to print text to a standard text printer; is there just a
>> "stream" or something?
>
>You can use the predefined stream stdprn.
hi tim, (hope this can help you)
there are some problems related to using stdprn..; you can only use
epson/-compatible printers. other printers need escape sequences to be
correctly adressed. funnily you can write to any (or quite a lot of
them) printer, first writing your text in a temp file and copying the
file afterwards via spawn.. to "prn:" (same as dos "copy foo.tmp
prn:") and you want have the some probs..
thats all i know so far, i read a message in this group where someone
said that is possible to use windows device drivers - this would be
quite a clean solution.. but i dont know how to do it..
mimo
- Raw text -