Epic 3000
Programmer’s Guide
Programming Codes
100-14362
Rev A
Page 99
Code 128 Auto Encoding
To have the printer selected code set and automatically generate an optimal barcode,
the value of Code should be the length.
Function
Code 128 Automatic Encoding
ASCII
[ESC] b <2> <Length>{information}
Hexadecimal
1BH 62H <2> <Length>{information}
Decimal
<27> <98> <2> <Length>{information}
If the first character <Length> is from 1 to 31, the printer will automatically select Code
A, B, or C depending on the data present. If the data is all numeric, the data can be
printed as pairs. This effectively doubles the amount of data that can be printed. The
check digit is generated and printed by the printer. In this mode the exact data sent to
the printer is encoded. There is no offset, function code, or shift code requirements.
For example the following is printed in a mixture of code A and C encoding:
[ESC] b <2> <10>NUM 123456
Figure 10 Automatic Encoding Example
Note:
If the first character is greater than <31> and not <135> through
<137>, the printer will discard the first character and print the data as
defined in Code A.
In automatic mode, any ASCII data from 0 to 127 could be entered. Values less than 32
will be encoded as Code stick A NUL- US, values from 96 through 127 will be encoded
from Code stick B. Where ever possible numeric pairs will be encoded from Code stick
C.
FNC1, FNC2, FNC3, and FNC4 may be encoded based on the table below. All other
values will result in a barcode data error and the barcode will not be generated.
128 Code
Value in
Decimal
Value in
Hex
FNC3
128
80
FNC2
129
81
Not Valid
130
82
131
83
132
84
FNC4
133
85
FNC1
134
86
Figure 11 Code 128 FNC encoding
Содержание Epic 3000
Страница 1: ...Epic 3000 Programmer s Guide PN 100 14362 Rev A Dec 2015...
Страница 2: ...Programming Codes Epic 3000 Programmer s Guide Page 2 Rev A 100 14362...
Страница 266: ......