background image

 

 

Summary of Contents for TLS PC Link

Page 1: ......

Page 2: ...roduct 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 par...

Page 3: ...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 Cu...

Page 4: ...Make Last Field Entered Increment Decrement AlphaNumeric 34 Set Count By Amount 35 Generating Label Formats 36 The structure of a record 37 Examples of a Label Format 38 Example 1 1 5 x 1 5 Label PTL...

Page 5: ......

Page 6: ...tors without programming experience may prefer to use a label creation software package such as LabelMarkTM included with every printer or CODESOFTTM This guide offers detailed information on the Brad...

Page 7: ...ational characters and symbols are sent as extended ASCII or 8 bit characters Throughout the examples in the book all characters are ASCII unless otherwise noted Control characters are shown by their...

Page 8: ...nds Power up Conditions On power up the unit is in the following modes System Level Commands are accepted Immediate Commands are turned off Feedback Characters are turned off The unit will never accep...

Page 9: ...les in the unit These image files will be lost if the unit is powered down These files are stored with an 8 character name When a label format is created it can contain any number of images These are...

Page 10: ...by the printer when the print is done If an error occurred during the print such as being out of labels the feedback character contains this error If feedback characters are not used the status can be...

Page 11: ...ide 6 COM Port Settings In order to establish communication between the TLS PC Link printer and your PC you must have the correct COM port settings Setting Value BPS 9600 Data Bits 8 Parity None Stop...

Page 12: ...ontain an immediate command start code that will be misinterpreted These can be disabled using immediate command SOH D Immediate commands consist of 1 Attention Character 2 Command Character 3 Paramet...

Page 13: ...ed condition is true or false Y true Byte 1 is the first character transmitted by the printer Error statuses relating to printer hardware conditions are only updated when performing a print or feed co...

Page 14: ...ween on and off Sample SOH B This command will illuminate the pause stop light and suspend printing Printing will not be suspended in the middle of a label If a label is being printed the printer will...

Page 15: ...ds can be turned back on by sending the system command STX H or by resetting the printer If feedback characters are enabled a code will be sent back to the host when the SOH commands are enabled If fe...

Page 16: ...mands The following system level commands are discussed in this section Refer to the page number listed to the right of each command for more information and a sample command System Level Command Page...

Page 17: ...STX z 26 Disable Feedback Characters STX A This command disables the feedback ASCII characters Sample STX A No feedback response Enable Feedback Characters STX a This command enables the feedback ASCI...

Page 18: ...the default temperature the host device can send a command before or after the format to correct the heat setting for the media being used STX bsnn Where s or sign can be either for setting of 0 nn t...

Page 19: ...J Set Quantity for Stored Label STX E This command sets the number of labels to print for the label format currently stored in the print buffer The most recent label sent to the printer will automati...

Page 20: ...he next label format is sent to the printer it will automatically backfeed to the start of print position If a quantity of more than one label is to be printed See Set Quantity for Stored Label STX E...

Page 21: ...possibilities 1 2 6 7 8 A B C D E F G H Enable SOH Commands STX H This command is used to enable Immediate Commands on power up or to re enable them if they have been turned off for downloading image...

Page 22: ...nt type Y see Generating Label Formats Data sent to this field is also used as the name of the defined graphic image STX lbfnnnnnnnn CR data Where b Data Type b Value Image Data Value Range A ASCII Ch...

Page 23: ...ts to receive field record definition and label formatting commands until command E or X is received System level commands will be ignored until the label formatting is terminated with E or X Immediat...

Page 24: ...g starts relative to the top of form position Top of form is the point where a label edge is detected by the label edge sensor The printer will feed from the top of form to the offset point specified...

Page 25: ...or continuous material The label length can be set from 0 00 inches to 6 00 inches 0 0mm to 152 4mm This command is useful for terminal block labels It can be used with STX S to generate the correct s...

