TLS PC LinkTM Programmer’s Guide5Determining Printer StatusThere are two methods to determine the printer status:! Feedback Characters! Immediate Co
TLS PC LinkTM Programmer’s Guide6COM Port SettingsIn order to establish communication between the TLS PC Link printer and yourPC, you must have the co
TLS PC LinkTM Programmer’s Guide7Immediate Commands <SOH>When the printer receives an immediate command it will stop whatever it isdoing and per
TLS PC LinkTM Programmer’s Guide8Printer Response: Version 01.01 12/21/00<CR>The printer always sends out the Version on power up.Send ASCII Sta
TLS PC LinkTM Programmer’s Guide9Toggle Pause (SOH B)This command toggles the printer’s paused state between on and off.Sample:<SOH>BThis comman
TLS PC LinkTM Programmer’s Guide10Cancel (SOH C)The stop/cancel function will immediately stop the printer and cancel the currentprint job. If current
TLS PC LinkTM Programmer’s Guide11System-Level Commands <STX>The most commonly used commands are the system-level commands. Thesecommands are us
TLS PC LinkTM Programmer’s Guide12System Level Command PageSet Printer to Inches (STX n) 19Set Start of Print Offset (STX O) 19Horizontal Alignment Of
TLS PC LinkTM Programmer’s Guide13Enter Heat Setting Offset (STX b)This command changes the "on time" of dots on the printhead. The printerp
TLS PC LinkTM Programmer’s Guide14Enable Feeding to Cut Position after Print and Perform a Feed toCut (STX c)This command will feed the printer to the
TLS PC LinkTM Programmer’s GuideICopyrightThis manual is copyrighted with all rights reserved. No portion of this manualmay be copied or reproduced by
TLS PC LinkTM Programmer’s Guide15Form Feed (STX F)This command feeds one label to the top of form.Sample:<STX>FFeedback possibilities: 0,1,2,6,
TLS PC LinkTM Programmer’s Guide16Print Last Label Format (STX G)This command prints a previously formatted label. This command is used whenthere is a
TLS PC LinkTM Programmer’s Guide17Input Image Data (STX I)This command precedes the download of image data from the host to the printer.The data that
TLS PC LinkTM Programmer’s Guide18Sample:<SOH>D<STX> IBpTest <CR> data...data<STX>HThe above sample instructs the printer to r
TLS PC LinkTM Programmer’s Guide19Set Printer to Inches (STX n)This command sets the printer to interpret measurements in inches in terms ofin./100, (
TLS PC LinkTM Programmer’s Guide20Horizontal Alignment Offset (STX o)This command sets the point where printing starts relative to the left edge of th
TLS PC LinkTM Programmer’s Guide21This sample creates a label format with “TEST1” placed at the upper left cornerof the label, and “TEST2” placed 1” b
TLS PC LinkTM Programmer’s Guide22<STX>GThis example will print 3 serialized labels: “TEST01”, “TEST02”, and“TEST03”. The label length is 0.5” a
TLS PC LinkTM Programmer’s Guide23the following:Byte 2,3: 0x0078 means there are 0x78 or 120 labels remaining.Byte 6: 0x1B has bit 0 equal to ‘1’, the
TLS PC LinkTM Programmer’s Guide24Label Format Field Replacement (STX U)This command places new label data into format fields. Format fields are used
TLS PC LinkTM Programmer’s GuideIITable of ContentsIntroduction...
TLS PC LinkTM Programmer’s Guide25Send ASCII Touch Cell Data (STX V)This command causes the printer to send back the touch cell data from the mediain
TLS PC LinkTM Programmer’s Guide26LOGO2<CR>MEM 8C30<CR>This shows that there are two images stored called “LOGO1” and “LOGO2”.The remainin
TLS PC LinkTM Programmer’s Guide27Pack Memory (STX z)This command causes the printer to reclaim all storage space associated with alldeleted files.Sam
TLS PC LinkTM Programmer’s Guide28Extended-System Commands <STX>KCommand Character CommandNone Implemented
TLS PC LinkTM Programmer’s Guide29Label-Formatting CommandsAn <STX>L command switches the printer from the system level to the label-formatting
TLS PC LinkTM Programmer’s Guide30Set Format Attribute (A)This command specifies the type of format operation and remains in effect untilanother forma
TLS PC LinkTM Programmer’s Guide31Set Column Offset Amount (C)This command allows horizontal adjustment of the point where printing begins.This is a l
TLS PC LinkTM Programmer’s Guide32nnnn increments above the position the format specifies. Valid input values arenumbers between 0000 and 9999, (refer
TLS PC LinkTM Programmer’s Guide33+ (-) Make Last Field Entered Increment (Decrement) NumericThe printer is capable of automatically incrementing and
TLS PC LinkTM Programmer’s Guide34> (<) Make Last Field Entered Increment (Decrement)AlphaNumericThe printer is capable of automatically increme
TLS PC LinkTM Programmer’s GuideIIILabel Format Field Replacement (STX U) ... 24Send ASCII Tou
TLS PC LinkTM Programmer’s Guide35Set Count By Amount (^)An application using incrementing or deincrementing fields (+, -, >, <) willoccasionall
TLS PC LinkTM Programmer’s Guide36Generating Label FormatsA label format is all the data, in the form of records, that lies between an<STX>L and
TLS PC LinkTM Programmer’s Guide37The structure of a recordThe 15-byte header portion of a record is composed as follows:a b c d eee ffff gggga b c d
TLS PC LinkTM Programmer’s Guide38Examples of a Label Format:Example 1 (1.5” x 1.5” Label, PTL-32):Note: The bitmaps shown are not supplied. For refer
TLS PC LinkTM Programmer’s Guide39Method 1 (New label format):<STX>L ;enter label format mode1Y0000000250000brady<CR> ;specify brady image
TLS PC LinkTM Programmer’s Guide40Example 2 (1.9” x 4.0” Label, PTL-38):<STX>n ;put printer in inches mode<STX>L ;enter label format mode4
TLS PC LinkTM Programmer’s Guide41<STX>Q0002 ;set print quantity to 2 labels<STX>G ;print two identical labelsSerialize Barcode:This requi
TLS PC LinkTM Programmer’s Guide42Example 3 (0.24” continuous terminal block material, PTLTB-400-240):To print a terminal block label, it is necessary
TLS PC LinkTM Programmer’s Guide43<STX>G ;print 3 copies of this label<STX>c ;feed to cut position
TLS PC LinkTM Programmer’s Guide44TroubleshootingCommon Problems and Corrective ActionThe best method for troubleshooting development with the TLS PC
TLS PC LinkTM Programmer’s Guide45Problem Possible Cause/Corrective Actionbe processed until the print job iscomplete.Corrective Action:When disabling
TLS PC LinkTM Programmer’s Guide46Problem Possible Cause/Corrective ActionCorrective Action:Use hardware flow control. Whenthe serial buffer fills up,
TLS PC LinkTM Programmer’s Guide47Appendix A: Feedback CharactersDefinition Hex Value Decimal ASCIINo error 0x30 48 0Serial timeout error 0x31 49 1Com
TLS PC LinkTM Programmer’s Guide48Appendix B: Image File DefinitionsImage Type U:Record Types:Dot-Row RecordThis record defines the pixel data for one
TLS PC LinkTM Programmer’s Guide49sent firstTerminatorThis record must be at the end of the file.0xFF 0xFF <CR>Data FormatThis image file can be
TLS PC LinkTM Programmer’s Guide5080073FFFFFFFFFFFF0 First line of box800720000000000010 Second line of box0000FF2F Repeat second line47 times80073FFF
TLS PC LinkTM Programmer’s Guide51Appendix C: ASCII Control ChartASCII Control Chart(Continued on next page.)
TLS PC LinkTM Programmer’s Guide52ASCII Control Chart, Continued
TLS PC LinkTM Programmer’s Guide53Appendix D: List of CommandsThe following table lists all of the commands found in the guide, along with theirdescri
TLS PC LinkTM Programmer’s Guide54Description Command PageHorizontal Alignment Offset STX o 20Clear All Memory STX Q 20Printhead Dot Pattern Test Labe
TLS PC LinkTM Programmer’s Guide1IntroductionScopeThe TLS PC LinkTM Programmer’s Guide is intended for technical personnelwho have basic programming k
TLS PC LinkTM Programmer’s Guide55Appendix E: FontsTLS PC LinkTM Printer FontsThe following fonts are available on the TLS PC Link printer:FONTNUMBERP
TLS PC LinkTM Programmer’s Guide56FONTNUMBERPOINTSIZEPRINT SAMPLE16 45BRADY 117 51BRADY18 56BRADY19 72BRAD
TLS PC LinkTM Programmer’s Guide57Font Symbol SetThe following characters are supported in all fonts.0123456789ABCDEF001020 !“#$%&‘()*+,-./3001234
TLS PC LinkTM Programmer’s Guide58Appendix F: Barcodes SummaryFont Type Length Checksum Valid ASCIICharacters,decimalvaluea Code 39 Varies No 32,36,37
Appendix G: Mini-DIN 6-Pin to 9-Pin Cable PinoutsMini-DIN-6SConnector to PrinterDB-9S Connector toPCRXD 1 No Connection 1CTS 2 2+5V 3 No Connection 3G
TLS PC LinkTM Programmer’s Guide2Programming OverviewBasic print language overviewThe TLS PC Link Printer control language is based on Datamax DPL, re
TLS PC LinkTM Programmer’s Guide3Command Type Descriptionconfiguration and image downloading.Label-Formatting Commands Used to control the position of
TLS PC LinkTM Programmer’s Guide4with a feedback character denoting success or an error. Feedback characters aredefined in Appendix A. Each command li
Commentaires sur ces manuels