9
Label formatting commands
1. Define date layout
Syntax
: Daa|bb|cc
Parameter
: aa = Year
y2 : Year with two digits (such as 97)
y4 : Year with four digits ( such as 1997)
bb = Month
me : Month in letters (JAN, FEB, .... )
mn : Month in numeric (01, 02, .... )
cc = 2 digits day
| = Separator, can be any ASCII character between decimal 32 to 63.
Description : Define the date layout for print out (refer page15)
2. Serial number setting
Syntax
: Cx,ys,
?
value,prompt
Parameter
: x: 0 to 9(up to10group ), maximum combination up to 3 groups.
y: select the decimal
y = none, Decimal (0~9)
y = A, Hexadecimal (0~9,A~F)
y = C, 0~9, A~Z
s: start value of serial variable (up to 13-digit)
?
value: inc. / dec. value of serial variable (up to 12-digit)
prompt: prompt of serial variable (up to 20 characters)
Description : Set the serial number (refer page 17)
Example
: ^Q50,0,0
^W100
^S3
^H10
^E12
^P5
^L
C0,000,+1,AA
C1,AEE,+1,BB
C2,CZYY,+1,CC
AC,5,5,1,1,1,0,^C0^C1^C2
E
Printing result:
000EEZYY
001EFZYZ
002F0ZZ0
003F1ZZ1
004F2ZZ2
3. Terminate label formatting mode and print label
Syntax
: E
Parameter
: None
Description : End of formatting command; printer will print label after receiving this command.
4. Graphic command
Syntax
: Gwxxx
Parameter
: wxxx...
w : byte number of image data (xxx...)
Description : This command is a sub-command of ~G It is sent by binary data. W is the digits number byte of image
data (refer page18). For example, if the image file is 50 bytes, the command is G2xxx . (2: ASCII is 50
decimal)
5. Line command
Syntax
: La,x, y, x1, y1
Parameter
: a = o, overwrite line
a = e, exclusive or line
x : left-up; per horizontal(Hori.) pos. (dot; 1mm= 8dots)
y : left-upper vertical (Vert.) pos. (dots)
x1: right-bottom Hori. Pos. (dots)
y1: right-bottom Vert. Pos. (dots)
Description : Define a line to render in the label (refer page15)
** The diagonal line draw is not available **