Page 26: ...memory Sample STX Q Feedback possibilities 0 1 2 Set Continuous Label Spacing STX S This command will set the label spacing for continuous material The spacing can be set down to zero This command can...

Page 27: ...ta 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...

Page 28: ...Byte 6 0x1B has bit 0 equal to 1 therefore this is notched material Byte 7 8 0x0000 means there is no X offset Byte 9 10 0x0000 means there is no Y offset Byte 11 12 0x012B means this label is 0x12B o...

Page 29: ...elds are numbered consecutively 01 to 99 in the order in which they are received STX Unnss s CR Where nn is the format field number 2 digits ss is the new string data followed by a CR Sample STX L 190...

Page 30: ...t Feedback Possibilities 0 1 2 E Printer s Firmware Version Information STX v This command causes the printer to respond by sending a version string The version may be different from printer to printe...

Page 31: ...CX Files are stored with a reduced header size Typical size PCX File Size 111 bytes File Type U These Files add a header Typical size Data Size 16 bytes Feedback possibilities 0 1 2 Delete File STX x...

Page 32: ...TLS PC LinkTM Programmer s Guide 27 Pack Memory STX z This command causes the printer to reclaim all storage space associated with all deleted files Sample STX z Feedback possibilities 0 1 2...

Page 33: ...TLS PC LinkTM Programmer s Guide 28 Extended System Commands STX K Command Character Command None Implemented...

Page 34: ...ting commands These commands define the format of the label to be printed Label Formatting Command Page Sets format attribute A 30 Sets column offset amount C 31 Terminates label formatting mode and p...

Page 35: ...ptional mode allows the intersection of text strings images and barcodes to print This allows the user to print fields on top of one another i e the letter I printed on top of a dash would combine to...

Page 36: ...and M Feedback possibilities 0 1 2 Terminate Label Formatting Mode and Print Label E When the printer is processing label formatting commands and receives an E command it will immediately print a labe...

Page 37: ...nch unless the printer is in metric mode Feedback possibilities 0 1 2 Terminate Label Formatting Mode X When the printer is in label formatting mode and receives an X command it will immediately switc...

Page 38: ...to 99 Sample STX L 19000090000000012345 CR 001 CR X CR STX E0003 STX G The above sample will generate a single field label format that prints the initial label with a value of 12345 and then increment...

Page 39: ...ent the field by from 01 to 99 Sample STX L 190000900000000ABC CR 001 CR X CR STX E0003 STX G The above sample will generate a single field label format that prints the initial label with a value of A...

Page 40: ...ters default to 1 This command is set once for the whole label format and affects all serialized fields in that label format nn Where nn is a two digit value that specifies the number of labels to be...

Page 41: ...cter a carriage return cr A record is made of three parts 1 A header that is 15 bytes in length 2 the data to be printed and 3 a termination character that marks the end of the field The header is use...

Page 42: ...ponds to TLS code barcode height eee is 000 when contained in an image record pcx bmp etc Font Options are 001 019 Refer to Appendix E Fonts ffff row the vertical element gggg column the horizontal el...

Page 43: ...le STX L enter label format mode 1Y0000000250000brady CR specify brady image at X 0 00 Y 0 25 1Y0000000100082logo CR specify logo image at X 0 82 Y 0 10 190000600700005PART NUMBER CR specify text at X...

Page 44: ...01200005QUANTITY CR specify text at X 0 05 Y 1 20 19000060070010056789 CR specify text at X 1 00 Y 0 70 190000600950100LABEL CR specify text at X 1 00 Y 0 95 190000601200100100 CR specify text at X 1...

Page 45: ...e 490000803000030Sample Rotated Label CR specify text at X 0 30 Y 3 00 490000603500090270 Degree CR specify text at X 0 90 Y 3 50 490000601100090Rotate CR specify text at X 0 90 Y 1 10 4a0005002550080...

