The following is an example showing the sending of the commands.
(1)
Set bar code type
<ESC> <GS> "y" "S" "0" 1
<ESC> <GS> "y" "S" "1" 0
<ESC> <GS> "y" "S" "2" 3
(2)
Set bar code data
• <ESC> <GS> "y" "D" "1" 0 20 0
• <ESC> <GS> "y" "D" "2" 10
(3) Print bar code
To verify whether to print with the current settings, check the bar code expansion information.
<ESC> <GS> "y" "I"
<ESC> <GS> "y" "p"
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
STAR Line Mode Command Specifications
Sets to model 1.
Sets mistake correction level to L.
Sets cell size to 3 dots.
"2005, January, 1 (SAT)" <LF>
Sets bar code data (Data automatic analysis)
Sets bar code data (Data manual analysis)
1 4 0
"2005" ","
4 2 0
"Year" ","
1 1 0
"1" ","
4 2 0
"Month" ","
1 1 0
"1" ","
4 2 0
"Day" ","
4 2 0
"(" ","
2 3 0
"SAT" ","
4 2 0
")" ","
3 1 0
<LF>
Check bar code expansion information
Print
3-118