Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!microsoft!kensy From: kensy@microsoft.UUCP (Ken SYKES) Newsgroups: comp.windows.ms.programmer Subject: Re: HOW CAN I SEND A TEXTSTREAM TO PRINTER W/O USING DC COMMANDS !!! Message-ID: <72434@microsoft.UUCP> Date: 20 May 91 01:43:49 GMT References: <6405@vela.acs.oakland.edu> Reply-To: kensy@microsoft.UUCP (Ken SYKES) Organization: Microsoft Corp., Redmond WA Lines: 14 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. > > BUT, I don't want to use TextOut(hPR,x,y...) and I don't want > to simply open the port and dump the 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. Ken Sykes Disclaimer: The above opinions are solely my own.