Page 46: ...code STX L enter label format mode 490000803000030Sample Rotated Label CR specify text at X 0 30 Y 3 00 490000603500090270 Degree CR specify text at X 0 90 Y 3 50 490000601100090Rotate CR specify text...

Page 47: ...inches mode STX P0050 set label length to 0 5 STX S0000 set spacing to zero STX C disable feed to cut after print STX L enter label format mode 490000700450004 12V CR place 12V rotated 270 degrees at...

Page 48: ...TLS PC LinkTM Programmer s Guide 43 STX G print 3 copies of this label STX c feed to cut position...

Page 49: ...he invalid character in the command respond with an error The following table lists common programming problems and suggested corrective action If you are having problems with the hardware refer to th...

Page 50: ...eflect the printer errors Possible Cause The printer errors Printhead Open Out of Labels Out of Ribbon and Touch Cell Error are detected when the printer performs an operation such as printing The sta...

Page 51: ...s Corrective Action To overwrite an image that already exists first delete the image so it can be re written Also pack image memory to regain usage of the memory space that was used by that file Rotat...

Page 52: ...Immediate commands enabled 0x35 53 5 Out of labels 0x36 54 6 Printhead open 0x37 55 7 Out of ribbon 0x38 56 8 Battery cell is shorted 0x41 65 A Low battery 0x42 66 B Printing is complete 0x43 67 C Di...

Page 53: ...d sent 0x00 0x00 0xFF n where n number of duplicates X Cursor Record This record will place the X cursor at an absolute location All Dot Row Records following this command will begin at this X locatio...

Page 54: ...gin Note that the X Cursor is set to pixel 8 and the data starts with the first two bits equal to zero so the box starts at column 10 As 8 bit data Command Description 0x58 0x08 0x00 X Cursor at pixel...

Page 55: ...S PC LinkTM Programmer s Guide 50 80073FFFFFFFFFFFF0 First line of box 800720000000000010 Second line of box 0000FF2F Repeat second line 47 times 80073FFFFFFFFFFFF0 Last line of box FFFF 0x0D Terminat...

Page 56: ...TLS PC LinkTM Programmer s Guide 51 Appendix C ASCII Control Chart ASCII Control Chart Continued on next page...

Page 57: ...TLS PC LinkTM Programmer s Guide 52 ASCII Control Chart Continued...

Page 58: ...H E 10 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 a...

Page 59: ...ell 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 26 Sets format attribute A 30 Sets column offset amount C 3...

Page 60: ...on the TLS PC Link printer FONT NUMBER POINT SIZE PRINT SAMPLE 1 4 BRADY 12345 2 5 BRADY 12345 3 6 BRADY 12345 4 7 BRADY 12345 5 9 BRADY 12345 6 10 BRADY 12345 7 11 BRADY 12345 8 13 BRADY 12345 9 14 B...

Page 61: ...TLS PC LinkTM Programmer s Guide 56 FONT NUMBER POINT SIZE PRINT SAMPLE 16 45 BRADY 1 17 51 BRADY 18 56 BRADY 19 72 BRAD...

Page 62: ...following characters are supported in all fonts 0 1 2 3 4 5 6 7 8 9 A B C D E F 00 10 20 30 0 1 2 3 4 5 6 7 8 9 40 A B C D E F G H I J K L M N O 50 P Q R S T U V W X Y Z _ 60 a b c d e f g h i j k l...

Page 63: ...Appendix F Barcodes Summary Font Type Length Checksum Valid ASCII Characters decimal value a Code 39 Varies No 32 36 37 42 43 45 57 65 90 b Code 39 with check character Varies Yes 32 36 37 42 43 45 57...

Page 64: ...dix G Mini DIN 6 Pin to 9 Pin Cable Pinouts Mini DIN 6S Connector to Printer DB 9S Connector to PC RXD 1 No Connection 1 CTS 2 2 5V 3 No Connection 3 GND 4 4 TXD 5 5 RTS 6 6 7 8 No Connection 9 SHELL...

Reviews: