Star Micronics RS232 Printer User Manual


 
– 26 –
STAR MODE
FUNCTION
Select bar code printing
CODE
<ESC> “b” n1 n2 n3 n4 di ... dk <RS>
HEX
1B 62 n1 n2 n3 n4 di ... dk 1E
REMARKS
Prints bar code according to the value of n1, as shown below:
n1: Type of bar code
0 UPC-E
1 UPC-A
2 JAN/EAN-8
3 JAN/EAN-13
4 CODE 39
5 ITF
6 CODE 128
7 CODE 93
8 NW-7
The value of n1 can be set to 0(00H) or 8(08H) or “0”(30H) to
“8”(38H).
n2: Printing character below bar code or line feed
1 Character below bar code is not printed, Line feed is
performed after execution of command.
2 Character below bar code is printed, Line feed is
performed after execution of command.
3 Character below bar code is not printed, Line feed is
not performed after execution of command.
4 Character below bar code is printed, Line feed is not
performed after execution of command.
The value of n2 can be set to 1(01H) to 4(04H) or “1”(31H) to
“4”(34H).
n3: Mode of bar code
UPC-E, UPC-A, JAN/EAN-8, JAN/EAN-13, CODE 128,
CODE 93
1 Minimum module 2 dots
2 Minimum module 3 dots
3 Minimum module 4 dots