CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1

    How can i send ESC-Sequences to the Printer

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




  2. #2
    Guest

    Re: How can i send ESC-Sequences to the Printer

    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












Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured