Click to See Complete Forum and Search --> : How can i send ESC-Sequences to the Printer


PACUS
April 2nd, 1999, 08:16 AM
How can I send a ESC Sequence to the Printer like ESC 2 20
Wenn I try

CDC pDC;
pDC->TextOut (0,0,"Hello /033/002 20");

he prints only the complett string ;-(

I found a Funktion pDC->Escape (....); but i don't know how it works..
Nothing happens when i try it...

April 12th, 1999, 02:32 AM
ESC Seq, means you need to send a series of ascii characters to the printer.
Here ESC means CHAR(27).
Build a string with the sequence and send it to the printer.

Good luck
__Vijay VM