How to print escape sequences in a printer?

Hi all,
   I'am basically trying to to print some escape sequences along with certain characters to invoke a certain type of printing in printers. Let me explain the problem in brief. I have a dot matrix printer which when sent with certain escape sequences it will print in a certain language. I tried giving the print sequence by booting in dos, typing in a editor, echo sequences etc but it didn't work.

Please help me out on how to go about printing the escape sequences..

Thanks in advance,

Jagan R
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What program are you using? There should be a way within your program to send hex codes. If I remember correctly hex 27 is esc. So you send hex27 followed by the second char of the sequence.
rjaganAuthor Commented:
  Thanks a lot for your answer. I got it..

¿Was Joed the right answer?  If not, ¿what's the problem you have?
ESC is X1B, or decimal 27, not X27.
I agree with viiking, I'd like to know what the answer was.

My name is MudSystems EngineerCommented:
No no no... you're all wrong, first, you have to check if you have permission, check that your license plates are the correct one, the fill out a form, send the original with 4 copies, and beep the manager, then you'll need to check behind the big boss for the secret treasure, after that, you need a secret password to reinstall windows, and that's it...

Now give me the points...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.