Appendix B. Bar Code Specifications
SATO Programming Reference Page B-3
Code 39
COMMAND STRUCTURE 1:3 ratio:
2:5 ratio:
1:2 ratio:
<ESC>Blbbccc* (data) *
<ESC>BD1bbccc* (data) *
<ESC>D1bbccc* (data) *
bb
ccc
*
(data)
= Width of narrow element in dots (01-12)
Bar height in dots (001-999)
Required Start and Stop character (asterisk)
Bar code data (alphanumeric)
CHARACTER SET 0-9, A-Z, Space, $, %, +, -, .,/,* (Start/Stop character)
DENSITY TABLE
EXAMPLE <ESC>H0100<ESC>V0025<ESC>B103100*CODE 39*
<ESC>H0230<ESC>V0130<ESC>XS*CODE 39*
NOTES You must add the”*” Start/Stop characters to the data stream. The printer
does not add them automatically.
Printer
Resolution
Narrow/
Wide
Ratio
Value
of “bb”
“X”
Dimension
(mils)
Density
(char/inch)
1:3 02 3.3 18.8
1:3 03 5.0 12.7
2:5 01 3.3 10.3
1:2 02 3.3 11.56
1:2 03 5.0 7.0
300 dpi
1:3 01 3.3 18.8
1:3 02 6.7 9.5
2:5 01 3.3 10.3
1:2 02 6.7 23.1
1:2 01 3.3 11.5
200dpi
1:3 01 5.0 12.7
1:3 02 10.0 6.4
2:5 01 10.0 7.0
1:2 01 5.0 15.6
1:2 02 10.0 7.8