3-10) bar codes, Esc b n1 n2 n3 n4 d1 . . . dk rs – Star Micronics Line Thermal/Dot Printer User Manual
Page 70

Rev. 0.00
3-58
STAR LIne Mode Command Specifications
3-3-10) Bar Codes
ESC b n1 n2 n3 n4 d1 . . . dk RS
[Name] Print bar code
[Code]
ASCII
ESC
b
n1
n2
n3
n4
d1
..
dk
RS
Hexadecimal
1B
62
n1
n2
n3
n4
d1
..
dk
1E
Decimal
27
98
n1
n2
n3
n4
d1
..
dk
30
[Defined Area]
Thermal
: 0 ≤ n1 ≤ 8, 48 ≤ n1 ≤ 56 (“0” ≤ n1 ≤ “8”)
1 ≤ n2 ≤ 4, 49 ≤ n2 ≤ 52 (“1” ≤ n2 ≤ “4”)
1 ≤ n4 ≤ 255
n3 (bar code mode), d (bar code data),
Defined area of k (bar code data count) is different depending on the bar code type.
Slip
: -
Validation
: -
[Initial Value]
Thermal
: -
Slip
: -
Validation
: -
[Function]
Bar code printing is executed according to the following parameters.
If n1, n2, n3 and n4 are acquired and detected to be out of the defined area, data up to RS is dis-
carded.
• n1: Bar Code Type Selection
n1
Bar Codes Types
0, 48
UPC-E
1, 49
UPC-A
2, 50
JAN/EAN8
3, 51
JAN/EAN13
4, 52
Code39
5, 53
ITF
6, 54
Code128
7, 55
Code93
8, 56
NW-7
• n2: Character Selection Under Bar Code, and Line Feed Addition Selection
n2
Under-bar character selection and added line feed selection
1, 49
No added under-bar characters Executes a form feed after bar code is printed.
2, 50
Added under-bar characters Executes a form feed after bar code is printed.
3, 51
No added under-bar characters Does not execute a form feed after bar code is printed.
4, 52
Added under-bar characters Does not execute a form feed after bar code is printed.