Escape function - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Escape function

Hi,
I am using Delphi5. I want to send some data directly to printer through escape sequences. I am using Escape function (Windows API).

Can any one please give one working example of the same?

Please make it fast.

Comments

  • zibadianzibadian Posts: 6,349Member
    : Hi,
    : I am using Delphi5. I want to send some data directly to printer through escape sequences. I am using Escape function (Windows API).
    :
    : Can any one please give one working example of the same?
    :
    : Please make it fast.
    :
    If I was you, I'd use the TPrinter object for that. With the TPrinter you can simply paint the output onto its Canvas property.
  • Chaitanya_PuneChaitanya_Pune Posts: 87Member
    : : Hi,
    : : I am using Delphi5. I want to send some data directly to printer through escape sequences. I am using Escape function (Windows API).
    : :
    : : Can any one please give one working example of the same?
    : :
    : : Please make it fast.
    : :
    : If I was you, I'd use the TPrinter object for that. With the TPrinter you can simply paint the output onto its Canvas property.
    :

    ---------------------------------------------------------------------
    I know. That works fine. But Escape sequences are more reliable and accurate. For my requirement I need to use it. Can you give example?


Sign In or Register to comment.