🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#2748
From: Ken SYKES
Date: Mon, 20 May 1991 01:43
14 lines
1012 bytes
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.
Technical Details
Message-ID: <72434@microsoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!microsoft!kensy
References: <6405@vela.acs.oakland.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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