SATO M-5900RV Operator and Technical Reference Manual
Page B-5
Appendix B. Bar Code Specifications
PN 9001081
Rev. C
UPC-A/EAN-13
Command Structure
<ESC>B3bbccc (data)
<ESC>D3bbccc(data)
<ESC>BD3bbccc(data)
bb = Width of narrow element in dots (01-12)
ccc = Bar height in dots (001-600)
(data) = Bar code data (numeric); must be exactly 13 digits.
For UPC-A, the first digit must be 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 is 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 is 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
foeulaV
"bb"
raBworraN
)slim(htdiW
noitacifingaM
rotcaF
200.01%57
300.51%211
400.02%051
Example
<ESC>H0100<ESC>V0375<ESC>BD30215001234567890
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.