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: NNTP-Posting-Host: tntaub16-200.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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