User Guide

88
Bar code control codes
This command becomes effective when the "Bar code command" in the extended setup
options is set to "MODE1 or MODE2".
To print a bar code from your host, firstly set the bar code type designation and a desired
print sizes. Then send the bar code data with BAR CODE DATA sequence(DC4 DC4 B).
Most bar code type has a variable data length, if you want to add a check digit
automatically, set check digit YES in the setup options and send data with one less digit.
Fixed data length bar code type is specified with the number of digit in the summary table
below.
Bar code type summary
Notes:(1) Bar code output from the sample data is shown on page 45.
(2) B and S in the construction item represents (wide/narrow)bar and (wide/narrow)
space, respectively.
(3) LB and SB represents long and short bars, respectively.
(4) Bar code type with * consists of 4 elements; narrow bar, medium bar (wide width),
wide bar (2 x medium width - narrow width), and narrow space.
Bar code Construction ICG letters (#) Check digit Sample data (excl. check digit)
Industrial 2/5 5B4S Yes 0-9 Yes (Mod 10) 1234567
Interleave 2/5 5B5S (2 letters) No 0-9 Yes (Mod 10) 1234567
Data length+check=Even number
Codabar 4B3S Yes 0-9, ab,...(24) No 1234567
Start/End code must be specified by non-numeric letters
Matrix 2/5 3B2S Yes 0-9 Yes (Mod 10) 1234567
Code 11 3B2S Yes 0-9,"-" Yes (Mod 11) 1234567
Start (
)/End (
) code. Dual check digit
Code 39 5B4S Yes 0-9, AB,...(43) Yes (Mod 43) 1234567
Start/End code="
*
"
Code 93* 3B3S No ASCII (128) Yes (Mod 47) 1234567
Dual check digit
Code 128* 3B3S No ASCII (128) Yes (Mod 103) 1234567
EAN-8* 2B2S No 0-9 Yes (Mod 10) 1234567
8 digits (2 prefix+5 data+check)
EAN-13* 2B2S No 0-9 Yes (Mod 10) 123456789012
13 digits (2 prefix+10 data+check)
UPC-A* 2B2S No 0-9 Yes (Mod 10) 01234500006
12 digits (NSC+10 data+check)
UPC-E* 2B2S No 0-9 Yes (Mod 10) 01234500006
UPC-A (12 digits) data is shortened to UPC-E (10 digits) data automatically.
Postnet 2LB3SB No 0-9 Yes (Mod 10) 123456789
6, 10, or 12 digits (data+check)
B. Control code summary (bar code)