Bar Code; Esc B N1 N2 N3 N4 D1 - Star StarPRNT SM-L Series Command Specifications

Line thermal printer
Table of Contents

Advertisement

2.3.14. Bar Code

ESC b n1 n2 n3 n4 d1...dk RS
[Name]
Barcode Printing
[Code]
ASCII
ESC
Hex.
1B
Decimal
27
[Defined Area]
0≤n1≤13, 48≤n1≤57 ("0" ≤n≤"9"), 65≤n1≤68 ("A" ≤n≤"D")
1≤n2≤14, 48≤n2≤57 ("0" ≤n≤"9"), 65≤n2≤69 ("A" ≤n≤"E")
1≤n4≤255
n2 (Under-bar character selection), d (bar code data), k (bar code data count) definitions differ
according to the type of bar code.
[Initial Value]
- - -
[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 discarded.
• n1 bar code type selection
n1
Bar code type
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
9, 57
GS1-128
10, 65
GS1 DataBar Omnidirectional
11, 66
GS1 DataBar Truncated
12, 67
GS1 DataBar Limited
13, 68
GS1 DataBar Expanded
• n2 Under-bar character selection and added line feed selection
UPC-E, UPC-A, JAN/EAN8, JAN/EAN13,
n2
1, 49
2, 50
Font A
3, 51
4, 52
Font A
5, 53
6, 54
7, 55
8, 56
9, 57
10, 65
11, 66
12, 67
13, 68
14, 69
Star PRNT Command Specifications
b
n1
n2
n3
n4
62
n1
n2
n3
n4
98
n1
n2
n3
n4
Code128, Code93, Code39, NW-7, ITF
Position of
Font
under-bar
character
- - -
None
Under position
- - -
-
Under position
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
d1
...
dk RS
d1
...
dk
1E
d1
...
dk
30
mPOP
mC-Prin2
SM-L200
mC-Print3
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
X
O
X
O
X
O
X
O
X
Under-bar character type
line feed after
Font
printing
Execute
- - -
Execute
Font A
not execute
- - -
not execute
Font A
- - -
Font A
- - -
Font A
- - -
Font A
- - -
Font A
- - -
Font B
- - -
Font B
- - -
Font B
- - -
Font B
- - -
Font B
- - -
Font B
2-59
SM-L300
SM-S, T Series
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
GS1-128, GS1 DataBar
Position of
line feed after
under-bar
character
None
Under position
None
not execute
Under position
not execute
Upper
Upper
not execute
Upper,Under
Upper,Under
not execute
Under
Under
not execute
Upper
Upper
not execute
Upper,Under
Upper,Under
not execute
printing
Execute
Execute
Execute
Execute
Execute
Execute
Execute

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents