Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by kerryeven

  1. kerryeven

    Sending printer escape control codes

    Thanks Pat:<br><br>Yes I have looked into OPOS.&nbsp;&nbsp;I found no way to utilize networked printers with OPOS so I gave up on it.&nbsp;&nbsp;I have print destinations which are on different computers than the issuing computer.&nbsp;&nbsp;I found a discussion on Microsoft about OPOS in which...
  2. kerryeven

    How to change print page properties within application?

    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...
  3. kerryeven

    Sending printer escape control codes

    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>...
  4. kerryeven

    Sending printer escape control codes

    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)...

Part and Inventory Search

Back
Top