bigwood177
Programmer
I'm having a difficult time changing the color of one word in a line of text from black to some color, can someone help me understand what's happening in the following examples?
I'm using a HP Business InkJet 1200
Thanks,
Wood
I've add my own comments after the ";"
----- test 1 -----
this is black<esc>*r-3U<esc>*vSCyan<esc>*r1U
<esc>*r-3U<esc>*v6SRed <esc>*r1U<esc>*v1SBlack
<esc>*r-3U<esc>*v3SBlue <esc>*r1U<esc>*v1SBlack
Result: my comments
this is black Cyan ;in correct colors
Red Black ;in correct colors
Blue Black ;in correct colors
-------end of test 1 ---------
----- test 2 -------
this is black<esc>*r-3U<esc>V1SCyan<esc>*r1U
<esc>*r-3U<esc>*v6SRed <esc>*r1U
<esc>*r-3U<esc>*v3SBlue <esc>*r1U<esc>*v1SBlack
Result:
this is black Cyan ;in correct colors
;blank line
Blue Black ;in correct colors
---- end of test 2 ----
----- test 3 -----
this is black<esc>*r-3U<esc>V1SCyan<esc>*r1U
<esc>*r-3U<esc>*v6SRed <esc>*r1U<esc>*v1S
<esc>*r-3U<esc>*v3SBlue <esc>*r1U<esc>*v1SBlack
Result:
this is black Cyan ;in correct colors
;blank line
Blue Black ;in correct colors
-------end of test 3 ---------
----- test 4 -----
this is black<esc>*r-3U<esc>V1SCyan<esc>*r1U
<esc>*r-3U<esc>*v6SRed <esc>*r1U<esc>*v1S.
<esc>*r-3U<esc>*v3SBlue <esc>*r1U<esc>*v1SBlack
Result:
this is black Cyan ;in correct colors
unreadable line ;line the height of the "."
Blue Black ;in correct colors
-------end of test 4 ---------
I'm using a HP Business InkJet 1200
Thanks,
Wood
I've add my own comments after the ";"
----- test 1 -----
this is black<esc>*r-3U<esc>*vSCyan<esc>*r1U
<esc>*r-3U<esc>*v6SRed <esc>*r1U<esc>*v1SBlack
<esc>*r-3U<esc>*v3SBlue <esc>*r1U<esc>*v1SBlack
Result: my comments
this is black Cyan ;in correct colors
Red Black ;in correct colors
Blue Black ;in correct colors
-------end of test 1 ---------
----- test 2 -------
this is black<esc>*r-3U<esc>V1SCyan<esc>*r1U
<esc>*r-3U<esc>*v6SRed <esc>*r1U
<esc>*r-3U<esc>*v3SBlue <esc>*r1U<esc>*v1SBlack
Result:
this is black Cyan ;in correct colors
;blank line
Blue Black ;in correct colors
---- end of test 2 ----
----- test 3 -----
this is black<esc>*r-3U<esc>V1SCyan<esc>*r1U
<esc>*r-3U<esc>*v6SRed <esc>*r1U<esc>*v1S
<esc>*r-3U<esc>*v3SBlue <esc>*r1U<esc>*v1SBlack
Result:
this is black Cyan ;in correct colors
;blank line
Blue Black ;in correct colors
-------end of test 3 ---------
----- test 4 -----
this is black<esc>*r-3U<esc>V1SCyan<esc>*r1U
<esc>*r-3U<esc>*v6SRed <esc>*r1U<esc>*v1S.
<esc>*r-3U<esc>*v3SBlue <esc>*r1U<esc>*v1SBlack
Result:
this is black Cyan ;in correct colors
unreadable line ;line the height of the "."
Blue Black ;in correct colors
-------end of test 4 ---------