40
(12) Bar Code Data Setting Commands
These commands expand bar code strip patterns and subscript to the print expansion buffer.
The print data string is composed of the bar code control header string and the bar code data
string.
Command Transfer Formats
STX 4Eh Bar Code Control Header
String
Bar Code Data String ETX BCC
Response Transfer Formats
STX 4Eh Status ETX BCC
Parameter Explanation
Bar Code Control Header String
The bar code control header string is composed of the starting Y coordinate parameter string,
the ending Y coordinate specification parameter string, the bar code type parameter, the bar
code start stop code parameter string, and a comma for separating each parameter.
The bar code control header string = starting Y coordinate parameter string ‘,’ (comma)
ending Y coordinate specification parameter string ‘,’ (comma) bar code type parameter ‘,’
(comma) the bar code start stop code parameter string ‘,’ (comma)
Bar code control header string and bar code data string description example
Visual Card1.Communication (&h4E,”100,170,1,A,111213141516”, 0, True);
With the card stood vertically, this expands the Code 128 bar code data “123456” with
subscript at the Y coordinates 100 to 170 positions.
• Starting Y coordinate parameter example
Specifies the starting Y coordinate for expansion of the bar code with the card stood
vertically.
‘0’ to “479”
• Ending Y coordinate parameter example
Specifies the ending Y coordinate for expansion of the bar code with the card stood
vertically.
‘0’ to “479”
• Bar Code Type Parameter
‘0’: CODE 128
‘1’: CODE 128 With Subscript
‘2’: CODE 39 (3 of 9)
‘3’: CODE 39 (3 of 9) With Subscript
‘4’: ITF (Interleaved 2 of 5)
‘5’: ITF (Interleaved 2 of 5) With Subscript
‘6’: CODABAR (NW-7)
‘7’: CODABAR (NW-7) With Subscript