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

    Sending escape sequences to printer

    Hello!
    I want send an escape sequence to the printer. When I put it into the string, and then print the string usint CDC:rawText(), 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.


  2. #2
    Join Date
    Apr 1999
    Location
    Michigan, USA
    Posts
    115

    Re: Sending escape sequences to printer

    Have you tried 0x1B ?


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