Sending Escape Sequences
Moderators:daleadmin, Dale Harris, Alan, Andrew
Is there any way of sending an escape sequence to the COM Port for Serial Printers? For example, sending <ESC>4 WELCOME then an <ESC>5. My Serial Printer uses Escape Sequences to switch the color up and down, but I've yet to figure out the Escape Sequence in DOS. Please help.
- Dale Harris
- Forum Owner
- Posts:1171
- Joined:Sun Dec 28, 2003 10:19 pm
- Location:Chicago
- Contact:
Re: Sending Escape Sequences
mrk85,
There are two problems here. First of all it is a serial printer. Please read this http://www.dhpos.com/discuss/phpbb3/vie ... ?f=1&t=607
Second, the program does not support things like font and font sizes, bold, italic, or underline, or colors becasuse these things have different control codes for each printer. I have a hard enough time just finding the control codes for popping open the cash drawer.
Sorry,
There are two problems here. First of all it is a serial printer. Please read this http://www.dhpos.com/discuss/phpbb3/vie ... ?f=1&t=607
Second, the program does not support things like font and font sizes, bold, italic, or underline, or colors becasuse these things have different control codes for each printer. I have a hard enough time just finding the control codes for popping open the cash drawer.
Sorry,
Dale
- brucef2112
- Forum Regular
- Posts:336
- Joined:Mon Mar 06, 2006 11:19 pm
- Location:Broward County, Floriduhh
- Contact:
Re: Sending Escape Sequences
Dale,
You bear and endure the pain, difficulty, provocation, and annoyance of COM ports and Serial Printer questions with such calmness.
You have the patients of a saint.
Bless you...
You bear and endure the pain, difficulty, provocation, and annoyance of COM ports and Serial Printer questions with such calmness.
You have the patients of a saint.
Bless you...
Later,
Bruce
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
Benjamin Franklin - Historical Review of Pennsylvania, 1759
Bruce
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
Benjamin Franklin - Historical Review of Pennsylvania, 1759
Re: Sending Escape Sequences
Bruce,
You do not know what I do after dealing with serial printer disasters.
I go into the other room and I am very rude to my cat.
Fortunately she does not care and basically ignores me.
But I feel better afterwards.
Dale
You do not know what I do after dealing with serial printer disasters.
I go into the other room and I am very rude to my cat.
Fortunately she does not care and basically ignores me.
But I feel better afterwards.
Dale
Who is online
Users browsing this forum: No registered users and 167 guests