TSC AUTO ID Technology Co., Ltd. 48 Copyright 2013 All Rights Reserved.
DMATRIX
Description
This command defines a DataMatrix 2D bar code. Currently, only ECC200 error correction is supported.
Syntax
DMATRIX x,y,width,height,[c#,x#,r#,row,col,]"content"
Horizontal start position (in dots)
Vertical start position (in dots)
The expected width of barcode area (in dots)
The expected height of barcode area (in dots)
Escape sequence control character (decimal digit)
Ex. c126 means ~
(1) ~X is shift character for control characters.
(2) ~1 means FNC1.
(3) ~dNNN creates ASCII decimal value NNN for a codeword. Must be 3
digits. 000 ~ 255.
(4) ~ in data is encoded by ~~.
Rotation
0 : No rotation
90 : Rotate 90 degrees clockwise
180 : Rotate 180 degrees clockwise
270 : Rotate 270 degrees clockwise
Symbol size of row: 10 to 144
Symbol size of col: 10 to 144
Content of DataMatrix 2D bar code
Note:
This command has been supported since V6.89 EZ and later firmware.
Example
Sample code
SIZE 4,3
GAP 0,0
DIRECTION 1
CLS
DMATRIX 10,110,400,400,"DMATRIX EXAMPLE 1"
DMATRIX 310,110,400,400,x6,"DMATRIX EXAMPLE 2"
DMATRIX 10,310,400,400,x8,18,18,"DMATRIX EXAMPLE 3"
PRINT 1,1