ESC ~ J n (Valid in CBM1000II-Compatible Mode)

[Function]

Specifies/cancels printing in red (black-based paper)

[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-based thermal paper. Specifies or cancels printing in

 

 

 

black on red-based thermal paper.

 

 

 

• “n” is valid only for the lowest bit (n0).

 

 

 

Control by the lowest bit (n0) is shown as follows:

 

 

 

 

 

 

 

 

 

 

 

n0

 

 

Function

 

 

 

 

Black-based Paper

 

Red-based Paper

 

 

 

 

 

 

 

 

 

0

 

Cancels red printing

 

Cancels black printing

 

 

 

1

 

Specifies red printing

 

Specifies black printing

[Caution]

Valid when 2-color paper is specified by the ESC ( E command.

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 (black-based paper) is used.

— 26 —

Page 31
Image 31
Citizen CT-S300 manual ESC ~ J n Valid in CBM1000II-Compatible Mode, Black-based Paper Red-based Paper