TLS PC Link TM Programmer s Guide

   Copyright This manual is copyrighted with all rights reserved. No portion of this manual may be copied or reproduced...
2 downloads 0 Views 3MB Size
  

Copyright This manual is copyrighted with all rights reserved. No portion of this manual may be copied or reproduced by any means without the prior written consent of Brady Worldwide, Inc. While every precaution has been taken in the preparation of this document, Brady assumes no liability to any party for any loss or damage caused by errors or omissions or by statements resulting from negligence, accident, or any other cause. Brady further assumes no liability arising out of the application or use of any product or system described, herein; nor any liability for incidental or consequential damages arising from the use of this document. Brady disclaims all warranties of merchantability of fitness for a particular purpose. Trademarks TLS PC LinkTM is a trademark of Brady Worldwide, Inc. DPL (Datamax Programming Language) is a trademark of Datamax Corp. Brady reserves the right to make changes without further notice to any product or system described herein to improve reliability, function, or design. © 2001 Brady Worldwide, Inc. All Rights Reserved Revision 0 Firmware Version 1.0 Brady Worldwide, Inc. 6555 West Good Hope Road P.O. Box 2131 Milwaukee, WI 53201 Main Switchboard: FAX: Sales/Customer Support:

(800) 541-1686 (414) 358-6600 (800) 292-2289 (800) 537- 8791

TLS PC LinkTM Programmer’s Guide

I

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 ................................................................................... 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 ............................................................................ 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 II

TLS PC LinkTM Programmer’s Guide

Label Format Field Replacement (STX U) ........................................................... 24 Send ASCII Touch Cell Data (STX V) ................................................................. 25 Printer’s Firmware Version Information (STX v) ................................................. 25 Request Memory Information (STX W) ............................................................... 25 Delete File (STX x) ............................................................................................... 26 Pack Memory (STX z) .......................................................................................... 27 Extended-System Commands K.................................................................... 28 Label-Formatting Commands ................................................................................... 29 Set Format Attribute (A) ....................................................................................... 30 Set Column Offset Amount (C)............................................................................. 31 Terminate Label Formatting Mode and Print Label (E) ........................................ 31 Set Row Offset Amount (R) .................................................................................. 31 Terminate Label-Formatting Mode (X)................................................................. 32 + (-) Make Last Field Entered Increment (Decrement) Numeric .......................... 33 > ( (