Appendix B. Bar Code Specifications
SATO Programming Reference Page B-5
UPC-A/EAN-13
COMMAND STRUCTURE <ESC>B3bbccc (data)
<ESC>D3bbccc (data)
<ESC>BD3bbccc (data)
bb
ccc
(data)
=
=
=
Width of narrow element in dots (01-12)
Bar height in dots (001-999)
Bar code data (numeric); must be exactly 13 digits. For
UPC-A, the first digit must be a zero and the last 11 digits
are the actual UPC-A data followed by a check digit.
To select UPC-A, 11 digits of data is sent. The printer adds a “0” and
automatically generates the check digit. If 12 digits of data are sent, the
printer assumes an EAN-13 symbol and automatically generates the
check digit. The last digit of the bar code data is a modulo 10 check digit.
If 13 digits of data are sent to the printer, the check digit is not created and
must be supplied by the programmer. It must be the last character in the
13 digit string and can be determined by using the calculations outlined
below.
CHARACTER SET 0-9 (numeric only)
DENSITY TABLE
NOTES D3 provides guide bars that extend longer than the rest of the bar code.
BD3 provides guide bars and the human readable text below the symbol.
EXAMPLE <ESC>H0100<ESC>V0375<ESC>BD30215001234567890
Printer
Resolution
Value
of “bb”
Narrow Bar
Width (mils)
Magnification
Factor
600 dpi
05 8.3 Below Minimum
06 10.0 75%
07 11.7 87.5%
08 13.3 100%
300 dpi
02 6.7 Below Minimum
03 10.0 75%
04 13.3 100%
200 dpi
02 10.0 75%
03 15.0 112%
04 20.0 150%