Click to See Complete Forum and Search --> : Sending escape sequences to printer


June 2nd, 1999, 06:12 AM
Hello!
I want send an escape sequence to the printer. When I put it into the string, and then print the string usint CDC::DrawText(), it simple shows dots (.) in place of the escape sequence.
I tried to use the CDC::Escape() to send the sequence, but I couldn't find, wich value should I send for first parameter (nEscape). I tried PASSTHROUGH, but it didn't work. All I need is to send string like \a or "\x01B\x007" to printer.

What should I do?

Thank you in advance,
Jack Black.

Gary Grant
June 2nd, 1999, 07:05 AM
Have you tried 0x1B ?