Barcode printing – Dascom T5040 Programmers Application Manual User Manual
Page 12

12
Barcode printing
Data Structure ASCII
ESC [ <m> ; <h> ; <z> ; <n> * r STX (data) ETX
hex.
1B 5B <m> 3B <h> 3B <z> 3B <n> 2A 72 02 (data) 03
dec.
27 91 <m> 59 <h> 59 <z> 59 <n> 42 114 2 (data) 3
Function
Prints barcode according to the characteristics defined by the following parameters.
The “;” separates the parameters. The final code ("*" "r") closes the parameter part.
The barcode data is enclosed with STX (start of text) and ETX (end of text).
Barcode type
<m> = 5
CODE39
lower case bar code data ‘a’ ‘z’ is automatic set to upper case ‘A’ ‘Z’
<m> = 7
2/5 INTERLEAVED
a odd number of bar code data is automatic filled with a leading zero
Bar code height
<h> = 00
DEFAULT (at least 5mm or 15% of Barcode Length [**])
<h> = 01–10 Height as number h of passes
Barcode zoom coefficient
<z> = 01
–
09 Ignore value
<z>
= 10–34 Acceptable value
(10 = basic width; 15 = 1.5 * basic width, 20 = double
width, etc.)
Human readable line
<n> = 0
Disabled
<n> = 1
Enabled