![Megatron MTH-2500 Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/megatron/mth-2500/mth-2500_manual_1765294022.webp)
4.3.8 B
AR
C
ODE
·
ESC " 0 x
1
...x
n (1B 22 00 ... FF Hex = 27 34 0 ... 255 Dec)
Printing the chain x
1
to x
n
as a bar code.
This command must be ended by the FF Hex
= 255 Dec character.
Remark: If the chain contains a non authorized
character or if the resulting bar code exceeds
the paper width, the bar code drawing is replaced by a simple grey pattern
and the erroneous character is replaced by a '?' in the HRI characters.
Example in CODE 39:
ESC " 0 MEGATRON
so in hex:
1B 22 30 4D 45 47 41 54 52 4F 4E FF
·
ESC " 1 n
(1B 22 01 n Hex = 27 34 1 n Dec)
Setting the bar code type
n
Bar Code
Authorized characters
4 (04H) CODE 39
0 to 9, A...Z, Space,$,%,*,+,-,/,.
by default
5 (05H) Interleaved 2 in 5
0 to 9 (even number of characters)
6 (06H) CODABAR
0 to 9, A,B,C,D,E,N,T,$,+,-,=,/,.
Example: Setting CODE 39
ESC " 1 4
so in hex:
1B 22 31 34 or 1B 22 01 04
·
ESC " 2 n
(1B 22 02 n Hex = 27 34 2 n Dec)
Enlargement factor of the bar code where n+1 represents the enlargement
factor ( n between 0 and 3). The default value of n is 0.
Example:
Set Enlargement to 1 ESC " 2 1
so in hex:
1B 22 32 31 or 1B 22 02 01
·
ESC " 3 n
(1B 22 03 n Hex = 27 34 3 n Dec
Height of the bar code where n represents the
number of dot lines of the bar code.
The default value for the height is 48,
therefore 48 * 0.25 mm = 12 mm.
All the n values included between 1 and 255 are available
.
Example:
Set height to 60 lines ESC " 3 <
so in hex:
1B 22 33 3C or 1B 22 03 3C
MTH-2500, 2700 & 3500 v3.4
22