ESC/ P Command Reference

Table Of Contents
ESC/P Command Reference
- 76 -
5. Control Command Details
Note
* For parameter numerals 09, both 00h–09h and 30h39h are recognized.
* For parameter type, both ‘a-‘hand ‘A’-‘H’ are recognized.
* The parameter parentheses deletionis available only when GS1-128 (UCC/EAN-128) is selected.
* The parameter ratio between thick and thin barsis available only when t0, t1 or t9 is selected.
* The parameter equalize bar lengthsis available only when t5 or t6 is selected.
* If any other type is selected, these parameters are ignored.
* When there is no type command or an invalid type command has been specified, CODE39 is
specified.
* The number of characters that can be entered for each barcode type is as follows:
t0:
1–50 characters (“*” is not included)
t1:
1–64 characters
t5:
7 characters (for EAN-8)
12 characters (for EAN-13)
11 characters (for UPC-A)
t6:
6 characters
t9:
3–64 characters (Must begin and end with A, B, C, or D.)
ta:
1–64 characters
tb:
1–64 characters
tc:
3–15 characters (begins with “01”) (except with GS1 Databar Expanded)
Third digit is “0or “1”. (for GS1 Databar Limited)
1–64 numbers or 1–40 letters* (for GS1 Databar Expanded)
* ISO646 characters can be printed.
(numbers, letters, spaces, !, ”, %, &, ’, (, ), *, +, ,, -, ., /, :, ;, <, =, >, ? and _)
td:
1–64 characters
te:
5 characters, 9 characters, 11 characters
tf:
2 characters, 5 characters
tg:
1–14 characters
th:
20 characters, 25 characters, 29 characters, 31 characters (Second digit is “0-“4”)
(2) B or b: Beginning of barcode data
(3) [Barcode data]: Barcode data
? (Generate check digit):
Generates a check digit when “? is in the barcode data.
The position of “?” is irrelevant as long as it is within the barcode data.
With POSTNET, CODE93, UPC/EAN EXTENSION, CODE128, GS1-128(UCC/EAN-128) and
Intelligent Mail Barcode, no check digit is generated.
If “?” is inserted, it is treated as barcode data.