PN 9001149A
E+
PROGRAMMING
REFERENCE
•
GT Printer Series
Page 1: ...PN 9001149A E PROGRAMMING REFERENCE GT Printer Series...
Page 2: ...50A Nations Ford Road Charlotte NC 28273 Main Phone 704 644 1650 Technical Support Hotline 704 644 1660 Technical Support Fax 707 644 1661 E Mail satosales satoamerica com techsupport satoamerica com...
Page 3: ...Barcode Ratio 2 5 3 4 ESC BF Bookland 3 5 ESC BG CODE 128 Barcode 3 5 ESC BI UCC EAN 128 3 5 ESC BJ True Type Font Store 3 5 ESC BJD True Type Font Download Bit Mapped Data 3 5 ESC BJF Card Format 3 5...
Page 4: ...fer Manual Store 3 16 ESC IT Data Transmission 3 16 ESC IU Buzzer Enable Disable 3 16 ESC IW Print Time Delay 3 16 ESC IY Exclusive Use of Display Initiation Termination 3 17 ESC IZ Key Entry 3 17 J E...
Page 5: ...ntity 4 3 ESC ID Job ID Store 4 4 ESC WK Job Name 4 5 Modification Commands 4 6 ESC L Character Expansion 4 6 ESC P Character Pitch 4 7 ESC PR Character Fixed Spacing 4 8 ESC PS Character Proportional...
Page 6: ...C AR Print Area Standard 4 50 ESC AX Print Area Enlargement 4 50 ESC EP Print End Position 4 51 ESC a Cut Job 4 52 ESC A Cut Label 4 53 ESC B Cut Last 4 54 ESC Clear Print Jobs Memory 4 55 ESC A space...
Page 7: ...Clear 5 7 ESC BJS Print Memory Card Status 5 8 ESC BJT BJR True Type Font Recall 5 9 ESC BJ BJD True Type Font Store 5 10 ESC YR ID Format Field Recall 5 11 ESC YS IN Format Field Store 5 12 ESC R For...
Page 8: ...3 Character Font Set ESC XS 7 12 Table 14 Character Font Set ESC XM 7 13 Table 15 Character Font Set ESC XB 7 13 Table 16 Character Font Set ESC XL 7 14 Table 17 Valid Commands ESC OA OB 7 14 Table 18...
Page 9: ...SATO E Programming Reference PN 9001149A Page 1 1 INTRODUCTION About This Manual Print Area Calculation...
Page 10: ...footers to assist the user in identifying his or her exact position within the manual The header provides the unit number followed by its name The footer identifies the product on the left the manual...
Page 11: ...ller than the print head width use this command to specify the media size and adjust the start position corresponding to that The backing paper must be included in media size considerations This comma...
Page 12: ...erence point or zero point to the new base reference point or zero point based on the label s width Note that with each additional horizontal or vertical adjustment the New Base Reference Point will a...
Page 13: ...SATO E Programming Reference PN 9001149A Page 2 1 PROGRAMMING CONCEPTS Programming Language Selecting Protocol Codes Using Basic Print Position Commands...
Page 14: ...output The programmer is free to use any programming language available to send the desired data to the printer The printer command codes used are based upon Escape 1B hexadecimal sequences Typically...
Page 15: ...e Non Standard Protocol Control codes are printable characters The Non Standard set may be useful on host computers using protocol converters or in an application where non printable ASCII characters...
Page 16: ...00 E 8 1 CS DS AS 1 This sets the host computer s COM1 port RS232C communication parameters for 9600 baud Even parity 8 Data bits 1 Stop bit and directs the port to ignore the CTS and DSR control sign...
Page 17: ...ends an STX ASCII Code a decimal 2 to the printer instructing it to prepare to receive a message 50 PRINT 1 E A Sends an ESC A command code to Print Port 1 opened by statement 20 above 60 PRINT 1 E H4...
Page 18: ...izontal and Vertical axis so the distance may be calculated in dots from that point to the label s edge This command immediately follows the Data Start Command Example Label Width total dots 406 dots...
Page 19: ...200 ESC B103100 SATO ESC H0070 ESC V0310 ESC L0101 ESC XUSATO ESC Q1 ESC Z If using a 2 inch wide label the entire image may not appear on the label By adding the following Base Reference Point comman...
Page 20: ...SATO E Programming Reference PN 9001149A Page 3 1 COMMAND QUICK REFERENCE A through Z all commands...
Page 21: ...llows the automatic online on power up setting to be enabled or disabled a 0 Powers up in the online mode 1 Powers up in the offline mode A1aaaabbbb Media Size Specifies the label size aaaa Label heig...
Page 22: ...Signals the printer to go offline after upon job completion nn n Optional message to be displayed on the LCD max 32 characters A3H aaaa Vbbbb Base Reference Point Establishes a new base reference poi...
Page 23: ...r height in dots 001 to 999 d SSCC only 0 No human readable text 1 Human readable at top 2 Human readable at bottom BC CODE 93 Barcode Prints a CODE 93 barcode a Narrow bar width 01 to 12 dots b Heigh...
Page 24: ...ode 2 HRI available in upper part of barcode n Barcode print data 17 digits fixed BJaa abb b True Type Font Store Prepares the Expanded Memory to accept True Type font data aa a 40 byte font descripti...
Page 25: ...of characters ff f Data to be printed using font BJS Print Memory Card Status Reports the status of the currently active Memory Card to the host by printing a status label BJTaabbccddeefffgg g True T...
Page 26: ...per line 01 30 If 00 is specified for dd and ee printer will automatically optimize settings ee Rows symbol 00 or 03 If 00 is specified for dd and ee printer will automatically optimize settings fff N...
Page 27: ...nation 01 to 16 f Concatenation mode parity data 00 to FF g Character mode 1 Number Mode 2 Alphanumeric Mode 3 Binary Mode h Quantity of data 0001 to 7366 n Print data BTabbccddee Bar Codes Variable R...
Page 28: ...ncreased 01 to 12 bbb Bar height by dot 004 to 999 dots BXaabbccddeeefffghh Data Matrix Data Format Specifies the format of the Data Matrix 2 D symbology aa Format ID 01 to 06 If ECC200 is selected bb...
Page 29: ...l a Speed Range Dabbcccn Barcode Human Readable Information HRI Specifies the character type of human readable information of barcode a 3 JAN EAN13 4 JAN EAN8 H UPC A b Narrow bar width 01 to 12 dots...
Page 30: ...the print of outline font n Print data Eaaa Line Feed Provides the ability to print multiple lines of the same character size without specifying a new print position for each line aaa Number of dots 1...
Page 31: ...1000 dots c Base length 10 to 2000 dots d Pattern 0 to 3 0 Solid black line 1 Gray 1 2 Gray 2 3 Gray 3 FWaabcccc Line Prints a line Units of measurement are dots aa Width of line b V Vertical line H...
Page 32: ...r of horizontal 8 x 8 blocks ccc Number of vertical 8 x 8 blocks data Data to describe the graphic image GCaaa BMP File Recall Recalls BMP graphic files stored in Expanded Memory GIabbbcccdddee e Grap...
Page 33: ...the internal buffer a Buffer number subject to initialization 1 to 16 IBa Internal Buffer Recall Obtains the data stored in the internal buffer and uses it as print data such as character string or ba...
Page 34: ...tch 0 Non Display 1 Display in upper level 2 Display in lower level b Display message 16 digits for alphanumeric character and symbol ASCII 20H to 7EH IO External Signal Input Output Specifies input o...
Page 35: ...rmat 0 No additional code 1 Adds STX at the start and ETX at the end 2 Adds CL LF at the end 3 Adds CR at the end c Transmission digit number 1 to 1024 d Transmission data no limitation in range I2 Se...
Page 36: ...l Print Provides the ability to print text line by line Fixed spacing between lines and characters Kab90cc Custom Designed Characters Recall Recalls for printing a custom character stored by the Tabcc...
Page 37: ...acter Pitch Designates the number of dots between characters aa Number of dots between characters 01 to 99 aaaa bbbb Reverse Image Reverse image from black to white and vice versa The units of measure...
Page 38: ...ll not work with U Font PYaaa PCX File Recall Recalls a PCX graphics file aaa The storage number assigned to the file 001 to 999 Qaaaaaa Print Quantity Specifies the total number of labels to print aa...
Page 39: ...he label image from the printer s form overlay memory for printing D Field Recall To recall a field previously stored in in the memory card bb Quantity of fields to be recalled 01 to 99 cc c Data to b...
Page 40: ...01 to 10 dots cell d Cell Width 01 to 10 dots cell WA elements Calendar Print Prints the date and or time field up to 16 characters from the printer s internal clock Use slash to separate date elemen...
Page 41: ...es auto smoothing if expansion is greater than 3 WPabbb Calendar Increment To add a value to the printer s current date and or time Does not change the printer s internal time setting The calendar fea...
Page 42: ...t includes descenders a 0 Disables auto smoothing of font 1 Enables auto smoothing if expansion is greater than 3 YR aaa D bb cc c Recall Format Field To recall a field from a format previously stored...
Page 43: ...PN 9001149A Page 4 1 STANDARD COMMAND CODES Control Commands Modification Commands Print Position Commands Font Commands Barcode Commands 2D Code Commands System Commands Memory Card Commands Intellig...
Page 44: ...lace FORMAT Start Command ESC A Stop Command ESC Z ESC A must precede data ESC Z must follow data EXAMPLE ESC A ESC H0001 ESC V0100 ESC WB1SATO ESC H0130 ESC V0200 ESC B103150 SATO ESC H0170 ESC V0360...
Page 45: ...SC V0100 ESC WB1SATO ESC Q3 ESC Z OUTPUT Three labels containing the data SATO will be printed NOTES To cancel a print job turn off the printer or send the ESC CAN code if using the Bi Com mode Multi...
Page 46: ...mode FORMAT ESC IDaa aa Job ID assigned 01 to 99 Place immediately following the ESC A in the job data stream EXAMPLE ESC A ESC ID02 Job ESC Z OUTPUT This command does not result in printer output NOT...
Page 47: ...iately following the ESC A in the job data stream EXAMPLE ESC A ESC WKSATO Job ESC Z OUTPUT This command does not result in printer output The information is returned to the host upon receipt of a Bi...
Page 48: ...ESC XMSATO ESC Q1 ESC Z OUTPUT 4 1 NOTES Expanded characters are typically used with this command for added emphasis or for long distance readability This command will expand the following fonts Font...
Page 49: ...SC Q1 ESC Z OUTPUT 4 2 NOTES This command is affected by the ESC L Character Expansion command The character pitch is actually the product of the current horizontal expansion multiple and the designat...
Page 50: ...nally spaced fonts XU XM XS XL and XB Refer to Appendix Reference Table 3 for additional information CHARACTER PROPORTIONAL SPACING FUNCTION To specify the printing of proportional or fixed spacing fo...
Page 51: ...a a 0 Sets print to normal direction 1 Sets print to 90 CCW 2 Sets print to 180 rotated upside down 3 Sets print to 270 CCW Place preceding any printed data to be rotated EXAMPLE ESC A ESC 0 ESC L020...
Page 52: ...numbering 0 to 99 starting with the right most position If digits are left out the default is 0 g Count base 1 Decimal Count 2 Hexadecimal Base Place preceding the starting value to be incremented or...
Page 53: ...H0200 ESC V0200 ESC FC 100 8 0 0 ESC Q1 ESC Z OUTPUT This command sets the base reference point to the center of a circle and can be registered to the format 4 7a NOTES When a sectional number value...
Page 54: ...y buffer size is 1KB One key entry information requires 2 bytes and up to 512 information entries are available The key buffer acts as ring buffer When the key entry exceeds the maximum entry capacity...
Page 55: ...FWaabbVccccHdddd aa Width of horizontal side in dots 01 to 99 bb Width of vertical side in dots 01 to 99 cccc Length of vertical side in dots dddd Length of horizontal side in dots Place following the...
Page 56: ...SC H0050 ESC V0120 ESC L0202 ESC WB1REVERSE ESC H0250 ESC V0300 ES C L0202 ESC WB1HALF ESC H0040 ESC V0110 ESC 370 100 ESC H0240 ESC V0290 ESC 220 47 ESC Q1 ESC Z OUTPUT 4 10 NOTES A reverse image are...
Page 57: ...IS THE STORED IMAGE WITH A BARCODE ESC H0100 ESC V0165 ESC B103100 12345 ESC ESC Z OUTPUT This command does not result in printer output It stores the label image in the overlay buffer NOTES Remember...
Page 58: ...rint Quantity ESC Q command EXAMPLE ESC A ESC H01000 ESC V0125 ESC STHIS IS THE STORED IMAGE WITH A BARCODE ESC H0100 ESC V0165 ESC B103100 12345 ESC ESC Z ESC A ESC H0100 ESC V0050 ESC STHIS IS RECAL...
Page 59: ...ESC H0025 ESC V0150 ESC WL0SATO ESC H0025 ESC V0215 ESC WL1SATO ESC Q1 ESC Z ESC A ESC 0 ESC H0025 ESC V0020 ESC WB0SATO ESC Q1 ESC Z OUTPUT 4 12 NOTES Specify the exact same parameters for the image...
Page 60: ...dd Vertical length of the image area to be copied Place anywhere within the data stream after specifying the location of the duplicate image EXAMPLE ESC A ESC H0050 ESC V0050 ESC E010 ESC XM SATOSATOS...
Page 61: ...point of H2 V2 The character pitch is 2 dots and the line gap is 16 dots Simply issue an ASCII CR at the end of each text line FORMAT ESC J Place immediately following ESC A EXAMPLE ESC A ESC J WITH T...
Page 62: ...ive tool FORMAT ESC RF a Font ID number 01 to 99 b Print digit 1 to 9999 n Print data Place after ESC H but before ESC Q1 EXAMPLE ESC A ESC H0100 ESC V0100 ESC RF020002 826B ESC Q1 ESC Z OUTPUT 4 15 N...
Page 63: ...mand can be used with the Rotate Fixed Base Reference Point ESC command Note that the reference point rotation is dependent upon the location of the ESC command in the data stream This command should...
Page 64: ...printer output It is used to automatically adjust the offset values for the size of label being used The sample command stream specifies a label 832 dots wide by 1424 dots long NOTES The Base Referenc...
Page 65: ...dots from base reference point 1 to Hmax bbbb Number of vertical dots from base reference point 1 to Vmax Place preceding any print field description of lines boxes fonts bar codes or graphics EXAMPLE...
Page 66: ...C USATO ESC H0300 ESC V0175 ESC L0202 ESC SSATO ESC H0300 ESC V0250 ESC L0202 ESC MSATO ESC Q1 ESC Z OUTPUT 4 18 NOTES Characters may be enlarged through the use of the Character Expansion command and...
Page 67: ...ESC V0100 ESC WB0SATO ESC H0001 ESC V0185 ESC WB1SATO ESC H0001 ESC V0270 ESC WL0SATO ESC H0001 ESC V0355 ESC WL1SATO ESC H0300 ESC V0100 ESC XB0SATO ESC H0300 ESC V0185 ESC XB1SATO ESC H0300 ESC V02...
Page 68: ...6 CP 864 DOSArabic 7 CP 874 Thai 8 PC850 Multilingal ccc Horizontal size 4 999 dots or P02 P99 ddd Vertical size 4 999 dots or P02 P99 nn n Data to be printed Place within the normal command stream E...
Page 69: ...d open outlined 2 Gray mesh pattern 1 3 Gray mesh pattern 2 4 Gray mesh pattern 3 5 Standard open shadow 1 6 Standard open shadow 2 7 Standard mirror image 8 Italic 9 Italic open shadow Place immediat...
Page 70: ...a 0 Codabar 1 Code 39 2 Interleaved 2 of 5 I 2 5 3 UPC A EAN 13 4 EAN 8 5 Industial 2 of 5 6 Matrix 2 of 5 7 reserved 8 reserved 9 reserved A MSI B reserved C Code 93 D reserved E UPC E F Bookland G C...
Page 71: ...SC V1125 ESC BC03100081234ABCD ESC H0080 ESC V1240 ESC XS1234ABCD ESC H0525 ESC V0025 ESC B002100A12345B ESC H0565 ESC V0135 ESC XS12345 ESC H0475 ESC V0200 ESC BD303100123456789012 ESC H0525 ESC V037...
Page 72: ...the symbol The Code 128 UCC 128 MSI and Code 93 bar codes are not affected by the narrow to wide ratios The Codabar Code 39 Industrial 2 of 5 and Matrix 2 of 5 bar codes are affected by the Character...
Page 73: ...after ESC V but before ESC Q EXAMPLE ESC A ESC H0100 ESC V0100 ESC d3021204902471006795 ESC Q1 ESC Z OUTPUT 4 22c NOTES Adds HRI with a specified character type If data with other than the specified v...
Page 74: ...12 dots b Barcode Height 001 to 999 dots c Data Digit Number 01 to 99 n Print Data barcode data Place anywhere after ESC V but before ESC Q EXAMPLE ESC H0100 ESC V1125 ESC BC0310008123 ESC H0155 ESC V...
Page 75: ...9 dots n Print Data numeric 0 to 9 2 to 5 digits Place anywhere after ESC V but before ESC Q EXAMPLE ESC H0325 ESC V0725 ESC D30315009827721123 ESC L0101 ESC H0295 ESC V0800 ESC ESC OB0 ESC H0340 ESC...
Page 76: ...t Code A ESC G 2 Start Code B ESC H 3 Start Code C ESC I When using Start Code C specify the print data in even numbered digits When the print data contains an odd number of digits specify Start Code...
Page 77: ...to the UCC EAN128 code table EAN128 Barcode for Standard Carton ID fixed 18 digits Identifier of a continuous code for freight packaging Type of packaging Country manufacturer code Serial number for...
Page 78: ...automatically Modulus 10 check character and modulus 103 check character are automatically generated Sequential number of barcode data is available Line pitch between barcode and expository font is fi...
Page 79: ...ostnet 52 format 11 digits Postnet 62 Delivery Point format Place immediately preceding the data to be encoded EXAMPLE ESC A ESC H0100 ESC V0120 ESC BP94089 ESC H0100 ESC V0160 ESC BP123456 ESC H0100...
Page 80: ...ol 0 Codabar 1 Code 39 2 Interleaved 2 of 5 5 Industrial 2 of 5 6 Matrix 2 of 5 bb Narrow space in dots 01 to 99 cc Wide space in dots 01 to 99 dd Narrow bar in dots 01 to 99 ee Wide bar in dots 01 to...
Page 81: ...ctor by which the width of all bars and spaces will be increased 01 to 12 bbb Bar height by dot 004 to 999 dots Place immediately following the ESC BT command and preceding data to be encoded EXAMPLE...
Page 82: ...but before ESC Q EXAMPLE ESC V0100 ESC H0100 ESC BK0607400000021PDF417 PDF417 PDF417 OUTPUT 4 30 NOTES The minimum module width can be set to 01 and 02 however it may not read properly 01 02 and 03 ar...
Page 83: ...number partitioned by concentration mode 01 to 16 f Concentration mode parity data 00 to ff g Character mode 1 Number mode 2 Alphanumeric mode 3 Binary mode h Data number 0001 to 7366 n Data Place any...
Page 84: ...99999 e Country Code 001 to 999 f Service Class 001 to 999 n Low Priority Message alphanumeric symbol Place anywhere after ESC V but before ESC Q EXAMPLE ESC A ESC V0100 ESC H0100 ESC BV1 1 2 12345678...
Page 85: ...nt 1 Mirror Image h Guide Cell Size 01 to 15 Place anywhere after ESC V but before ESC Q EXAMPLE ESC V0100 ESC H0100 ESC BX05051010000000001 ESC DCDATA MATRIX DATA MATRIX OUTPUT 4 33 NOTES If 20 is sp...
Page 86: ...data for the data matrix code of 2D code FORMAT ESC DC n Print data Place after ESC BX EXAMPLE ESC A ESC H0100 ESC V0100 ESC BX011002020000000001 ESC DC1234567890 ESC Q1 ESC Z OUTPUT This command doe...
Page 87: ...duplications to print 001 to 999 b Flag of increase decrease Increase Decrease c Quantity of increase decrease 001 to 999 d Specification of digit position 001 to 999 e Digit number 001 to 999 Place b...
Page 88: ...MPLE ESC A ESC H0100 ESC V0100 ESC VC1000505 ESC Q1 ESC Z OUTPUT When setting ecc to 2d and Digit Number of Data to 10 digits the matrix size becomes 14 In the same way when setting ecc to 2 and Numbe...
Page 89: ...eed selection in ips Place immediately after ESC A and immediately before ESC Z in a separate data stream Refer to the product manual for specific print speed increments EXAMPLE ESC A ESC CS6 ESC Z OU...
Page 90: ...and immediately before ESC Z in its own separate data stream Refer to the product manual for specific print speed increments EXAMPLE ESC A ESC E2 ESC Z OUTPUT This command does not result in printer...
Page 91: ...C H0025 ESC V0025 ESC WB0MNORMAL REFERENCE POINT ESC A3H0300V0075 ESC H0100 ESC V0050 ESC WB0MNEW REFERENCE POINT ESC Q1 ESC Z OUTPUT 4 36 NOTES Use of this command will set the printer s Vertical Hor...
Page 92: ...mm or enlarged to 356 mm FORMAT ESC AR Standard print area ESC AX Enlarged print area Place after ESC A within the data stream EXAMPLE ESC A ESC AR ESC Z OUTPUT 4 37 NOTES This command changes the pri...
Page 93: ...e PN 9001149A Page 4 51 PRINT END POSITION FUNCTION Changes the label stop position in the sensor invalid mode FORMAT ESC EP Place after ESC A within the data stream EXAMPLE ESC A ESC EP ESC Z OUTPUT...
Page 94: ...mand ESC Q EXAMPLE ESC A ESC H0020 ESC V0020 ESC XB1ABC ESC Q3 ESC 0002 ESC Z OUTPUT This set of commands will print 6 labels 3 x 2 with two labels between each cut 4 38 NOTES The optional label cutte...
Page 95: ...mmand FORMAT ESC Aaaaa aaaa Number of labels to print between each cut 1 to 9999 Place preceding the ESC Q Print Quantity command EXAMPLE This set of commands will print seven labels with two labels b...
Page 96: ...ti part tag or label that is left in the printer after a job is cut FORMAT ESC B Place in a separate data stream sent to the printer EXAMPLE ESC A ESC B ESC Z OUTPUT This command will feed the last pr...
Page 97: ...emory This command should be sent to the printer as an independent data stream EXAMPLE ESC A ESC ESC Z OUTPUT This command does not result in printer output The current print job in the buffer will be...
Page 98: ...nce PN 9001149A Page 4 56 FORM FEED FUNCTION To feed a blank tag or label which is the equivalent of a form feed FORMAT ESC A space ESC Z Place in a separate data stream to the printer EXAMPLE ESC A s...
Page 99: ...Optional display message on the LCD 32 characters max Place anywhere between ESC A and ESC Z EXAMPLE ESC A ESC LOAD BLUE LABELS AND PLACE PRINTER ON LINE Job ESC Z OUTPUT This command does not result...
Page 100: ...offline to online status FORMAT ESC OL Place anywhere between ESC A and ESC Z EXAMPLE ESC A ESC OL ESC Z OUTPUT This command does not result in printer output NOTES Up to 32 characters are available...
Page 101: ...he last label printed FORMAT ESC C Place immediately after ESC A and immediately before ESC Z in a separate data stream EXAMPLE ESC A ESC C ESC Z OUTPUT A duplicate of the previous label will be print...
Page 102: ...to Appendix Reference Table 29 for additional information FLASH ROM SETUP FUNCTION Registers the operation of the printer in EEPROM FORMAT ESC PC Place immediatley after ESC A EXAMPLE ESC A ESC PC26...
Page 103: ...n separate data stream sent to the printer EXAMPLE ESC A ESC I230011 ESC Z OUTPUT This command does not result in printer output NOTES The settings are stored in the EEPROM by this command and they wi...
Page 104: ...t used Place in separate data stream sent to the printer EXAMPLE ESC A ESC IG1 ESC Z OUTPUT This command does not result in printer output NOTES When the power is cycled the value set by this command...
Page 105: ...inting Place in separate data stream sent to the printer EXAMPLE ESC A ESC PH1 ESC Z OUTPUT This command does not result in printer output NOTES When the power is cycled the value set by this command...
Page 106: ...fter print 8 Dispense backfeed before print Place in separate data stream sent to the printer EXAMPLE ESC A ESC PH1 ESC Z OUTPUT This command does not result in printer output NOTES When the power is...
Page 107: ...h line Then send an ASCII ESC CR at the end of each line of text The printer automatically identifies the size of the last character moves down the number of dots specified and begins printing the nex...
Page 108: ...E ESC A ESC LD 0 0 D5 ESC Z OUTPUT A Protocol Command code status label will be printed as a result of the successful download of a custom set of Protocol Command codes 4 42 NOTES Commas must be used...
Page 109: ...FUNCTION Specifies the configuration of reprinting FORMAT ESC RPa a 0 Normal no print 1 Reprint setting Place immediately following ESC A EXAMPLE ESC A ESC RP0 ESC Z OUTPUT This command does not resu...
Page 110: ...Code Symbol 0 English 1 French 2 German 3 Spanish 4 Italian 5 Portugese 6 Extensible language Japanese etc Place immediately following ESC A EXAMPLE ESC A ESC LA0 ESC Z OUTPUT This command does not r...
Page 111: ...CTION Configures the deletion function of CR LF FORMAT ESC CLa a 0 Normal no deletion 1 Delete CR LF Place anywhere between ESC A and ESC Z EXAMPLE ESC A ESC CL1 ESC Z OUTPUT This command does not res...
Page 112: ...Print zeroes without slash 1 Print zeroes with slash Place in a separate data stream before any label data is transmitted EXAMPLE ESC A ESC LH0 ESC Z OUTPUT This command does not result in printer ou...
Page 113: ...ode 1 Printer automatically powers up in the Offline mode Place in a separate command stream before label data is transmitted to the printer EXAMPLE ESC A ESC AO1 ESC Z OUTPUT This command does not re...
Page 114: ...label feed when online Place in a separate command stream before label data is transmitted to the printer EXAMPLE ESC A ESC LF0 ESC Z OUTPUT Feeds a blank label when entering the online mode NOTES Thi...
Page 115: ...to be printed via software control FORMAT ESC TPa a 0 Small User test print 1 Large User test print 2 Small Factory test print 3 Large Factory test print Place in a separate command stream EXAMPLE ES...
Page 116: ...Z ESC A ESC H0050 ESC V0100 ESC WB1EXPAND TO ESC H0050 ESC V2700 ESC WB1MAX INCHES ESC Q1 ESC Z ESC A ESC AR ESC Z OUTPUT 4 43 NOTES EX0 is effective until AR is sent to reset the printer to its stand...
Page 117: ...nt before execution with the exception of the data being analyzed while printing When BASIC is specified as the filename of automatic execution and it isn t stored in memory migration to SBI is only a...
Page 118: ...234 DATA3 ESC IF6 4 0010 QTY ESC Z OUTPUT 4 44 NOTES Power off the printer to clear stored data When omitting the name of a data item the item name will not be changed When the quantity of the specifi...
Page 119: ...nternal buffer FORMAT ESC IR a Internal buffer number 1 to 16 b Obtained digit number 1 to 32 c Start position of Recieve Data Import 0 to 9999 d Terminate code digit number 1 to 4 e Terminate code 4...
Page 120: ...Unit 4 Standard Command Codes SATO E Programming Reference PN 9001149A Page 4 78 OUTPUT 4 45a 4 45b 4 45c INTERNAL BUFFER DUAL PORT STORE...
Page 121: ...mber is specified 0016 will be recognized as terminate code and processed based on the specified digit number Time out duration is the waiting time per 1 byte of received data In case of time out the...
Page 122: ...where between ESC A and ESC Z EXAMPLE ESC A ESC I 06 ESC Z OUTPUT 4 46 NOTES Avoid initializing this command with Internal Buffer Registration ESC IR and Data Transmission ESC IT within the same item...
Page 123: ...subject to data replacement is not specified When the parameter is specified for the command of data replacement data will not be replaced with ESC IB Internal buffer data can be obtained up to 1024 b...
Page 124: ...4 48 NOTES When the result of the comparison is the same as the specified result in parameter a matching mismatching subsequent data to this command will be analyzed When the result of the comparison...
Page 125: ...A PRINT FUNCTION Prints the stored data in the internal buffer of a label FORMAT ESC I Place anywhere between ESC A and ESC Z EXAMPLE ESC A ESC I ESC Z OUTPUT 4 49 NOTES Powering off the printer clear...
Page 126: ...Transmission digit number 1 to 1024 d Transmission data not limitation for the digit number at c Place anywhere between ESC A and ESC Z EXAMPLE None OUTPUT 4 50 NOTES This command cannot be used in c...
Page 127: ...from the specified port When Input Output Direction is set to output this parameter will be Output Timeout Duration After the specified time the signal level will return to its state before this comma...
Page 128: ...n of the previous print item When a quantity of labels is specified with ESC Q the delay is only valid for the first label and all others will be printed continuously without delay Specify this comman...
Page 129: ...pecified the message within the limits will be displayed The specified character string is left aligned for display When the message is less than 16 digits the spaces 20H will be filled for display Wh...
Page 130: ...consecutively prolonged sounds Place anywhere between ESC A and ESC Z EXAMPLE ESC A ESC IU0 ESC Z OUTPUT This command does not result in printer output NOTES The duration range is from 175ms to 400ms...
Page 131: ...UTPUT This command does not result in printer output NOTES Avoid initializing this command with other SBPL commands within the same item Issue only when the printer is online or in the standby state w...
Page 132: ...is 1KB One key entry information requires 2 bytes and up to 512 information entries are available The key buffer acts as ring buffer When the key entry exceeds the maximum entry capacity the oldest en...
Page 133: ...Allows display input data up to 16 digits When this limit is exceeded the left right arrow keys may be used to scroll to view the remaining The printer returns to the original screen following data i...
Page 134: ...ength is too long the label may exit the platen creating an error When setting Thermal Transfer to Print Method the Length of Label Backfeed must be less than 30mm to prevent a ribbon end error and to...
Page 135: ...00003C00003C00003 C00007E00003C0000FF00003C0000FF00003 C0000FF00003C0000FF00003C00007E00003 C00003C00003C00003C00003C00003C00003 C00003C00003C00003C00003C00003C00003 C00003C00003C00003C00003C00003C000...
Page 136: ...here within the job data stream EXAMPLE ESC A ESC V0100 ESC H0100 ESC GM03800 Data ESC Q1 ESC Z OUTPUT 4 53 NOTES The maximum number of bytes that can be downloaded is 32K compressed and includes the...
Page 137: ...ob data stream EXAMPLE ESC A ESC V0150 ESC H0100 ESC GP03800 Data ESC Q1 ESC Z OUTPUT 4 54 NOTES The maximum number of bytes that can be downloaded is 32K compressed The number specified by this comma...
Page 138: ...d Place anywhere within the data stream after specifying the location of the duplicate image EXAMPLE ESC A ESC H0050 ESC V0050 ESC E010 ESC XM SATOSATOSATOSATOSATOSATOSATO SATOSATOSATOSATOSATOSATOSATO...
Page 139: ...SATO E Programming Reference PN 9001149A Page 5 1 OPTIONAL COMMAND CODES Calendar Commands Memory Card Commands...
Page 140: ...t of this command NOTES The date and time elements may be placed in any order for printing Use slash to separate date elements and colon to separate time elements Up to 16 characters are allowed The f...
Page 141: ...a stream The printer s internal clock may be set through the Calendar Set command If a print quantity of more than one label per job is used the same time and date will be on each label of the entire...
Page 142: ...e printer s internal clock may be set through the Calendar Set command If a print quantity of more than one label per job is used the same time and date will be on each label of the entire print job C...
Page 143: ...USE FUNCTION Specifies the card slot for use FORMAT ESC CCa a Slot number 1 fixed Place immediately following ESC A EXAMPLE ESC A ESC CC1 ESC Z OUTPUT There is not a printer output as a result of this...
Page 144: ...ywhere between ESC A and ESC Z EXAMPLE ESC A ESC CC1 ESC BJFsatocard ESC Z OUTPUT There is not a printer output as a result of this command NOTES This command is not valid without an optional memory c...
Page 145: ...ue Type Font R Form Overlay b Registration number 000 to 999 True Type Font 001 to 999 Except True Type Font Place anywhere between ESC A and ESC Z EXAMPLE ESC A ESC G ESC Z OUTPUT There is not a prin...
Page 146: ...UNCTION Prints the status of memory card FORMAT ESC BJS Place anywhere between ESC A and ESC Z EXAMPLE ESC A ESC BJS ESC Z OUTPUT 5 2 NOTES This command is for printing the memory card status and cann...
Page 147: ...D 00 to 99 b Horizontal magnification 01 to 12 c Vertical Magnification 01 to 12 d Character Pitch 01 to 99 e Backup 00 fixed f Print Character Quantity 0000 to 9999 g Data Place anywhere between ESC...
Page 148: ...a Font Description specification of 40 bytes of font b Date 10 bytes of date data c Memory Offset 5 bytes of memory offset in hex d Quantity of Data bytes 0001 to 2000 e Font data to download 0001 to...
Page 149: ...Place immediately following the ESC CC Slot Select command EXAMPLE ESC A ESC CC1 ESC YR 02 ESC D 01 TWO FIELDS OF ESC D 02 VARIABLE DATA ESC Q1 ESC Z OUTPUT 5 4 NOTES This command requires the Expande...
Page 150: ...02 ESC N 01 13 ESC V0100 ESC H0100 ESC XB1 ESC N 02 13 ESC V0200 ESC H0200 ESC XB1 ESC Z OUTPUT There is no printer output as a result of this command See ESC YR Format Field Recall command NOTES This...
Page 151: ...ommand NOTES The Expanded Memory option is required fro this command The ESC CC Memory Area Select command must be sent prior to this command Several images stored under different storage numbers can...
Page 152: ...images by the ESC A and ESC Z bounding commands The parameters of bbbb and cccc may be omitted By specifying them the label image can be moved by using the ESC V and ESC H position commands when reca...
Page 153: ...H60 ESC FW04H400 ESC CC1 ESC S1 ESC Z Example B When window size is specified ESC A ESC A1800400 ESC ESC V100 ESC H00 ESC P2 ESC L0202 ESC XMABCD ESC CC1 ESC S 1 20 200 ESC Z Example C When print is s...
Page 154: ...tored BMP file stored in Expanded Memory FORMAT ESC GCaaa aaa Storage number 001 to 999 Place after the CC Memory Area Select command EXAMPLE ESC A ESC CC1 ESC V100 ESC H100 ESC GC001 ESC Q1 ESC Z OUT...
Page 155: ...printer output as a result of this command NOTES This command requires the Expanded Memory Option See your SATO representative for details Data must be sent in binary format The Memory Area Select Com...
Page 156: ...f the graphic EXAMPLE Normal Rotation ESC A ESC CC1 ESC V0100 ESC H0050 ESC PY001 ESC Q1 ESC Z Rotate Base Reference Point ESC A ESC CC1 ESC 1 ESC V0330 ESC H0160 ESC PY001 ESC Q1 ESC Z 2nd Rotation B...
Page 157: ...file to Expanded Memory Area 1 Storage Area 1 OPEN C WIZARD GRAPHICS LION PCX FOR INPUT AS 2 DA INPUT 3800 2 C CHR 27 WIDTH LPT1 255 LPRINT C A C CC1 LPRINT C PI001 03800 DA LPRINT C Z CLOSE 2 OUTPUT...
Page 158: ...AMPLE Non Rotated Graphic ESC A ESC CC1 ESC V0100 ESC H0080 ESC L0505 ESC GR001 ESC Q1 ESC Z Graphic Rotated 90 ESC A ESC CC1 ESC 1 ESC V0180 ESC H0250 ESC L0505 ESC GR001 ESC Q1 ESC Z Graphic Rotated...
Page 159: ...EXAMPLE ESC A ESC CC1 ESC GIH0020020010100038007C00FE01FF03FF87FFCFFFE07C007C007C007 C007C007C007C007C0 ESC Z OUTPUT There is no printer output as a result of this command See ESC GR Recall Custom Gra...
Page 160: ...d is typically sent in its own data stream to the printer between the Start Stop commands The Recall command is sent in a secondary data stream to print the character and follows any necessary positio...
Page 161: ...SATO E Programming Reference PN 9001149A Page 6 1 BI DIRECTIONAL COMMUNICATIONS Introduction Enquire Response...
Page 162: ...ie pin 20 DTR to pin 6 DSR and pin 4 RTS to pin 5 CTS at the printer end on the cable RECEIVE BUFFER This protocol controls information such as reception print and cancelation for every item When the...
Page 163: ...Q to the printer which responds within five milliseconds unless actively printing If printing it will respond upon finishing and then resume printing Refer to Appendix Reference Tables 41 and 42 for a...
Page 164: ...e item number is saved as and the status as 3 in the history The Item Number Error may occur at the beginning of print operation and cease operation RELEASE RETURN ERROR SOH SUB This command enables t...
Page 165: ...bounded by an STX ETX pair that reports the system version of the printer MEMORY STATUS SOH EB Receipt of SOH followed by EB causes the printer to return information bounded by an STX ETX pair that re...
Page 166: ...by calculating BCC based on the received data of every item and comparing such BBC to the other BBC that was sent If both BCC do not match the printer recognizes the received data as incorrect data ac...
Page 167: ...f using LAN interface or changing from driver protocol or vice versa repower on the printer Normal transmission and reception of data cannot be performed without repowering DESIGNATION OF STATUS 5 RET...
Page 168: ...SATO E Programming Reference PN 9001149A Page 7 1 APPENDIX Custom Characters Graphics Custom Protocol Codes Reference Tables...
Page 169: ...e Custom Designed Characters command It demonstrates the design and printing of an arrow in a 16 x 16 matrix 1 Determine which matrix size to use 16 dot x 16 dots 24 dots by 24 dots 2 Lay out a grid a...
Page 170: ...H 07H C0H ESC Z 7 To recall the custom character from memory send the following code to the printer ROW BIT MAP HEX 1 0000 0001 0000 0000 01 00 2 0000 0011 1000 0000 03 80 3 0000 0111 1100 0000 07 C0...
Page 171: ...wing example is presented to help you understand the use of the Custom Graphics command It demonstrates the design and printing of a diskette in a 48 x 48 matrix 1 Determine the matrix size for the gr...
Page 172: ...0 FF FF FF F3 F3 11000000 00000000 00000000 00000000 00000000 00000011C0 00 00 00 00 03 03 11000000 00000000 00000000 00000000 00000000 00000011C0 00 00 00 00 03 03 11000000 00000000 00000000 00000000...
Page 173: ...CHR HC0 CHR H00 CHR H07 CHR H00 PRINT 1 CHR H00 CHR H03 CHR HC0 CHR H00 CHR H0F PRINT 1 CHR HF0 CHR H00 CHR H03 CHR HC0 CHR H00 PRINT 1 CHR H0F CHR HF0 CHR H00 CHR H03 CHR HC0 PRINT 1 CHR H00 CHR H0F...
Page 174: ...uncompressed size PCX is a compressed file of the file must not be greater than 64K bytes Generally this is not a problem unless the graphic image is surrounded by large amount of white space which th...
Page 175: ...Unit 7 Appendix SATO E Programming Reference PN 9001149A Page 7 8...
Page 176: ...A command stream would then start with an instead of an ESC These two sets of Protocol Command Codes are adequate for the majority of all applications but ocassionally situations occur where conflict...
Page 177: ...KB KD k1 k2 k3 k4 k5 k8 k9 kA kB kD Barcode B D D d BD BT BW Modification RF TABLE 3 VALID COMMANDS ESC PR Font XU XS XM XB XL RD Modification RF TABLE 4 VALID COMMANDS ESC PS Font XU XS XM XB XL RD M...
Page 178: ...BK BQ BV BX VC Modification WD FW RF Graphic G GM GP TABLE 9 VALID COMMANDS ESC H Font XU XS XM XB XL OA OB RD K1 K2 K3 K4 K5 K8 K9 KA KB KD k1 k2 k3 k4 k5 k8 k9 kA kB kD Barcode B BC BG BI BP D D d B...
Page 179: ...rence PN 9001149A Page 7 12 TABLE 12 CHARACTER FONT SET ESC XU W5 X H9 CHARACTER SIZE 12 DOTS MM HEAD DENSITY THREE FOLD HEIGHT WIDTH TABLE 13 CHARACTER FONT SET ESC XS W17 X H17 CHARACTER SIZE 12 DOT...
Page 180: ...rence PN 9001149A Page 7 13 TABLE 14 CHARACTER FONT SET ESC XM W24 X H24 CHARACTER SIZE 12 DOTS MM HEAD DENSITY ONE FOLD HEIGHT WIDTH TABLE 15 CHARACTER FONT SET ESC XB W48 X H48 CHARACTER SIZE 12 DOT...
Page 181: ...ference PN 9001149A Page 7 14 TABLE 16 CHARACTER FONT SET ESC XL W48 X H48 CHARACTER SIZE 12 DOTS MM HEAD DENSITY ONE FOLD HEIGHT WIDTH TABLE 17 VALID COMMANDS ESC OA OB Print Position V H Modificatio...
Page 182: ...rence PN 9001149A Page 7 15 TABLE 18 CHARACTER FONT SET ESC OA W24 X H24 CHARACTER SIZE 12 DOTS MM HEAD DENSITY ONE FOLD HEIGHT WIDTH TABLE 19 CHARACTER FONT SET ESC OB W24 X H24 CHARACTER SIZE 12 DOT...
Page 183: ...E39 Set print data to include the Start Stop Character When the barcode print data is 12345 specify 12345 Barcode character pitch is enabled For print data refer to the CODE39 code table 1 3 2 Interle...
Page 184: ...table Fixed 5 Industrial 2 of 5 The barcode character pitch is enabled For print data refer to the Industrial 2 of 5 code table 2 5 6 Matrix 2 of 5 The barcode character pitch is enabled For print dat...
Page 185: ...3 03 39 G G 39 4 04 40 H H 40 5 05 41 I I 41 6 06 42 J J 42 7 07 43 K K 43 8 02 38 F F 38 9 09 45 M M 45 10 10 46 N N 46 11 11 47 O O 47 12 12 48 P P 48 13 13 49 Q Q 49 14 14 50 R R 50 15 15 51 S S 5...
Page 186: ...CC080 402 293 256 268 201 176 10 ECC100 300 218 190 200 150 131 14 ECC140 144 105 91 96 72 63 20 ECC200 Numeric 3116 Alphanumeric 2335 Binary 01h FFh 1556 TABLE 29 PARAMETERS ESC PG ITEM DESCRIPTION a...
Page 187: ...Shift JIS Code l Not Used 00H Fixed m Initial Feed 00H Disable 01H Enable n Proportional Pitch 00H Fixed Pitch 01H Proportional Pitch o Label Height 8 dots mm 01H to 4E20H 1 to 20000 12 dots mm 01H t...
Page 188: ...ss 2 3 Darkness 3 4 Darkness 4 5 Darkness 5 j 10 Not Used 0 Fixed k 11 Zero Slash 0 Disabled 1 Enabled l 12 Kanji Code 0 JIS Code 1 Shift JIS Code m 13 Not Used 0 Fixed n 14 Initial Feed 0 Disabled 1...
Page 189: ...ont RD abb ccc ddd n n Barcode B Barcode ratio 1 3 B abbcccn n D Barcode ratio 1 2 D abbcccn n D d Barcode selection of human readable information D d abbcccn n BD Barcode ratio 2 5 BD abbcccn n BW Pr...
Page 190: ...nal signal board is available TABLE 34 VALID COMMANDS ESC YS Print Position V H Font XU XS XM XB XL OA OB RD K1 K2 K3 K4 K5 K8 K9 KA KB KD k1 k2 k3 k4 k5 k8 k9 kA kB kD Barcode B BC BG BI BP D D d BD...
Page 191: ...GM GP TABLE 37 VALID COMMANDS ESC S Print Position V H Font XU XS XM XB XL OA OB RD K1 K2 K3 K4 K5 K8 K9 KA KB KD k1 k2 k3 k4 k5 k8 k9 kA kB kD Barcode B BC BG BL BP D D d BD 2D Code BK BQ BV BX VC Mo...
Page 192: ...3 inch sec 4 inch sec 5 inch sec 6 inch sec 7 inch sec 8 inch sec 9 inch sec 10 inch sec 11 inch sec 12 inch sec 1 4 Printing Mode 00H 01H 02H 03H 04H Continuous Tear Off Cutter Dispenser Linerless 1...
Page 193: ...to 40H 0 64 dots 00H to 60H 0 96 dots 00H to C0H 0 192 dots 1 26 Buzzer Setup 00H 01H Yes No 1 TABLE 41 SPECIFIED ITEM STATUS DESCRIPTION ASCII HEX Received 00 3030 Issued 01 3031 Cancel 02 3032 Item...
Page 194: ...bon Near End Buffer Near Full 7 37 Machine Error A 41 Flash ROM Error B 42 Head Open C 43 Paper End D 44 Ribbon End E 45 Sensor Error F 46 Head Error G 47 Cartridge Read Write Error H 48 Cartridge Ful...