Esc gs 4 m n – Star Micronics Line Thermal/Dot Printer User Manual
Page 33

Rev. 0.00
3-21
STAR Line Mode Command Specifications
ESC GS 4 m n
[Name] Select red/black substitute function [ESC 4/5 setting]
[Code]
ASCII
ESC
GS
4
m
n
Hexadecimal
1B
1D
34
m
n
Decimal
27
29
52
m
n
[Defined Area]
Thermal
: -
Slip
: m = 1, 2, 49, 50
When m = 1, 49 (“1”)
: n = 0 to 3, 255
When m = 2, 50 (“2”)
: n = 0, 2 to 5
When m = 83 (“S”)
: n = 0, 1
Validation
: m = 1, 2, 49, 50
When m = 1, 49 (“1”)
: n = 0 to 3, 255
When m = 2, 50 (“2”)
: n = 0, 2 to 5
When m = 83 (“S”)
: n = 0, 1
[Initial Value]
Thermal
: -
Slip
: Memory switch setting
Validation
: Memory switch setting
[Function]
Only setting is valid
Setting is valid after switching to slip or validation.
Selects red/black substitute function
Selects characters targeted for adornment with m = 1 (ANK) or m = 2 (Japanese characters), and
selects the ESC 4/ESC 5 command functions with n.
Sets the handling of adornment to space characters (ASCII 20Hex) with m = 83.
This command is enabled only when in a state where adornment is cancelled by ESC 4 (when ESC
5 was specified).
• When m = 1, 48 Targeted characters = ANK
m
n
ESC 4/ESC 5 command functions (ANK)
1, 49
0
White/black inverted printing (1 Pass)
1, 49
1
1, 49
2
1, 49
3
1, 49
255
No adornment
• When m = 2, 50 Targeted characters = Japanese Characters
m
n
ESC 4/ESC 5 command functions (Japanese characters)
2, 50
0
No adornment
2, 50
2
2, 50
3
2, 50
4
2, 50
5
When using ESC 5 to cancel adornments, it returns to the previously set adornments. (Adornments
such as underline, upper line, double-tall expanded and enhancing are cancelled if there is no com-
mand to set them (for example the ESC - -1 specification for underlines).