Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!ncsuvx!mcnc!decvax!ima!mirror!prism!chw
From: chw@prism.TMC.COM
Newsgroups: comp.windows.ms
Subject: Printing Generic
Message-ID: <258700008@prism>
Date: 17 Aug 89 21:21:00 GMT
Lines: 17
Nf-ID: #N:prism:258700008:000:747
Nf-From: prism.TMC.COM!chw    Aug 17 17:21:00 1989



    Has anyone written Windows code that prints to generic tty printers?

    Our application knows how to print to IBMGRX graphics printers using the
Windows Escape() calls, but fails when making the same calls to a Brother
HR-40 daisywheel printer configured with tty.drv.  I know the Brother's 
configuration is correct since I print on it successfully from MS Write. 
None of the Escape() calls abort and I do TextOut()s with a valid HDC, 
but the only output I get is a formfeed.  What's wrong here?  Thanks for 
any suggestions. 

	----
	Christopher H. Wilbur   chw@mirror.TMC.COM
		       {mit-eddie, ihnp4, wjh12, cca, cbosgd, seismo}!mirror!chw
	Mirror Systems	2067 Massachusetts Avenue  Cambridge, MA  02140
	Telephone:	617-661-0777