🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2755

Re: HOW CAN I SEND A TEXTSTREAM TO PRINTER W/O USING DC COMMANDS !!!

#2755
From: Alan Phillips
Date: Mon, 20 May 1991 11:53
13 lines
1260 bytes
In article <72434@microsoft.UUCP> kensy@microsoft.UUCP (Ken SYKES) writes:
>In article <6405@vela.acs.oakland.edu> rdthomps@vela.acs.oakland.edu (Robert D. Thompson) writes:
>>
>>	I want to use the PRINT MANAGER and be able to dump a text
>>	file with CR's and LF's to a printer - just to print text.

>Check out the PASSTHROUGH escape.  Once you create the printer DC and
>send the STARTDOC you can use PASSTHROUGH to send the remainder of the
>data.

SDK reference says "in general, apps must avoid resetting the printer or causing
the page to be printed" when using PASSTHROUGH. I've certainly not managed
to send any coherent text to a DJ500 with it - if you maneg it, let me know!
Technical Details
Message-ID: <1316@dcl-vitus.comp.lancs.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!ukc!dcl-cs!alan
References: <6405@vela.acs.oakland.edu> <72434@microsoft.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!ukc!dcl-cs!alan
From: alan@comp.lancs.ac.uk (Alan Phillips)
Newsgroups: comp.windows.ms.programmer
Subject: Re: HOW CAN I SEND A TEXTSTREAM TO PRINTER W/O USING DC COMMANDS !!!
Message-ID: <1316@dcl-vitus.comp.lancs.ac.uk>
Date: 20 May 91 11:53:48 GMT
References: <6405@vela.acs.oakland.edu> <72434@microsoft.UUCP>
Reply-To: alan@comp.lancs.ac.uk (Alan Phillips)
Organization: Department of Computing at Lancaster University, UK.
Lines: 13