ESC ~ J n (Valid in CBM1000II-Compatible Mode)
[Function] | Specifies/cancels printing in red | ||||||
[Code] | <1B>H<7E>H<4A>H<n> |
|
| ||||
[Range] | 0 | n | 255 |
|
|
| |
[Outline] | Specifies or cancels printing in red. |
|
| ||||
| • | Red printing is valid on | |||||
|
|
| black on |
|
| ||
| • “n” is valid only for the lowest bit (n0). |
|
| ||||
| • | Control by the lowest bit (n0) is shown as follows: | |||||
|
|
|
|
|
|
|
|
|
|
| n0 |
|
| Function | |
|
|
|
|
|
|
| |
|
|
|
|
|
| ||
|
|
| 0 |
| Cancels red printing |
| Cancels black printing |
|
|
| 1 |
| Specifies red printing |
| Specifies black printing |
[Caution] | • | Valid when |
•Valid only when dedicated thermal paper is used.
•This command must not be used for normal thermal paper.
•Conducting pulse amount after cancellation is standard value. At the time of setting, conducting pulse amount is increased to change the coloring.
[Default] | n = 0 |
[Sample Program]
LPRINT CHR$(&H1B);"~";"J";CHR$(1);
LPRINT "AAAAA";CHR$(&HA);
LPRINT CHR$(&H1B);"~";"J";CHR$(0);
LPRINT "AAAAA";CHR$(&HA);
[Print Results]
AAAAA← Red printing AAAAA ← Black printing
* When dedicated thermal paper
— 26 —