Thanks Pat:<br><br>Yes I have looked into OPOS. I found no way to utilize networked printers with OPOS so I gave up on it. I have print destinations which are on different computers than the issuing computer. I found a discussion on Microsoft about OPOS in which...
Colin:<br>
<br>
You may want to read my question on sending escape codes to printers. I answered it myself after a couple of days. If you search on PASSTHROUGH in MSDN, you'll find several articles which deal with this. I never did get it to work through GDI and CDC, but what I posted...
Thanks Chip:<br>
<br>
I did find a way. Instead of using a CDC::CreateDevice, I used a newer printer API available in WinSpool.h<br>
<br>
I was then able to OpenPrinter and WritePrinter. WritePrinter goes directly to the printer bypassing the driver. Works very well. Basically:<br>
<br>...
I created a CDC CreateDC to my printer. I can send text with TextOut no problem. I have an Epson 2 color printer that requires ESCr1 to be sent to it to print in red. ESCr0 prints in black. <br>
<br>
I have tried dc.Escape(PASSTHROUGH,0,cstrESC,0,NULL); with no success. (cstrESC = char(27)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.