beautypg.com

Star Micronics Line Thermal Printer User Manual

Page 134

background image

―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

STAR Line Mode Command Specifications

3-118

The following is an example showing the sending of the commands.

(1)

Set bar code type

“y” “S” “0” 1

Sets to model 1.

“y” “S” “1” 0

Sets mistake correction level to L.

“y” “S” “2” 3

Sets cell size to 3 dots.


(2)

Set bar code data

“y” “D” “1” 0 20 0 “2005, January, 1 (SAT)”

Sets bar code data (Data automatic analysis)

Sets bar code data (Data manual analysis)


“y” “D” “2” 10

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



(3) Print bar code
To verify whether to print with the current settings, check the bar code expansion information.

“y” “I”

Check bar code expansion information

“y” “p”

Print