delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/20/20:26:25

From: mimo AT gewi DOT kfunigraz DOT ac DOT at (mimo)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Is there a standard easy way to print to a printer?
Date: Wed, 21 Oct 1998 01:21:46 GMT
Organization: MimoLand
Lines: 28
Message-ID: <362cd784.5021771@news.wanadoo.fr>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 981018132817 DOT 2705P-100000 AT is>
NNTP-Posting-Host: tntaub16-200.abo.wanadoo.fr
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019