Printhead Dot Pattern Test Label (Stx T); Send Binary Touch Cell Data (Stx T) - Brady TLS PC Link Programmer's Manual

Hide thumbs Also See for TLS PC Link:
Table of Contents

Advertisement

<STX>G
This example will print 3 serialized labels: "TEST01", "TEST02", and
"TEST03". The label length is 0.5" and the spacing between labels is set to zero.
Feedback Possibilities: 0,1,2

Printhead Dot Pattern Test Label (STX T)

This command instructs the printer to print a dot pattern test label. To view the
full test pattern use the media as wide as the print width and at least 1.5-in. (38.1-
mm) long.
Sending this command will clear the current label format that is stored.
Sample:
<STX>T
Feedback possibilities: 1,2,6,7,8,A,B,C,D,E,F,G

Send Binary Touch Cell Data (STX t)

This command instructs the printer to send the touch cell data from the media as
32 bytes of binary (8-bit) data. A few of these bytes contain useful information
about the print media as follows:
Byte 2,3:
Byte 6:
Byte 7,8:
Byte 9,10:
Byte 11,12: Width of label in pixels as a 16-bit value
Byte 13,14: Length of label in pixels as a 16-bit value
Sample:
<STX>t
Response:
0x01 0x00 0x78 0x00 0x00 0x1B 0x00 0x00 0x00 0x00 0x01 0x2B 0x01
0x2B 0x11 0xC6
0x32 0x00 0x02 0x00 0x01 0x01 0x00 0x00 0x02 0x94 0x00 0x00 0x00
0x00 0x00 0xF1
This sample read the data from a PTL-32-423 label which is 1.5"x1.5". This tells
22
Label quantity remaining as a 16-bit value
Bit 0 is set for notched labels and clear for continuous
X offset in pixels as a 16-bit value
Y offset in pixels as a 16-bit value
TM
TLS PC Link
Programmer's Guide

Advertisement

Table of Contents
loading

Table of Contents