TLS PC Link
TM
Programmer’s Guide
II
Table of Contents
Introduction................................................................................................................. 1
Scope....................................................................................................................... 1
Programming Overview..............................................................................................2
Basic print language overview ................................................................................ 2
Control Codes.......................................................................................................... 3
Power up Conditions ............................................................................................... 3
Generating and Printing a Label With the TLS PC Link Programming Language. 4
Determining Printer Status...................................................................................... 5
COM Port Settings......................................................................................................6
Immediate Commands <SOH>...................................................................................7
Summary of Immediate Commands........................................................................ 7
Reset (SOH #) .........................................................................................................7
Send ASCII Status String (SOH A)......................................................................... 8
Toggle Pause (SOH B)............................................................................................ 9
Cancel (SOH C)..................................................................................................... 10
Disable SOH (SOH D) .......................................................................................... 10
Send Batch Quantity (SOH E)...............................................................................10
System-Level Commands <STX> ............................................................................ 11
Summary of System Level Commands ................................................................. 11
Disable Feedback Characters (STX A) .................................................................12
Enable Feedback Characters (STX a)....................................................................12
Enter Heat Setting Offset (STX b) ........................................................................ 13
Disable Feeding to Cut Position after Print (STX C) ............................................ 13
Enable Feeding to Cut Position after Print and Perform a Feed to Cut (STX c)... 14
Set Quantity for Stored Label (STX E)................................................................. 14
Form Feed (STX F)............................................................................................... 15
Set Form Stop Position (STX f) ............................................................................ 15
Print Last Label Format (STX G)..........................................................................16
Enable SOH Commands (STX H).........................................................................16
Input Image Data (STX I)...................................................................................... 17
Extended System Commands (STX K)................................................................. 18
Enter Label Formatting Command (STX L) ......................................................... 18
Set Printer to Metric (STX m)............................................................................... 18
Set Printer to Inches (STX n) ................................................................................ 19
Set Start of Print Offset (STX O).......................................................................... 19
Horizontal Alignment Offset (STX o)................................................................... 20
Set Continuous Label Length (STX P).................................................................. 20
Clear All Memory (STX Q) .................................................................................. 21
Set Continuous Label Spacing (STX S)................................................................ 21
Printhead Dot Pattern Test Label (STX T)............................................................ 22
Send Binary Touch Cell Data (STX t)................................................................... 22