Home
Star Micronics Line Thermal Printer User's Manual
Contents
1. Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP650 Black Mark ESC d OK OK OK OK NO NO NO NO Related FF OK OK OK OK NO NO NO NO Commands ESC C OK OK OK OK NO NO NO NO ESCCO OK OK OK OK NO NO NO NO VT OK OK OK OK NO NO NO NO ESCB OK OK OK OK NO NO NO NO 2 Color Printing Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700l TSP650 2 Color ESCRS c Ver 4 0 or Ver 2 0 or Ver 2 0 or OK NO NO NO NO Printing later later later Related ESCRS C Spec A Spec A Spec A Spec B NO NO NO NO Commands Ver 4 0 or Ver 2 0 or Ver 2 0 or later later later ESC 4 Ver 4 0 or Ver 2 0 or Ver 2 0 or NO NO NO NO NO later later later ESC 5 Ver 4 0 or Ver 2 0 or Ver 2 0 or NO NO NO NO NO later later later ESC RS d Ver 4 0 or Ver 2 0 or Ver 2 0 or OK NO NO NO NO later later later ESC RSr Ver 4 0 or Ver 2 0 or Ver 2 0 or OK NO NO NO NO later later later ESC FS q Ver 4 0 or Ver 2 0 or Ver 2 0 or OK NO NO NO NO later later later 3 ESC FS p Ver 4 0 or Ver 2 0 or Ver 2 0 or OK NO NO NO NO later later later Presenter Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650
2. Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP650 Black Mark ESC d OK OK OK OK OK OK OK NO Related FF OK OK OK OK OK OK OK NO Commands ESC C OK OK OK OK OK OK OK NO ESCCO OK OK OK OK OK OK OK NO VT OK OK OK OK OK OK OK NO ESCB OK OK OK OK OK OK NO NO 2 Color Printing Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP650 2 Color ESC RS c Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK Printing later later later Related ESC RS C Spec A Spec A Spec A Spec B Spec B Spec B Spec A Spec A Commands Ver 4 0 or Ver 2 0 or Ver 2 0 or later later later ESC 4 Ver 4 0 or Ver 2 0 or Ver 2 0 or NO NO NO NO OK later later later ESC 5 Ver 4 0 or Ver 2 0 or Ver 2 0 or NO NO NO NO OK later later later ESC RS d Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later ESC RSr Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later ESC FS q Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later ESC FS p Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later Presenter Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Presenter
3. Version Cell Count on Mistake Number of English Binary Kanji One Side Correction Characters Characters Level 31 141 L 4417 2677 1840 1132 M 3486 2113 1452 894 Q 2473 1499 1030 634 H 1897 1150 790 486 32 145 L 4686 2840 1952 1201 M 3693 2238 1538 947 Q 2670 1618 1112 684 H 2022 1226 842 518 33 149 L 4965 3009 2068 1273 M 3909 2369 1628 1002 Q 2805 1700 1168 719 H 2157 1307 898 553 34 153 L 5253 3183 2188 1347 M 4134 2506 1722 1060 Q 2949 1787 1228 756 H 2301 1394 958 590 35 157 L 5529 3351 2303 1417 M 4343 2632 1809 1113 Q 3081 1867 1283 790 H 2361 1431 983 605 36 161 L 5836 3537 2431 1496 M 4588 2780 1911 1176 Q 3244 1966 1351 832 H 2524 1530 1051 647 37 165 L 6153 3729 2563 1577 M 4775 2894 1989 1224 Q 3417 2071 1423 876 H 2625 1591 1093 673 38 169 L 6479 3927 2699 1661 M 5039 3054 2099 1292 Q 3599 2181 1499 923 H 2735 1658 1139 701 39 173 L 6743 4087 2809 1729 M 5313 3220 2213 1362 Q 3791 2298 1579 972 H 2927 1774 1219 750 40 177 L 7089 4296 2953 1817 M 5596 3391 2331 1435 Q 3993 2420 1663 1024 H 3057 1852 1273 784 STAR Line Mode Command Specifications 5 22 5 5 Appendix 8 TSP828L Cut Command Specifications Line Mode Command Normal Thermal Paper Label Paper Tear Bar Peel Mode FF Form Feed Label Gap Detection Label Gap Detection T Peeling Position Conveyan
4. ESC GS tn Name Select code page Code ASCII ESC GS t n Hex 1B 1D 74 n Decimal 27 29 116 n Defined Region Osns21 32sns34 64 lt ns79 Initial Value Memory switch setting When installed with Japanese language characters and DBCS setting Fixed at n 2 Function Specifies code page When installed with Japanese and Chinese language characters and DBCS setting this command is ignored n Code Page n Code Page 0 Normal 32 Codepage 1252 Windows Latin 1 1 CodePage437 USA Std Europe 33 Codepage 1250 Windows Latin 2 2 Katakana 34 Codepage 1251 Windows Cyrillic 3 CodePage437 USA Std Europe 64 Codepage 3840 IBM Russian 4 Codepage 858 Multilingual 65 Codepage 3841 Gost 5 Codepage 852 Latin 2 66 Codepage 3843 Polish 6 Codepage 860 Portuguese 67 Codepage 3844 CS2 7 Codepage 861 Icelandic 68 Codepage 3845 Hungarian 8 Codepage 863 Canadian French 69 Codepage 3846 Turkish 9 Codepage 865 Nordic 70 Codepage 3847 Brazil ABNT 10 Codepage 866 Cyrillic Russian 71 Codepage 3848 Brazil ABICOMP 11 Codepage 855 Cyrillic Bulgarian 72 Codepage 1001 Arabic 12 Codepage 857 Turkey 73 Codepage 2001 Lithuanian KBL 13 Codepage 862 Israel Hebrew 74 Codepage 3001 Estonian 1 14 Codepage 864 Arabic 75 Codepage 3002 Estonian 2 15 Codepage 737 Greek 76 Codepage 3011 Latvian 1 16 Codepage 851 Greek 7T Codepage 3012 Latvian 2 17 Codepage 869
5. This status is valid only on models provided with a presenter Models not provided with a presenter should send this status fixed at 0 This status is made valid and invalid using the memory switch only on models provided with a presenter When valid the presenter paper position status is updated but when invalid the presenter paper position status is fixed at 0 and there is no change in status Details of the Presenter Paper Position bit bit bit Presenter Paper Position 3 2 1 0 0 O Paper position O State where there is no paper in presenter 0 0 1 Paper position 1 State where paper is supplied loop state 0 1 O Paper position 2 Reserved 0 1 1 Paper position 3 State where paper is discharged Can be pulled out 1 0 O Paper position 4 Reserved 1 0 1 Paper position 5 Reserved 1 1 O Paper position 6 State where paper is recovered 1 1 1 Paper position 7 State where paper is pulled out Presenter operation mode Paper position status transition Operating Paper Presenter paper position state transition Mode Loop Recovery Position 0 to Position 1 to Paper cut to Position 3 to Paper recovery to Position 6 to Position O Take up Internal Pull out Position 0 to Position 1 to Paper cut to Position 3 to Paper pull out to Position 7 to Position 0 recovery Loop Recovery Positio
6. 48sn1s57 9 65sn1s70 A xn1s F 97xn13102 a sn1s f 48sn2s57 O xn2s 9 65sn2s70 A sn2s F 97xn23102 a sn2s f 48sn3s57 O xn3s 9 65Sn3s70 A sn3s F 97Sn3s102 a sn3s f 48sn4s57 O xn4s 9 65sn4s70 A sn4s F 97sn4s102 a sn4s f Specification A 48sNs57 O xNs 9 65SNS70 A SNS F 97SNS102 a xNs f Specification B 48sNs57 O xNs 9 65SNS70 A SNS F 97SNS102 a SNS f N 85 U User defined area Initial Value Function Sends command to write after defining memory switch using the definition command specified by the following classes Memory switch information defined by the command to write is written to the volatile memory When writing to the volatile memory by the command to write the printer executes a reset This command exists in models that have the specifications of A and B indicated in the above defined areas Models having specifications B can register any 16 bit data by specifying N 85 U See the Special Appendix Command Table per Model for details per model Functions Class m N n1 n2 n3 n4 Definition data write and reset Write wv Fixed at Fixed at 0000 Definition data write and reset and Write T Fixed at 0 Fixed 0000 self print Data definition data specification Definition mi N
7. sssssssssssssssseseseeeeeeenerere nennt nennt sient nnne nr sss n nnn nnns 5 6 5 2 1 ENO Command Stat s ccena eva eoe to rote Ere rdg Pe I roger dad eV dE dpa dara 5 6 5 2 2 EOT Command Status nic et EE ier Ceo sa 5 6 3 2 9 A tomatic tace wt castus cedo xt fees 5 7 5 2 4 Printer status transmission specification when using Ethernet I F and Wireless LAN I F 5 14 5 3 Appendix 3 Blank Code Page Configuration sssssssseeee enne eene nnne 5 16 5 4 Appendix 7 Maximum Number of Input Characters for Each Version of QR 5 19 5 5 Appendix 8 TSP828L Cut Command Specifications ssessssseeeene emen 5 23 6 SPECIAL APPENDIX COMMAND LIST FOR EACH MODEL IN EACH l F sem 6 1 6 1 RS 232C MC M 6 6 2 Parallel I F USB l F Ver2 0 6 5 6 9 USB I F Ver1 0 Ethernet I F Silex Ver1 0 eiecti eerte rnnt nien 6 9 6 4 Ethernet I F Wireless LAN l F sssssseseneeennem emm emen nennen nenne enne n nennen nennen 6 13 STAR Line Mode Command Specifications 2 This specifications document describes the command specifications for the STAR LINE MODE on line thermal printers Information contained herein applies to models wi
8. Mark Mark Mark number 1 numberO number2 widthw widhw widhw f f 4 gt lt gt Mark Mark Mark Mark Mark Mark Mark number 1 numberO number 1 numberO number 1 number O number2 Mark Mark Mark Mark Mark Mark Mark number 1 numberO number2 numberO number 1 number O number 1 Mark Mark Mark Mark Mark Mark Mark number 1 numberO number 1 numberO number2 number O number2 Example Transmission 1 Mark height Line feed amount setting lt ESC gt GS 1 h v h 010 v 020 2 Color of each mark number Horizontal width setting lt ESC gt GS 2 m c w Mark number 0 setting m 0 c 0 w 016 lt ESC gt GS 2 m c w Mark number 0 setting m 1 c 1 w 040 lt ESC gt GS 2 m cw Mark number 0 setting m 2 c 0 w 040 3 Register the mark format specified by 1 and 2 in advance in the non volatile memory it is possible to print marks that are not registered in the non volatile memory lt ESC gt GS W Mak feed amountv Merk line feed amountv Merk line feed amountv STAR Line Mode Command Specifications 3 96 4 Printing Marks ESC GS 0 n m1 m2 m3 m4 m5 m6 m7 n2 007 m1 1 m2 0 m3 1 m4 0 m5z 1 m6 0 m7 2 lt ESC gt lt GS gt 0 n m1 m2 m3 m4 m5 m6 m7 n 007 m1 1 m2 0 m3 2 m4 0 m5z 1 m6 0 m7 1 ESC GS 0 n m1
9. Print settings ESC RS d Set print density ESCRSr Set printing speed Status ESC RS a Set status transmission conditions ESC ACK SOH Real time printer status ASB Status ENQ Real time printer status 1 EOT Real time printer status 2 ETB Update ETB status ESC RSE Clear ETB counter ETB status STAR Line Mode Command Specifications 2 2 Class Commands Name Chinese ESC p Set to JIS Chinese character mode characters ESC q Cancel JIS Chinese character mode ESC Set cancel JIS Chinese character mode ESCs Set two byte Chinese characters left right spaces ESCt Set 1 byte Chinese characters left right spaces ESCr Register Chinese download characters Others CAN Cancel print data and initialize commands ESC Command initialization ESC GS Set memory switch ESC Reset printer ESC GS r Get CRC code Macro ESC GS Register macro Chinese character commands Chinese character control commands are ignored on printers not installed with Chinese character fonts those intended for overseas All Chinese character control commands are ignored if the specification for the location of use is specified as SBCS single byte countries by the memory switch Raster related commands Class Commands Name Raster commands ESC rR Initialize raster mode ESC rA Enter raster mode ESC rB Quit raster mode ESC rC Clea
10. MSB d 11 21 d n1 yn1 yn2 x 256 bytes yn1 yn2 x 256 x 8 d 12 d 22 d n2 dots d x1 d x2 d xn LSB STAR Line Mode Command Specifications 3 91 ESC FS p nm Name Print logo Code ASCII ESC FS p n m Hex 1B 1C 70 n m Decimal 27 28 112 n m Defined Area 1 lt ns255 0sms3 48xms51 0 sms 3 Initial Value Function Prints the logo of registration number n registered using the logo registration command ESC FS q according to the print mode m m Logo print mode 0 48 Normal mode 1 49 Double wide mode 2 50 Double high mode 3 51 Double high wide mode If there is unprinted data in the line buffer this command is executed after printing that data Therefore it is not possible to print with other data in the same line characters bit images bar codes Form feed obeys the vertical print size of the logo Adornments other than upside down printing and expansion settings are unaffected The horizontal printing start position conforms to the left margin position and the horizontal print area conforms to the left and right margin settings If the logo horizontal print size exceeds the horizontal print region the portion exceeding the area is not printed When using the 2 color print mode When the logo register number n is odd Register number n is printed in black register
11. t1 specifies energizing time t2 specifies the delay time Energizing time 20 msec x t1 Delay time 20 msec x t2 The buzzer will not ring while printing Use of this command other than for ringing the buzzer is prohibited There is the possibility of damage if using this command for driving the drawer on models that support external device terminals ON Drive Pulse OFF 20 x t1 msec 20 x t2 msec lt lt Se I I I Energizing Time Delay Time I L Print Operation Printing and Paper Feed Prohibited STAR Line Mode Command Specifications 3 47 ESC GS EM DC1 m n1 n2 Name External buzzer drive pulse condition settings Code ASCII ESC GS EM DC1 m n2 Hex 1B 1D 19 11 m n1 n2 Decimal 27 29 25 17 m n2 Defined Area 2 49 lt ms lt 50 0 lt n1 255 0 lt n2 lt 255 Initial Value n1 0 n2 0 Function Sets external buzzer derive pulse condition m specifies the buzzer drive terminal to perform the condition settings Buzzer Drive Terminal 1 49 Buzzer Drive Terminal 1 2 50 Buzzer Drive Terminal 2 n1 specifies the energizing time n2 specifies the delay time e Energizing time 220msec x n1 Delay time 20msec x n2 ON Drive Pulse OFF 20 x n1 msec 20 x n2 msec 1 1 E 1 1 Energizing Time Delay Time Print Operation Printing Paper Feed Prohibited D
12. Function Move print position to next horizontal tab position This command is ignored with under the following conditions When there is no horizontal tab set When the current position is the same as the furthest right horizontal tab position or to the right of it There is no initial value for the horizontal tab STAR Line Mode Command Specifications 3 27 ESC D n1 n2 nk NUL Name Set horizontal tab Code ASCII Hex Decimal Defined Area Initial Value Function ESC D nt n2 nk NUL 1B 44 n2 nk 00 27 68 nt nk O 1 lt ns255 Osks16 Uses the left edge as a standard to set the horizontal tab to the position of current ANK character pitch x n The horizontal tab reference point is the right edge of the paper regardless of the left margin ANK character pitch includes the right space and expansion settings are enabled All other horizontal tabs set before setting the horizontal tab using this command are cancelled A maximum of 16 horizontal tabs can be set However the tab position must satisfy the following conditions If the following conditions are not met data up to the NUL code is discarded Normal tabs that meet the conditions below are set and tabs after errors occur are not set e 1 n1 lt n2 lt nk nk Printable region The horizontal tab set using this command is unaffected by changing the character pitch Horizontal tabs set using the ESC D NUL command are cle
13. Control codes 00H to 1FH represent 40H to 5FH applied behind 96 Control code 7FH represents 965 25H 35H Function codes represent 1 to 4 31H to 34H applied behind 96 Start codes represent 6 to 8 36H to 38H applied behind 96 Stop code SC Check character CK are automatically applied When start code is omitted Uses START C when more than 4 digits continue after header Uses START A when initial data other than numbers are the control code Uses START B for other cases STAR Line Mode Command Specifications 5 3 2 Character set code table Control Codes gt Control Codes gt Code Format NUL 00H 25H 40H SOH 01H A 25H 41H STX 02H B 25H 42H ETX 03H C 25H 43H EOT 04H D 25H 44H ENQ 05H E 25H 45H ACK 06H F 25H 46H BEL 07H G 25H 47H BS 08H H 25H 48H HT 09H 90 25H 49H LF 0AH 25H 4AH VT OBH K 25H 4BH FF OCH L 25H 4CH CR ODH M 25H 4DH SO OEH N 25H 4EH SI OFH 900 25H 4FH DLE 10H P 25H 50H DC1 11H Q 25H 51H DC2 12H R 25H 52H DC3 13H S 25H 53H DC4 14H T 25H 54H NAK 15H U 25H 55H SYN 16H V 25H 56H ETB 17H W 25H 57H CAN 18H X 25H 58H EM 19H Y 25H 59H SUB 1AH Z 25H 5AH ESC 1BH 25H 5BH FS 1CH 9o X25H 5CH GS 1DH 90 25H 5DH RS 1EH 25H 5EH US 1FH _ 25H 5FH DEL 7FH 5 25H 35H lt Control Codes gt Code Format 25H 0 25H 30H
14. Standard Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700Il TSP650 Font Style ESC RSF NO NO NO NO OK OK OK OK and ESC GSt OK OK OK OK OK OK OK OK Character ESC GS Ver 3 0 or OK OK OK OK OK OK OK Set later ESCR OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC SP OK OK OK OK OK OK OK OK ESC M OK OK OK OK OK OK OK OK ESC P OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC p Not OK OK OK OK OK OK OK OK recommended ESC g Spec A Spec A Spec A Spec B Spec B Spec B Spec A Spec A Character ESC i OK OK OK OK OK OK OK OK expansion ESC W OK OK OK OK OK OK OK OK settings ESC h OK OK OK OK OK OK OK OK SO OK OK OK OK OK OK OK OK DC4 OK OK OK OK OK OK OK OK ESC SO OK OK OK OK OK OK OK OK ESC DC4 OK OK OK OK OK OK OK OK Print Mode ESC E OK OK OK OK OK OK OK OK ESC F OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC 4 OK OK OK OK OK OK OK OK ESC 5 OK OK OK OK OK OK OK OK SI OK OK OK OK OK OK OK OK DC2 OK OK OK OK OK OK OK OK Line LF OK OK OK OK OK OK OK OK spacing CR OK OK OK OK OK OK OK OK ESC a OK OK OK OK OK OK OK OK ESC z OK OK OK OK OK OK OK OK ESC 0 OK OK OK OK OK OK OK OK ESC J OK OK OK OK OK OK OK OK ESC I OK OK OK OK OK OK O
15. TSP828L TSP700Ill TSP650 PDF417 ESC GS xS0 NO NO NO Ver 3 1 or NO NO NO NO later Command ESC GS x S 1 NO NO NO Ver 3 1 or NO NO NO NO S later ESC GS x 82 NO NO NO Ver 3 1 or NO NO NO NO later ESC GS x 83 NO NO NO Ver 3 1 or NO NO NO NO later ESC GS x D NO NO NO Ver 3 1 or NO NO NO NO later ESC GS x P NO NO NO Ver 3 1 or NO NO NO NO later ESC GS xI NO NO NO Ver 3 1 or NO NO NO NO later Print Start Trigger Control Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700II TSP650 Print Start ESC GS g 0 NO NO NO NO NO NO NO NO Trigger ESC GS g 1 NO NO NO NO NO NO NO NO Control QR Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 QR Code ESCGSy S0 NO NO NO NO NO NO NO NO ESC GS y 1 NO NO NO NO NO NO NO NO ESC GSy 82 NO NO NO NO NO NO NO NO ESC GS y D 1 NO NO NO NO NO NO NO NO ESC GS y D2 NO NO NO NO NO NO NO NO ESC GS yP NO NO NO NO NO NO NO NO ESC GS yl NO NO NO NO NO NO NO NO Page Function Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700II TSP650 Page ESC GS hO NO NO NO NO NO NO NO NO Function ESC GS h 1 NO NO NO NO NO NO NO NO It is necessary to turn the printer from off to on because the printer hangs up after resetting the printer STAR Line Mode Command Specifications 6 12 6 4 Ethernet I F Wireless LAN I F
16. 0C Decimal 12 Defined Area Initial Value Function Executes a form feed If the current position is at the top of the page it form feeds to the top of the next page If there is data existing in the line buffer when executing a form feed it prints that data then executes the form feed However by printing data remaining in the buffer and moving to the top of the next page a form feed is considered to have been executed so form feed is not performed ESC Cn Name Set page length to n lines Code ASCII ESC C n Hex 1B 43 n Decimal 27 67 n Defined Area 1sns127 Initial Value Form feed amount initial value x 42 Function The position whereat this command is processed is considered the top of the page and sets the page length to current form feed amount x n This command cancels the bottom margin setting when setting page length The page length set using this command is unaffected by changing the form feed amount later Moving to the top of the page is performed using the following commands Form feed command FF Executes a form feed Cutter command ESC d n Sets cutter position at top of page Raster command ESC r B Sets top of page when quitting raster mode Error cancel operations Sets position when quitting error cancellation operations at top of page STAR Line Mode Command Specifications 3 22 ESC C 0n Name Set page length to n x 24 mm units Code ASCII ESC C 0
17. 2 and numbers 0 to 9 and e Wide characters narrow 4 wide 3 Ato D Character spaces are included in 1 character length STAR Line Mode Command Specifications 5 5 5 2 Appendix 2 Status Specifications 5 2 1 ENQ Command Status This status is the one the printer transmits using the ENQ command Bit Contents Status Model Compatability 0 1 TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP70011 TSP650 7 Conversion SW OPEN CLOSE OK OK OK No NO NO OK OK 6 Overrun Error No Yes OK OK OK OK OK OK OK OK 5 Reception Buffer Empty Has Data Empty OK OK OK OK OK OK OK OK 4 at 0 3 Paper end Paper No Paper OK OK OK OK OK OK OK OK 2 Other Errors No Yes OK OK OK OK OK OK OK OK 1 Framing Error No Yes OK OK OK OK OK OK OK OK O Parity Error No Yes OK OK OK OK OK OK OK OK Overrun errors Framing errors Parity errors These errors occur when using a serial I F These errors are after holding the error and using this command to inquire the status and the error status is sent Other Errors Indicates non recoverable errors and cover open errors 5 2 2 EOT Command Status This status is the one the printer transmits using the EOT command Bit Contents Status Model Compatability 0 1 TSP800 TSP700 TSP600
18. 52 Specifies 5x expansion 5 53 Specifies 6x expansion STAR Line Mode Command Specifications 3 12 Name Set double wide Code ASCII SO Hex OE Decimal 14 Defined Area Initial Value Cancels 2x wide expansion Function Specifies double wide for ANK characters and Chinese characters This command is equivalent to ESC W n n 1 Name Cancel expanded wide Code ASCII DC4 Hex 14 Decimal 20 Defined Area Initial Value Function Cancels expanded wide if the following commands specify expanded wide Double wide specifying command SO Set cancel double wide ESC W Set cancel double wide high ESC i This command is equivalent to ESC W n n 0 STAR Line Mode Command Specifications 3 13 ESC SO Name Set double high Code ASCII ESC SO Hex 1B OE Decimal 27 14 Defined Area Initial Value Function ESC DC4 Name Cancel expanded high Code ASCII ESC DC4 Hex 1B 14 Decimal 27 20 Defined Area Initial Value Function Cancels expanded high if the following commands specify expanded high Double high specifying command ESC SO Double high expansion cancelled Specifies double high for ANK characters and Chinese characters This command is equivalent to ESC h n n 1 Set cancel the double high ESC h Set cancel double wide high ESC i This command is equivalent to ESC h n n 0 STAR Line Mode Command
19. Bar code data Max 7089 bytes When using this command the printer receives data for the number of bytes k specified by nL and nH The data automatically expands to be set as the bar code data Indicates the number bytes of data specified by the nL and nH Bar code data is cleared at this time The data storage region of this command is shared with the manual setting command so data is updated each time either command is executed STAR Line Mode Command Specifications 3 120 ESC GS y D 2 a m1 niL n1H d11 d12 dik m2 n2L n2H 421 425 d2k ml dik Name Code ASCII Hex Decimal ASCII Hex Decimal Defined Area Initial Value Function Set QR code cell size Manual setting ESC GS y D 2 a m niL dit d12 ex 1B 1D 79 44 32 a m1 AIL dit d12 uc ATR 27 29 121 68 50 a mi niL dit d12 GIK m2 n2L n2H D21 22 w d2K ml js dkl m2 n2L n2H D21 d22 d2K ml sus dkl m2 n2L n2H D11 d22 d2K ml dkl 1sas255 isms4 0 lt nL lt 255 0 lt nH lt 255 1 lt nL nH x 256 lt 7089 k nL nH x 256 255 1 lt 1 lt 255 Specifies the bar code data type and sets the data Parameter details a Block count m Input data type nL nH x 256 Bar code data byte count dk Bar code data Max 7089 bytes m Data Type Data Definition Region d 1 Numbers 0 to 9 2 English Characters BP ngon nen tem EP to 9 A
20. Code ASCII ESC GS W Hex 1B 1D 2A 57 Decimal 27 29 42 87 Defined Area Initial Value Function Registers the mark format mark height mark line feed amount each mark color and each mark horizontal width to the non volatile memory After registering to the non volatile memory the printer is reset ESC GS C Name Initialize mark format in the non volatile memory Code ASCII ESC GS C Hex 1B 1D 2A 43 Decimal 27 29 42 67 Defined Area Initial Value Function Initializes the registered mark format mark height mark line feed amount each mark color and each mark horizontal width in the non volatile memory After initialization the printer is reset Initial Value of the Mark Format e Mark Height 016 16 dots Mark line feed amount 032 32 dots Mark color 0 White All mark numbers Mark horizontal width 080 80 dots All mark numbers STAR Line Mode Command Specifications 3 100 3 10 AUTO LOGO Function Command Details This command functions to print logos like the one below by only changing the product name when only product names can be changed in systems that are already in use Also this function has two operating modes 1 Standard Auto Logo Function The Auto Logo function is preset and executes the following operations using the print cut command under the current System as a trigger 1 Starts up the Auto Logo function using the current system cut
21. Greek 78 Codepage 3021 Bulgarian 18 Codepage 928 Greek 79 Codepage 3041 Maltese 19 Codepage 772 Lithuanian 255 User Setting Blank Code Page 20 Codepage 774 Lithuanian 21 Codepage 874 Thai STAR Line Mode Command Specifications 3 4 ESC GS n1 n2 da1 da2 dak db1 db2 dbk Name Write blank code page data Code ASCII Hex Decimal Defined Area Initial Value Function ESC GS n1 n2 dai da2 dak db1 db2 dbk 1B 1D 3D n1 n2 dai da2 dak db1 db2 dbk 27 29 61 n1 n2 da1 da2 dak dbi db2 dbk ni 0 n2 48 1s n1 n2 x 256 0xdas255 data db 0 STAR mode is not installed with Font B k n1 n2 x 256 A blank code page indicates a character code table where character codes from 80h to FFh are all blank A blank code page can be selected using the ESC GS t n command n 255 The printer is reset when writing with this command is completed Font A Data Format Vertical 24 dots x Horizontal 12 dots MSB LSB MSB LSB Da1 e e 9 9 9 9 Da2 e e 9 g Da3 e 9 9 9 9 9 9 Da4 e 9 9 Da5 e e 9 9 9 9 Da6 9 9 Da7 e 9 9 9 9 9 9 Da8 9 9 g Da9 e e e 9 9 9 9 Da10 e e 9 9 Dati e 9 9 9 9 9 9 Da12 e 9 9 Da13 9 9 9 9 9 9 9 Da14 e e 9 5415 e e e 9 9 9 9 Da16 e e e o 54
22. Presenter ESC SYN 0 NO NO NO OK NO NO NO NO Related ESC SYN 1 NO NO NO OK NO NO NO NO Commands ESC SYN 3 NO NO NO NO NO NO NO NO ESC SYN 4 NO NO NO OK NO NO NO NO Mark Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Mark ESC GS 0 NO Ver 4 0 or NO Ver 3 0 or NO NO NO NO Commands later later ESC GS 1 NO Ver 4 0 or NO Ver 3 0 or NO NO NO NO later later ESC GS 2 NO Ver 4 0 or NO Ver 3 0 or NO NO NO NO later later ESC GS W NO Ver 4 0 or NO Ver 3 0 or NO NO NO NO later later ESC GS C NO Ver 4 0 or NO Ver 3 0 or NO NO NO NO later later Auto Logo Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Auto Logo ESC GS W NO Ver 4 0 or NO NO NO NO NO NO later Command ESC GS C NO Ver 4 0 or NO NO NO NO NO NO S later ESC GS 1 NO Ver 4 0 or NO NO NO NO NO NO later ESC GS 2 NO Ver 4 0 or NO NO NO NO NO NO later ESC GS 3 NO Ver 4 0 or NO NO NO NO NO NO later ESC GS 4 NO Ver 4 0 or NO NO NO NO NO NO later ESC GS 5 NO Ver 4 0 or NO NO NO NO NO NO later ESC GS 6 NO Ver 4 0 or NO NO NO NO NO NO later STAR Line Mode Command Specifications 6 11 PDF417 Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000
23. d20 e e e e d21 e e e e e e e e d22 e e e e d23 e e e e e e e e d24 e e e e Vertical 24 Dots d25 e e e e e e d26 e d27 e e e e e e e e d28 e e e e d29 e e e e e e e e 30 e e e e d31 e e e e e e e e 32 e e e e d33 e e e e e e e d34 e e e e 35 e e e e e e e e d36 e e e e d37 e e e e e e e e d38 e e e e 39 e e e e e e e e e e e e d41 e e e e e e e e d42 e e e e d43 e e e e e e e e d44 e e e e d45 e e e e e 5 e e d46 d47 e e e e d48 o bit bitS bit4 bit3 bit2 biti bit bit6 bits bit4 bit3 bit2 biti bitd e Font data o Invalid data STAR Line Mode Command Specifications 3 31 ESC amp c1c2n Name Delete 12 x 24 dot font download characters Code ASCII ESC cl c2 n Hex 1B 26 c1 c2 n Decimal 27 38 c1 c2 n Defined Area c1 7 1 49 C2 0 48 32xns127 Initial Value Function Deletes 12 x 24 dot font download characters registered to the nth address ESC n Name Specifies cancels ANK download characters Code ASCII ESC 96 n Hex 1B 25 n Decimal 27 37 n Defined Area n 0 1 48 49 Initial Value ANK download characters cancelled Function Specifies cancels ANK download characters n Download characters
24. lt ESC gt GS y P is ignored With the 5 Get bar code expansion information command an error code is returned Error is generated when generating a bar code by the combination of each setting command Print data exceeds the currently set print region Therefore it is recommended to use 5 Get bar code expansion information command ESC GS y I as a means for checking for these errors prior to printing STAR Line Mode Command Specifications 3 116 2 Set bar code data This command sets the bar code print data There are four types of data that can be set using QR codes They are numbers English characters binary and Kanji Furthermore there are two types of data setting methods One is to specify these along with the bar code data data manual analysis and the other is to specify only the bar code data data automatic analysis 3 Set page mode This command is not used 4 Print Bar code This command prints bar codes based on the settings of 1 to 3 5 Set bar code type This command confirms whether to print bar codes based on the settings of 1 to 3 Precautions on using these commands The setting values for 1 to 3 are held unless any of the following operations are performed Sending a new setting command Sending an initialize command lt ESC gt lt CAN gt Turning the power OFF When there is an error in sending a command with 2 the set data i
25. n Position alignment 0 48 Left alignment 1 49 Center alignment 2 50 Right alignment STAR Line Mode Command Specifications 3 30 3 3 7 Download ESC amp c1 c2 n dl1 d48 Name Register 12 x 24 dot font download characters Code ASCII ESC amp cl c2 n d1 d48 Hex 1B 26 c1 c2 n di d48 Decimal 27 38 c1 c2 n di d48 Defined Area c1 7 1 49 c2 1 49 32xns127 Osds255 Initial Value Function Registers 12 x 24 dot font download characters to the nth address Download characters can be registered to lt 20 gt H to lt 7F gt H If one has been already registered to an address it is overwritten When parameters c1 and c2 and n are outside of the defined area subsequent data is handled as Horizontal 12 Dots tH d1 e e e 9 e d2 9 9 d3 e e e 9 9 8 d4 e e 9 9 d5 e e e 9 d6 e e e e d7 e e e 9 e d8 e e e e d9 e e e 9 e diO e e e e d11 e e e e e e e e di2 e 9 d13 9 9 e e di4 e d15 e 9 9 e 16 e e e e di7 e e e e e e e e di8 9 d19 e e e e 9 e
26. 01 to 10 1 USE FIXED Specifies number of lines and number of columns of bar code p1 Number of lines 0 3 to 90 p2 Number of columns 0 1 to 30 However p1 p2 x 928 When either p1 or p2 specifies O it indicates that that setting value is variable Setting the bar code size using this command specifies the general size of the bar code The size will automatically be corrected according to the other settings ESCGSxS1n Name Set PDF417 ECC security level Code ASCII ESC GS x S 1 Hex 1B 1D 78 53 31 Decimal 27 29 120 83 49 Defined Area Osns8 Initial Value n 1 Function Parameter details en ECC level 0 to 8 ESC GSxS2n Name Set PDF417 module X direction size Code ASCII ESC GS x S 2 Hex 1B 1D 78 53 32 Decimal 27 29 120 83 50 Defined Area 1sns10 Initial Value n 2 Function Parameter details en Sets the module X 5 direction size x dim Units Dots It is recommended that 2 lt n when specifying using this command When using with n 1 check by actual use STAR Line Mode Command Specifications 3 112 ESC GSxS3n lame Set PDF417 module aspect ratio Code ASCII ESC GS x S 3 n Hex 1B 1D 78 53 33 n Decimal 27 29 120 83 51 n Defined Area 1sns10 Initial Value n 3 Function Parameter details en Sets the module aspect ratio asp ESC GS x The module Y direction size x dim x asp is set using this command It is recommended that
27. 3 1 3 2 Exception PFOCESSIMG e 3 2 3 3 Standard Command Details treno ater t terree reae nice 3 3 3 3 1 Fontstyle and Character Set iiir eicit rire peint tai pa recep Psi Den pe y Rusia feastecaaavtecshstuedpeeteeeafesates 3 3 3 3 2 Character Expansion Settings ssssssssseseee eee eene nennen enne enr nere enne 3 11 SEMEL 3 15 SE MENU 3 19 3 9 0 Page Control COMMAMNGS e 3 22 3 3 6 Horizontal Direction Printing Position ec eee scence ee enne ee teee ater eaeeeeeeaaeeeseeeeeeesaaeeeeeeaeeeseeeeeeenaeeeeneaas 3 26 3 31 3 3 8 Bit Image Graphis 3 33 om EP np 3 37 9 9 104 BardSodgz reote REEL ntt E 3 41 s Su Cutter COMMON E M 3 43 3 9 12 External Device tee tr REO queo eo 3 44 3 BUE SE m 3 50 33 14 SLATS M 3 52 3 3 15 Chinese Characters one rece E ct RR ech EU cde E eee 3 55 3 39 16 M 3 59 3 4 Raster Graphics Command Details miere aier euet E co eese ree Pos ERE Fete FEAR tenida 3 64 3 5 Black Mark Related Command Details nennen 3 79 3 6 USB Related Command Details 2 2 cc ccs
28. 9 9 1 54 ee e e e e e d55 e 9 9 9 o e 56 9 9 e o d5 7 e ee e 9 9 e e d58 e 9 9 9 9 o e 59 9 9 ee 60 ee e e e 6 69 d61 e ee 9 o 9 d62e e 9 9 9 9 e e 165 e e e 9 9 e e d64 e 9 9 9 9 9 e 6 9 e e d66e e e e 9 9 e e d67 e 9 9 9 9 o e 68 9 9 ee d69e ee e e e e e d7 0 e e e 9 9 o e 1 9 9 ee 72 ee e e e 6 69 bit7 bit6 bit5 Bit4 bit3 bit2 bit1 bi e Font data o Invalid data zx 0 bit7 bit6 bitS bit4 bit3 bit2 bit1 bi zx 0 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bitO STAR Line Mode Command Specifications 3 58 3 3 16 Others CAN Name Cancel print data and initialize commands Code ASCII CAN Hex 18 Decimal 24 Defined Area Initial Value Function When the reception buffer and line buffer are cleared the set commands are initialized Immediately executed not when taking out from the reception buffer but when received from the host DIPSW re reading is not performed The following shows the specifications that are not initialized by this command Set print density Set print speed Set 2 color print mode Print color in 2 color print mode Ex
29. Continuous print mode no page length setting isn Specify page length ESC rQn NUL Name Set raster print quality Code ASCII ESC i r Q n NUL Hex 1B 2A 72 51 n 00 Decimal 27 42 114 81 n 0 Defined Area Osns2 Initial Value n 0 Function Sets raster print quality n is a decimal description max 255 digits using ASCII characters Print quality Specify high speed printing Normal print quality 5 High print quality STAR Line Mode Command Specifications 3 71 ESC rm n NUL Name Set raster left margin Code ASCII Hex Decimal Defined Area Initial Value Function ESC 5 r m l n NUL 1B 2A 72 6D 6C n 00 27 42 114 109 108 n 0 n 0 Sets raster left margin This command sets the left margin to n x 8 When the left margin exceeds the printable area or if the left margin specification eliminates the print area printable region to right margin to the left margin specified value this command is ignored n is a decimal description max 255 digits using ASCII characters ESC rmrn NUL Name Set raster right margin Code ASCII Hex Decimal Defined Area Initial Value Function ESC i r m r n NUL 1B 2A 72 6D 72 n 00 27 42 114 109 114 n 0 n 0 Sets raster right margin This command sets the right margin to n x 8 When the right margin exceeds the printable area or if the right margin specification eliminates the
30. Counter Bit 2 OK OK OK OK OK OK OK OK 2 ETB Counter Bit 1 OK OK OK OK OK OK OK OK 1 ETB Counter Bit 0 OK OK OK OK OK OK OK OK 0 jFixedatO ETB Counter This counter is the 5 bit ETB counter It counts from 0 to 31 When the counter overflows it counts up from 31 to 0 This counter is incremented by 1 using the lt ETB gt command The ETB counter is initialized by the following commands When doing so ASB ETB status is cleared However when initializing the ETB counter ASB is not transmitted ETB Counter Initialization Commands e ESC RS En CAN ETB Counter Initialization Cancel print data and initialize commands STAR Line Mode Command Specifications 5 11 Printer status 7 Position for Presenter Paper Ninth Byte Bit Contents Status By model TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700II TSP650 0 WT Ver 4 3 or Ver 3 2 or Ver 3 2 or Ver 1 2 or later later later later 7T Fixed 0 6 Used Fixed at 0 NO NO NO OK NO NO NO NO 5 Not Used Fixed at 0 NO NO NO OK NO NO NO NO 4 Fixed at 0 3 Presenter Paper Position See table NO NO NO OK NO NO NO NO below 2 Presenter Paper Position See table NO NO NO OK NO NO NO NO below m See table NO NO NO OK NO NO NO NO 1 Presenter Paper Position below O Fixed at 0
31. ESC SYN 0 NO NO NO OK NO NO NO NO Related ESC SYN 1 NO NO NO OK NO NO NO NO Commands ESC SYN 3 NO NO NO OK NO NO NO NO ESC SYN 4 NO NO NO OK NO NO NO NO Mark Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP650 Mark ESC GS 0 NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later Commands ESC GS 1 NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later ESC GS 2 NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later ESC GS W NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later ESC GS C NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later Auto Logo Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Auto Logo ESC GS W NO Ver 4 0 or NO NO NO NO OK OK later Commands ESCGS C NO Ver 4 0 or NO NO NO NO OK OK later ESC GS 1 NO Ver 4 0 or NO NO NO NO OK OK later ESC GS 2 NO Ver 4 0 or NO NO NO NO OK OK later ESC GS 3 NO Ver 4 0 or NO NO NO NO OK OK later ESC GS 4 NO Ver 4 0 or NO NO NO NO OK OK later ESC GS 5 NO Ver 4 0 or NO NO NO NO OK OK later ESC GS 6 NO Ver 4 0 or NO NO NO NO OK OK later STAR Line Mode Command Specifications 6 3 PDF417 Commands Class Commands Model Name TSP800
32. JIS and EAN and printing to cardboard for distribution has been standardized 1 Narrow element width and length of symbols per 2 characters Width Wide Element 10 dots 15 dots 12 dots 12 dots Width Length of 1 4mm 8mm 12mm 3 5mm 7mm 10 5mm 4 5mm 6 75mm 9mm Character 2 Regulations By selecting interleaved 2 of 5 bar code symbols start and stop patterns are automatically inserted When the bar code data digit count is odd a zero is added to the highest value digit Details conform to standards for AIM USS 12 5 ANSI and JIS x 0502 STAR Line Mode Command Specifications 5 1 5 1 3 JAN EAN UPC Used numbers not only the bar code symbols are controlled using JAN EAN and UPC as shared common commercial codes Mainly they are used for supermarkets such as shops and grocery stores 1 Each mode and bar code width Items Mode 1 Mode 2 Mode 3 Module Width 2 dots 3 dots 4 dots Bar code width JAN EAN 8 16 75 mm 25 125 mm 33 5 mm JAN EAN 13 23 75 mm 35 625 mm 47 5 mm UPC A 23 75 mm 35 625 mm 47 5 mm UPC E 12 75 mm 19 125 mm 25 5 mm Includes the guard bar left right center but not the white space 2 Regulations JAN EAN 8 Data is in 7 or 8 digits The command is ignored for others The check digit uses a modulus weight of 10 3 and is automatically applied When the calculated value and the numerical value of the 8 digit differ the calculated value has prior
33. NO NO Others CAN OK OK OK OK NO NO NO NO ESC OK OK OK OK NO NO NO NO ESC GS m Spec A Spec A Spec A Spec B NO NO NO NO C C Ver 3 0 or later ESC OK OK NO NO NO NO Macro ESC GS NO NO NO NO NO NO NO NO Raster Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700Il TSP650 Raster ESC rR Ver 2 0 or later OK OK OK NO NO NO NO ESC rA Ver 2 0 or later OK OK OK NO NO NO NO ESC rB Ver 2 0 or later OK OK OK NO NO NO NO ESC rC Ver 2 0 or later OK OK OK NO NO NO NO ESC rD Ver 2 0 or later OK OK OK NO NO NO NO ESC rE Spec A OK OK OK NO NO NO NO Ver 2 0 or later ESC rF Spec A OK OK OK NO NO NO NO Ver 2 0 or later ESC rP Ver 2 0 or later OK OK OK NO NO NO NO ESC rQ Ver 2 0 or later OK OK OK NO NO NO NO ESC rml Ver 2 0 or later OK OK OK NO NO NO NO ESC rmr Ver 2 0 or later OK OK OK NO NO NO NO ESC rT Ver 2 0 or later OK OK OK NO NO NO NO ESC rK Ver 2 0 or later OK OK OK NO NO NO NO bn1n2d1 dk Ver 2 0 or later OK OK OK NO NO NO NO kn1n2d1 dk Ver 2 0 or later OK OK OK NO NO NO NO ESC ry Ver 2 0 or later OK OK OK NO NO NO NO ESC FF NUL Ver 2 0 or later OK OK OK NO NO NO NO ESC FF EOT Ver 2 0 or later OK OK OK NO NO NO NO ESC rN NO NO NO NO NO NO NO NO ESC rv NO NO NO NO NO NO NO NO STAR Line Mode Command Specifications 6 10 Black Mark Related Commands
34. NO NO NO NO NO OK ater Command ESC GS C NO Ver 4 0 or NO NO NO NO NO OK S later ESC GS 1 NO y 4 0 or NO NO NO NO NO OK ater ESC GS 2 NO var 4 0 or NO NO NO NO NO OK ater ESC GS 3 NO ver 4 0 or NO NO NO NO NO OK ater ESC GS 4 NO Ver 4 0 or NO NO NO NO NO OK later ESC GS 5 NO Ver 4 0 or NO NO NO NO NO OK ater ESC GS 6 NO Ver 4 0 or NO NO NO NO NO OK later STAR Line Mode Command Specifications 6 15 PDF417 Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 PDF417 ESC GS x 80 NO NO NO Ver 3 1 or OK OK OK NO later Comman ESC GS x S 1 NO NO NO Ver 3 1 or OK OK OK NO ds later ESC GS x 82 NO NO NO Ver 3 1 or OK OK OK NO later ESC GS x 83 NO NO NO Ver 3 1 or OK OK OK NO later ESC GS x D NO NO NO Ver 3 1 or OK OK OK NO later ESC GS xP NO NO NO Ver 3 1 or OK OK OK NO later ESC GS xl NO NO NO Ver 3 1 or OK OK OK NO later Print Start Trigger Control Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Print Start ESC GS g 0 NO NO NO NO Ver 1 1 or OK OK OK later Trigger ESC GS g 1 NO NO NO NO Ver 1 1 or OK OK OK Control later QR Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000
35. OK OK OK OK OK OK ESC rml Ver 2 0 or later OK OK OK OK OK OK OK ESC rmr Ver 2 0 or later OK OK OK OK OK OK OK ESC rT Ver 2 0 or later OK OK OK OK OK OK OK ESC rK Ver 2 0 or later OK OK OK OK OK OK OK bnin2d1 dk_ Ver 2 0 or later OK OK OK OK OK OK OK kn1n2d1 dk_ Ver 2 0 or later OK OK OK OK OK OK OK ESC ryY Ver 2 0 or later OK OK OK OK OK OK OK ESC FF NUL Ver 2 0 or later OK OK OK OK OK OK OK ESC FF Ver 2 0 or later OK OK OK OK OK OK OK ESC rN NO NO NO NO NO NO NO OK ESC rV NO NO NO NO NO NO NO OK STAR Line Mode Command Specifications 6 14 Black Mark Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Black Mark ESC d OK OK OK OK OK OK OK NO Related FF OK OK OK OK OK OK OK NO Commands ESC C OK OK OK OK OK OK OK NO ESCCO OK OK OK OK OK OK OK NO VT OK OK OK OK OK OK OK NO ESCB OK OK OK OK OK OK OK NO 2 Color Printing Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 2 Color ESCRS c Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK Printing later later later Related ESCRS C Spec A Spec A Spec A Spec B Spec B
36. RS c Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK Printing later later later Related ESCRS C Spec A Spec A Spec A Spec B Spec B Spec B Spec A Spec A Commands Ver 4 0 or Ver 2 0 or Ver 2 0 or later later later ESC 4 Ver 4 0 or Ver 2 0 or Ver 2 0 or NO NO NO NO OK later later later ESC 5 Ver 4 0 or Ver 2 0 or Ver 2 0 or NO NO NO NO OK later later later ESC RS d Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later ESC RSr Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later ESC FS q Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later ESC FS p Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later Presenter Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700Il TSP650 Presenter ESC SYN 0 NO NO NO OK NO NO NO NO Related ESC SYN 1 NO NO NO OK NO NO NO NO Commands ESC SYN 3 NO NO NO OK NO NO NO NO ESC SYN 4 NO NO NO OK NO NO NO NO Mark Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP650 Mark ESC GS 0 NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK Commands later later ESC GS 1 NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later ESC GS 2 NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later ESC GS W NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later ESC GS C NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later la
37. Spec B Spec A Spec A Commands Ver 4 0 or Ver 2 0 or Ver 2 0 or later later later ESC 4 Ver 4 0 or Ver 2 0 or Ver 2 0 or NO NO NO NO OK later later later ESC 5 Ver 4 0 or Ver 2 0 or Ver 2 0 or NO NO NO NO OK later later later ESC RS d Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later ESC RSr Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later ESC FS q Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later ESC FS p Ver 4 0 or Ver 2 0 or Ver 2 0 or OK OK OK OK OK later later later Presenter Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Presenter ESC SYN 0 NO NO NO OK NO NO NO NO Related ESC SYN 1 NO NO NO OK NO NO NO NO Commands ESC SYN 3 NO NO NO OK NO NO NO NO ESC SYN 4 NO NO NO OK NO NO NO NO Mark Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700l TSP650 Mark ESC GS 0 NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK Commands later later ESC GS 1 NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later ESC GS 2 NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later ESC GS W NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later ESC GS C NO Ver 4 0 or NO Ver 3 0 or OK OK OK OK later later Auto Logo Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP650 Auto Logo ESC GS W NO ver 4 0 or
38. TSP828L TSP700ll TSP650 QR Code ESCGSySO0 NO NO NO NO Ver 1 2 or OK OK OK later ESC GS yS 1 NO NO NO NO Ver 1 2 or OK OK OK later ESC GS yS2 NO NO NO NO Ver 1 2 or OK OK OK later ESC GS y D 1 NO NO NO NO Ver 1 2 or OK OK OK later ESC GS yD2 NO NO NO NO Ver 1 2 or OK OK OK later ESC GS y P NO NO NO NO Ver 1 2 or OK OK OK later ESC GS y NO NO NO NO Ver 1 2 or OK OK OK later Page Function Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Page ESC GS h0 NO NO NO NO NO NO OK NO Function ESC GS h 1 NO NO NO NO NO NO OK NO STAR Line Mode Command Specifications 6 16 ELECTRONIC PRODUCTS DIVISION STAR MICRONICS CO LTD 536 Nanatsushinya Shimizu ku Shizuoka 424 0066 Japan Tel int 81 54 347 0112 Fax int 81 54 347 0709 Please access the following URL http www star m jp eng dl dl02 htm for the latest revision of the manual OVERSEAS SUBSIDIARY COMPANIES STAR MICRONICS AMERICA INC 1150 King Georges Post Road Edison NJ 08837 3729 U S A Tel int 1 732 623 5555 Fax int 1 732 623 5590 STAR MICRONICS EUROPE LTD Star House Peregrine Business Park Gomm Road High Wycombe Bucks HP13 7DL U K Tel int 44 1494 471111 Fax int 44 1494 473333 STAR MICRONICS ASIA LTD Rm 1901 5 19 F Enterprise Square Two 3 Sheung Yuet Road Kowloon Bay Hong Kong Tel int 852 2796 2727 Fax int 852 2799 9344 2008 01 25 Printe
39. TUP900 2 04 Hex Up to printer status 6 8 byte loaded 3 06 Hex Up to printer status 7 9 byte loaded Ver 1 2 and later TSP1000 3 06 Hex Up to printer status 7 9 i byte loaded TSP828L 3 06 Hex Up to printer status 7 9 i byte loaded TSP700II 3 06 Hex Up to printer status 7 9 i byte loaded STAR Line Mode Command Specifications 5 8 3 Printer Status Printer status is the status of the printer sent from the third byte of the automatic status Printer status is returned for transmitted byte count 2 in Header 1 Printer status is always updated for new information No log exists The following shows the composition of the status Printer status 1 Printer status Third Byte Bit Contents Status Model Compatability 0 4 TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700Il TSP650 7 Fixed at 0 6 OFFLINE By Switch Input No Yes No No No No No NO NO NO 5 Cover Status Closed Open OK OK OK OK OK OK OK OK 4 Fixed at 0 3 ONLINE OFFLINE Status ONLINE OFFLINE OK OK OK OK OK OK OK OK 2 Conversion SW Open Closed OK OK OK No No NO OK OK 1 sETB Command Not Executed Executed OK OK OK OK OK OK OK OK O at 0 lt ETB g
40. Waits to stop printing when printing in single color print mode Initializes print color setting 2 color print mode setting Initializes print density setting memory switch setting Sets logo print setting to 2 color mode setting STAR Line Mode Command Specifications 3 85 Specification B n Select cancel 2 color print mode 0 48 Cancels 2 color print mode This command cancels 2 color print mode when in 2 color print mode This command is ignored when the 2 color print mode is already cancelled The specification of this command is not cleared by ESC CAN The following processes are executed by canceling the 2 color print mode using this command Prints data in line buffer in 2 color print mode if unprinted data exists in the line buffer Waits to stop printing when printing in 2 color print mode Recovers print density setting to single color mode setting Recovers print speed to single color mode setting Recovers logo print setting to single color mode setting Selects 2 color print mode This command selects 2 color print mode when in single color print mode This command is ignored already in the 2 color print mode The specification of this command is not cleared by ESC CAN The following processes are executed by selecting the 2 color print mode using this command Prints data in line buffer in single color print mode if unprinted data exists in the line buffer
41. Waits to stop printing when printing in single color print mode Initializes print color setting 2 color print mode setting Initializes print density setting memory switch setting Sets logo print setting to 2 color mode setting Specification C n Specify print mode 0 48 Single color print mode 1 49 2 color print mode 2 50 Dot compatible 2 color mode 16 Low power consumption mode 32 Double resolution mode If set to the low power consumption mode using the DIP switches this command is ignored This command is not cleared by ESC CAN When there is unprinted data in the line buffer print the line buffer data This command is processed after ending the current print job STAR Line Mode Command Specifications 3 86 ESC 4 Name Select white black inverted printing Code ASCII ESC 4 Hex 1B 34 Decimal 27 52 Defined Area Initial Value White black inversion cancelled Function Specifies white black inversion for ANK characters and Chinese characters IBM block ignores white black inversion ESC 5 Name Cancel white black inversion Code ASCII ESC 5 Hex 1B 35 Decimal 27 53 Defined Area Initial Value White black inversion cancelled Function Cancels white black inversion for ANK characters and Chinese characters STAR Line Mode Command Specifications 3 87 ESC RSdn Name Code Defined Area Set prin
42. a decimal description max 255 digits using ASCII characters Specification A EOT mode setting format n FormFeed Cut Feed Cutter Presenter 0 Set To Default Set To Default Set To Default Set To Default 1 o 2 3 TearBar 8 Full Cut 9 o Full Cut 12 Partial Cut 13 Partial Cut 36 Full Cut Eject 37 Full Cut Eject Specification B EOT mode setting format n FormFeed Cut Feed Cutter Presenter 0 Set To Default Set To Default Set To Default Set To Default 1 1 2 o 1 3 1 TearBar 8 o 1 Full Cut 9 1 Full Cut 12 1 Partial Cut 13 1 Partial Cut 36 1 Full Cut Eject 37 1 Full Cut Eject 1 Form Feed When the printer is a model handling BM and is set for BM to be effective the set raster mode page length is ignored and BM detecting is performed STAR Line Mode Command Specifications 3 69 ESC r F n NUL Name Set raster FF mode Code ASCII ESC r F n NUL Hex 1B 2A 72 46 n 00 Decimal 27 42 114 70 n 0 Defined Area n 7 O 1 2 3 8 9 12 13 36 37 Initial Value Models handling full cut n 9 Models connected with a presenter n 37 Function Sets raster FF mode The FF mode operates to execute using the raster d
43. bar code ESC GS x Get PDF 417 bar code expansion information STAR Line Mode Command Specifications 2 5 Print Starting Trigger Control commands Class Commands Name Print starting ESC GS g0 Print starting trigger trigger ESC GS g1 Print starting timer setting QR Code commands Class Commands Name QR code ESC GS y S0 Set QR code model ESC GSy 81 Set QR code mistake correction level ESCGSy 82 Set QR code cell size ESC GS y D1 Set QR code data ESC GS y D2 Set QR code data Manual ESC GS yP Print QR code ESC GS yl Get QR code expansion information Print Function commands Class Commands Name Page function ESC GS hO 180 degree turnover ESC GS h 1 Water mark STAR Line Mode Command Specifications 2 6 COMMAND DETAILS 3 1 Explanation of Terms Reception buffer The buffer for storing data reception data received from the host as it is called the reception buffer Reception data is temporarily stored in the reception buffer then processed sequentially Line buffer The buffer for storing image data for printing is called the line buffer Line buffer full The state in which the buffer has no more space available is called line buffer full When the buffer is full in standard mode data in the line buffer is printed and a line feed is performed when new print data is processed This is the same as a Line Feed When the line buffer is full in the
44. by actual use Send the command transmission example last 1 Bar code type setting lt ESC gt GS x S 0 0 2 3 Sets the bar code size to USE_LIMITS 2 3 lt ESC gt GS x S 1 3 Sets ECC level to 3 lt ESC gt GS x S 2 3 Sets the module X direction size to 3 dots lt ESC gt GS x S 3 3 Sets module aspect ratio to 3 2 Bar code data setting lt ESC gt GS x D 10 0 0123456789 Sets the bar code data 3 Printing bar code To verify whether printing is possible with the current settings check the bar code expansion information lt ESC gt GS x Bar code expansion information check lt ESC gt GS x P Print STAR Line Mode Command Specifications 3 111 ESC GS x S 0 n p1 p2 lame Set PDF417 bar code size Code ASCII ESC GS x S Hex 1B 1D 78 53 30 Decimal 27 29 120 83 48 Defined Area n 0 1 When n 0 When n 1 Initial Value n 0 p1 1 p2 2 Function Parameter details n pi p2 n pi p2 n pi p2 1 lt p1 lt 99 1 lt p2 lt 99 p1 0 or 3 lt lt 90 p2 0or1 However this excludes p1 p2 0 IA N IA lt 30 n Specify Method to Specify Bar Code Size p1 p2 Size Specification 0 USE LIMITS Specify ratio of bar code horizontally and vertically p1 p2 Proportions of Vertical p1 and Horizontal p2 However p1 p2 1 99 to 10 1 p1 p2 0
45. ensure that space Always check printed bar codes in actual use ESC GS yl Name Get QR code expansion information Code ASCII ESC GS y l Hex 1B 1D 79 49 Decimal 27 29 121 73 Defined Area Initial Value Function Sends information on generated image sizes and errors in bar code expansion using the current settings Therefore it is possible to check whether printing is possible prior to actual printing If there is an error in the expanded bar code this command is ignored even if the expand command lt ESC gt GS y P is sent In the even that errors like the ones below occurs Error information is sent to the printer When there is an error in generating a bar code by the combination of bar code setting commands When the generated bar code data exceeds the printable size Sending Format ESC GS y I n1 n2 n1 n2 Bar Code Information 0x0000 Error 0x0001 to Oxffff Size around generated bar code Units Dots STAR Line Mode Command Specifications 3 122 3 14 Page Function Command Details ESCGShOkmn Name 180 degree turnover Code ASCII Hex Decimal Defined Area Initial Value Function ESC GS h 0 k m 1B 1D 68 30 k m n 27 29 104 48 k m Sets 180 degree turnover function to be valid invalid n 180 Degree Turnover Function 0 Invalid 1 Valid 180 Degree Turnover Function When set to the 180 degree tu
46. ground 25 INIT IN Signal ground STAR Line Mode Command Specifications 1 1 1 1 3 Communication Protocol 1 General description of operations in the DTR mode This mode abides by the DIP switch settings Ex factory settings This mode performs communication while handshaking with the DTR signals In the operations to receive printer data this mode controls the DTR signals by confirming the BUSY signal A SPACE indicates that the printer is ready to receive data conversely a mark indicates that the printer cannot receive data When ON LINE j RXD DATA DATA DATA DTR i Printing I Power ON Buffer full Buffer empty lt When out of paper gt I RXD OFF LINE ON LINE DTR ON LINE Recovery Printing Out of paper No paper signal Power ON If there is no printer error after turning ON the power the DTR signal line is set to a SPACE When the host computer confirms that the DTR signal line is a SPACE it sends the data text to the RXD signal line The printer sets the DTR signal line to a Mark after the empty area of the data buffer reaches a maximum of 256 bytes When the host computer confirms that the DTR signal line is a Mark it stops the transmission of data text to the printer buffer but at this point as well the printer is still capable of receiving data up to the amount of empty space in the data buffer If the host computer ignores the DTR signal and transmits data all data
47. it quits the raster mode after executing the raster EOT mode Note that with this command IEEE 1284 reverse mode is allowed in parallel I F and it sets the top of page with the line mode ESC rC Name Clear raster data Code ASCII ESC E r C Hex 1B 2A 72 43 Decimal 27 42 114 67 Defined Area Initial Value Function Clears image buffer data in the raster mode STAR Line Mode Command Specifications 3 67 ESC r D n NUL Name Drawer drive Code ASCII ESC r D n NUL Hex 1B 2A 72 44 n 00 Decimal 27 42 114 68 n 0 Defined Area Oxns3 Initial Value n 0 Function Drives the drawer in the raster mode Drawer drive conditions conform to setting command lt ESC gt BEL n1 n2 of the line mode n is a decimal description max 255 digits using ASCII characters Drive circuits None External device drive 1 drive External device drive 2 drive External device drive 1 drive and external device drive 2 drive STAR Line Mode Command Specifications 3 68 ESC r E n NUL Name Set raster EOT mode Code ASCII ESC r E n NUL Hex 1B 2A 72 45 n 00 Decimal 27 42 114 69 n 0 Defined Area n 7 O 1 2 3 8 9 12 13 36 37 Initial Value Models handling full cut n 9 Models connected with a presenter n 37 Function Sets the raster EOT mode The EOT mode operates to execute using the raster document quit command ESC FF EOT n is
48. macro 1 Code ASCII ESC GS 3 n nH di d2 dk Hex 1 1d 2f 33 nL nH d d2 dk Decimal 27 29 47 51 nH di d2 dk Defined Area 1sns64 nH 0 1 nL nH x 256 lt 64 dk 7 nL nH x 256 0sds255 Initial Value No user macro 1 setting Function Sets the user macro 1 of the Auto Logo function This command is registered to the non volatile memory by the lt ESC gt GS W command This command is ignored when Auto Logo is being executed Registers print data in user macro 1 A maximum of 64 bytes of data can be registered Note that it is prohibited to register Auto Logo command characters in a user macro ESC GS 4 nL d1 d2 dk Name Set user macro 2 Code ASCII ESC GS 4 n nH di d2 dk Hex 1b 1d 2f 34 nH d d2 dk Decimal 27 29 47 52 nH d d2 dk Defined Area 1snLs64 nH 0 1 lt nL nH x 256 lt 64 dk nL nH x 256 0 lt d lt 255 Initial Value No user macro 2 setting Function Sets the user macro 2 of the Auto Logo function This command is registered to the non volatile memory by the lt ESC gt GS W command This command is ignored when Auto Logo is being executed Registers print data in user macro 2 A maximum of 64 bytes of data can be registered Note that it is prohibited to register Auto Logo command characters in a user macro STAR Line Mode Command Specifications 3 107 ESC GS 5 n Name Set command character switching meth
49. model handling 2 color printing This command is ignored on non compatible models STAR Line Mode Command Specifications 3 73 b n1 n2 data Name Code Send raster data auto line feed ASCII b nt n2 d d2 dk Hex 62 n2 di d2 dk Decimal 98 n1 n2 d d2 dk Defined Area 0xn1x255 0xn2x255 0xdx255 k n1 n2 x 256 1sk Initial Value Function Sends raster data auto line feed Raster data is sent in n1 n2 x 256 byte counts as binary data Raster data exceeding the print area currently set is discarded The image buffer expanded position is automatically line fed one dot row and moved to the left margin on the next line after expanded the image buffer data 1 dot row using this command Also data expansion is duplicated on the data in the current image buffer OR process The following shows expanded image buffer for the set raster print color n is a decimal description max 255 digits using ASCII characters Print color Expanded image buffer Black Image buffer for black Cyan Image buffer for color Magenta Image buffer for color Yellow Image buffer for color STAR Line Mode Command Specifications 3 74 k n1 n2 data Name Code Transfer raster data ASCII k nt n2 di d2 dk Hex 6B n1 n2 di d2 dk Decimal 107 n1 n2 di 2 dk Defined Area 0xn1x255 0xn2x255 0xdx255 ks n1 n2 x 256 1sk Initial Value Function Sends raster data Raste
50. n Defined Area 1 lt ns2 Initial Value n 2 Function Sets the model Parameter details n Set Model 1 Model 1 2 Model 2 ESC GSyS 1n Name Set QR code mistake correction level Code ASCII ESC GS y S 1 n Hex 1B 1D 79 53 31 n Decimal 27 29 121 83 49 n Defined Area Osns3 Initial Value n 0 Function Sets the mistake correction level Parameter details n Mistake Correction Level Mistake Correction Rate 0 L 7 1 M 15 2 Q 25 3 H 30 ESC GS y S 2n Name Set QR code cell size Code ASCII ESC GS y S 2 nm Hex 1B 1D 79 53 32 n Decimal 27 29 121 83 50 n Defined Area 1sns8 Initial Value n 3 Function Sets the cell size Parameter details n Cell size Units Dots It is recommended that the specification using this command be 3 lt n If n 1 or 2 check by actually using STAR Line Mode Command Specifications 3 119 ESC GS y D 1 m nL nH d1 d2 dk Name Set QR code cell size Auto Setting Code ASCII Hex Decimal Defined Area Initial Value Function ESC GS y D 1 m nL nH d2 dk 1B 1D 79 44 31 m nH d d2 dk 27 29 121 68 49 m nL di d2 dk m 0 0 lt nL lt 255 0S nH lt 255 1 lt nL nH x 256 lt 7089 k nL nH x 256 Osds 255 Automatically expands the data type of the bar code and sets the data Parameter details nL x 256 Byte count of bar code data dk
51. number n 1 is printed in red and overlapped The command is ignored when the capacity of the register number n and the capacity of the register number n 1 are different The command is ignored when the register number n 255 is specified When the logo register number n is even Register number n is printed in black register number n 1 is printed in red and overlapped The command is ignored when the capacity of the register number n and the capacity of the register number n 1 are different The command is ignored when the register number n 255 is specified STAR Line Mode Command Specifications 3 92 3 8 Presenter Related Command Details The following commands control the presenter functions The following commands are effective only on models equipped with a presenter ESC SYN On Name Execute presenter paper recovery Code ASCII ESC SYN 0 n Hex 1B 16 30 n Decimal 27 22 48 n Defined Area n 0 Initial Value Function Executes presenter paper recovery This command is ignored when a presenter is not connected Also this command is executed when paper is supplied by the presenter exists in the presenter and the paper has been cut This command is ignored with under all other conditions Ignored when paper is being recovered ESC SYN 1n Name Set presenter paper automatic recovery function and automatic recovery time Code ASCII ESC SYN 1 n Hex 1B 16 31 n Decimal 27 22 49 n Defined Area
52. print region this command discards all data X Bytes n1 n2 x 256 d1 d2 5 5 dx dXx1 1 dXx1 2 DULL dX x2 24 Dots dXx2 1 dXx2 72 dX x3 dX x 23 1 dX x 23 2 DULL dX x 24 p Lbit7 bit6 bits bit4 bit3 bit2 bit1 bitO STAR Line Mode Command Specifications 3 35 ESC X n1 n2 d1 dk Name Fine density bit image Compatible with 24 bit wire dots Code ASCII ESC X ni n2 d dk Hex 1B 58 ni n2 di dk Decimal 27 88 n1 n2 d dk Defined Area 1 n1 n2 x 256 s printable region k n1 n2 x 256 x 3 0xdx255 Initial Value Function Prints input bit images with 8 dots mm resolution for both horizontal and vertical The following shows the data processing in this command When n1 n2 x 256 x 3 exceeds the printable region data after d1 is handled as normal data When n1 n2 x 256 x 3 exceeds the printable region that is currently set only the data in the printing region is printed At this time all data for the print region is discarded f the current position already exceeds the print region this command discards all data b7 b6 b5 b4 b3 b2 bL bO 67 b6 b5 b4 b3 b2 bO b7 b6 b5 b4 b3 b2 ibi bO STAR Line Mode Command Specifications 3 36 3 3 9 Logo ESC FS q n x11 x12 y11 y12 d1 dk 1 xn1 xn2 yn1 yn2 di dk n Name Register logo Code ASCII
53. reel counter Code ASCII Hex Decimal Defined Area Initial Value Function N n 0 n 1 49 Acquires paper recovery counter lt Counter transmission format from printer When using the paper reel counter gt Printer transmission ESC SYN 3 n c1 c2 c3 c4 Reel counter c3 x 256 c2 x 256 x 256 c1 x 256 x 256 x256 STAR Line Mode Command Specifications 3 94 ESC SYN 4 Name Initialize presenter paper counter Code ASCII ESC SYN 4 n Hex 1B 16 34 n Decimal 27 22 52 n Defined Area n 0 Initial Value Function Initializes the presenter paper counter paper reel counter paper recovery counter Initialization of the paper counter using this command is executed when this command is processed STAR Line Mode Command Specifications 3 95 3 9 Mark Command Details This command is specialized for printing mark sheets for lotteries This command can print lines Print Sample LOTTERY 10 01 05 32 85 86 50 70 77 08 50 21 42 46 40 12 02 06 78 TUI Hl i 2003 04 08 STAR micronics co ltd No 0304081254896 Example of Command Transmission Mark Format Mark Height h 10 dots mark line feed amount v 20 dots gt Printed Marks Mark number 0 Mark Color c White Mark horizontal width w 16 dots Mark number 1 Mark Color c Black Mark horizontal width w 40 dots Mark number 2 Mark Color c White Mark horizontal width w 40 dots
54. 0 48 Cancels ANK download characters 1 49 Specifies ANK download characters Print example of ANK download characters 1 ANK download character register ESC amp c1 c2 n d1 d48 2 Specify ANK download characters ESC n n 1 3 Prints ANK download characters STAR Line Mode Command Specifications 3 32 3 3 8 Bit Image Graphics ESC K n1 n2 d1 dk Name Standard density bit image Code ASCII ESC K n1 n2 d1 dk Hex 1B 4B n1 n2 d1 dk Decimal 27 75 n1 n2 d1 dk Defined Area 1 lt n1 n2 x 256 x 3 lt printable region k n1 n2 x 256 0xdx255 Initial Value Function Prints bit images using 3 dots wide and 3 dots high per 1 dot of input data The following shows the data processing in this command When n1 n2 x 256 x 3 exceeds the printable region data after d1 is handled as normal data When n1 n2 x 256 x 3 exceeds the printable region that is currently set only the data in the printing region is printed At this time all data for the print region is discarded f the current position already exceeds the print region this command discards all data b7 b6 b5 ib4 b3 b2 b bO STAR Line Mode Command Specifications 3 33 ESC L n1 n2 d1 dk Name Standard density bit image Code ASCII ESC L n2 d1 dk Hex 1B 4C n1 n2 d1 dk Decimal 27 76 n1 n2 d1 Defined Area 1 n1 n2 x 256 s printable region
55. 0 0 d45 d46 0 0 0 0 0 0 0 d47 d48 0 0 0 0 0 0 0 Fig A 2 9 x 24 Font STAR Line Mode Command Specifications 5 17 TSP700II CountUp Counter Type Counter Estimated Life Maximum Value EEPROMWfiing Timing Permanent Head 800 Million For each OxF4240 1 When cutting paper Counter Energizing dot lines 4 000 dot Million Every 10 minutes when idling from Count lines 500 when power is turned on However one mm condition is that the count up predetermined count is exceeded LF Motor 100 km 800 For each OxF4240 1 When cutting paper Traveling Million dot 4 000 dot Million Every 10 minutes when idling from Distance lines lines 500 when power is turned on However one mm condition is that the count up predetermined count is exceeded Cutter Drive 200 000 cuts Every 10 cuts OxF4240 1 When cutting paper Count Million Every 10 minutes when idling from when power is turned on However one condition is that the count up predetermined count is exceeded User Counter Head 800 Million For each OxF4240 1 When cutting paper Energizing dot lines 4 000 dot Million Every 10 minutes when idling from Count lines 500 when power is turned on However one mm condition is that the count up predetermined count is exceeded LF Motor 100 km 800 For each OxF4240 1 When cutting paper Traveling
56. 1 or 12 The 12 check digit is automatically applied so it is specified and ignored The command is ignored for data that cannot be shortened Automatically converts data to shortened form e UPC A k 11 or 12 The 12 check digit is automatically applied so it is specified and ignored e JAN EAN 8 k 7 or 8 The 8 check digit is automatically applied so it is specified and ignored JAN EAN 13 k 12 or 13 The 13 check digit cannot be automatically applied so it is specified and ignored CODE 39 k is freely set and maximum value differs according to the mode Start stop code is automatically applied ITF is freely set and maximum value differs according to the mode If data is oddly numbered a 0 is applied to the top CODE 128 k is freely set and maximum value differs according to the mode and the print character type The check character is automatically applied e CODE 93 k is freely set and maximum value differs according to the mode and the print character type The check character a is automatically applied NWZ k is freely set and maximum value differs according to the mode and the print character type Start stop codes included in the data not automatically applied STAR Line Mode Command Specifications 3 42 3 3 11 Cutter Control ESCdn Name Auto cutter Code ASCII ESC d n Hex 1B 64 n Decimal 27 100 n Defined Area 0xds3 48xd
57. 1408 854 586 361 M 1082 656 450 277 Q 775 470 322 198 H 602 365 250 154 17 85 L 1548 938 644 397 M 1212 734 504 310 Q 876 531 364 224 H 674 408 280 173 18 89 L 1725 1046 718 442 M 1346 816 560 345 Q 948 574 394 243 H 746 452 310 191 19 93 L 1903 1153 792 488 M 1500 909 624 384 Q 1063 644 442 272 H 813 493 338 208 20 97 L 2061 1249 858 528 M 1600 970 666 410 Q 1159 702 482 297 H 919 557 382 235 21 101 L 2232 1352 929 572 M 1708 1035 711 438 Q 1224 742 509 314 H 969 587 403 248 22 105 L 2409 1460 1003 618 M 1872 1134 779 480 Q 1358 823 565 348 H 1056 640 439 270 23 109 L 2620 1588 1091 672 M 2059 1248 857 528 Q 1468 890 611 376 H 1108 672 461 284 24 113 L 2812 1704 1171 721 M 2188 1326 911 561 Q 1588 963 661 407 H 1228 744 511 315 25 117 L 3057 1853 1273 784 M 2395 1451 997 614 Q 1718 1041 715 440 H 1286 779 535 330 26 121 L 3283 1990 1367 842 M 2544 1542 1059 652 Q 1804 1094 751 462 H 1425 864 593 365 27 125 L 3514 2132 1465 902 M 2701 1637 1125 692 Q 1933 1172 805 496 H 1501 910 625 385 28 129 L 3669 2223 1528 940 M 2857 1732 1190 732 Q 2085 1263 868 534 H 1581 958 658 405 29 133 L 3909 2369 1628 1002 M 3035 1839 1264 778 Q 2181 1322 908 559 H 1677 1016 698 430 30 137 L 4158 2520 1732 1066 M 3289 1994 1370 843 Q 2358 1429 982 604 H 1782 1080 742 457 STAR Line Mode Command Specifications 5 21
58. 17 e Da18 e e o o o o Da19 e e e e e 9 Da20 e 9 e o o o o Da21 9 9 9 9 Da22 e o o o o Da23 9 9 9 9 9 9 9 Da24 e 9 9 o 5425 e 9 e e 9 9 9 g Da26 e e e o o 5427 9 9 9 9 9 9 Da28 9 9 9 9 o Da29 e 9 9 9 9 9 9 Da30 9 9 9 9 o Da31 9 9 9 9 9 9 9 Da32 9 9 9 9 o Da33 e 9 9 9 9 g e Da34 9 9 9 9 o o Da35 9 9 9 9 9 Da36 e 9 9 o Da37 e 9 9 9 9 9 9 Da38 e 9 9 o Da39 9 9 9 9 9 9 9 Da40 9 9 9 9 o Da41 e 9 e Da42 o o Da43 e 9 Da44 o o o Da45 9 9 9 9 9 Da46 9 9 5447 e e e e 9 9 9 9 Da48 e g e Data region Zero data STAR Line Mode Command Specifications 3 5 ESCRn Name Specify international character set Code ASCII ESC R n Hex 1B 52 n Decimal 27 82 n Defined Area Osns14 n 64 48sns57 0 Sns 9 65sns69 A xns E Initial Value Memory switch setting When installed with Japanese language characters and DBCS setting Fixed at n 8 Function Specifies international characters n International Characters 0 48 USA 1 49 France 2 50 Germany 3 51 UK 4 52 Denmark 5 53 Sweden 6 54 Italy 7 55 Spain 8 56 Japan 9 57 Norway 10 65 Denmark I
59. 2 lt n when specifying using this command When using with n 1 check by actual use D nL nH d1 d2 dk Name Set PDF417 bar code data Code ASCII Hex Decimal Defined Area Initial Value Function ESC GS x ESC GS x D nl nH di d2 dk 1B 1D 78 44 nH di d2 dk 27 29 120 68 nH di d2 dk 0 lt nL lt 255 0 lt nH lt 255 1 lt nL nH x 256 lt 1024 O lt d lt 255 1 lt k lt 1024 Parameter details e nL nH x 256 Bar code data count dk Bar code data Maximum 1024 data When nL nH x 256 is outside of the definition data of nL nH x 256 bytes is discarded P Name Print PDF417 bar code Code ASCII Hex Decimal Defined Area Initial Value Function ESC GS P 1B 1D 78 50 27 29 120 80 Prints the bar code data If there is unprinted data in the line buffer this command is executed after printing that data in the line buffer Therefore it is not possible to print with other data in the same line characters bit images bar codes Also this command is ignored if the following errors occur When an error is generated when generating a bar code due to the combination of the bar code setting commands When the bar code data that is generated exceeds the printable size of PDF417 When the print data exceeds the currently set print region When a bar code is printed always verify it by actual use STAR Line Mode Command Specifications
60. 2 x 24 dot fonts to 3 dots ESC Name Specify 16 dot pitch Code ASCII ESC Hex 1B 3A Decimal 27 58 Defined Area Initial Value Memory switch setting Function Specifies rights space for the ANK 12 x 24 dot fonts to 4 dots STAR Line Mode Command Specifications 3 9 Name Specify 14 dot pitch Code ASCII ESC g Hex 1B 67 Decimal 27 103 Defined Area Initial Value Memory switch setting Function Specifies rights space for the ANK 12 x 24 dot fonts to 2 dots Specification A This command is enabled only when the memory switch setting is set for DBCS 2 byte countries It is ignored when the memory switch setting is set for SBCS 1 byte countries Specification B This command is enabled for both when the memory switch setting is set for either DBCS 2 byte countries or SBCS 1 byte countries STAR Line Mode Command Specifications 3 10 3 3 2 Character Expansion Settings ESC i n1 n2 Name Set cancel the double wide high Code ASCII ESC i n1 n2 Hex 1B 69 n1 n2 Decimal 27 105 n1 n2 Defined Area Osnis5 48xn1s53 0 1 5 O lt n2s5 48sn2s53 O szn2x 5 Initial Value n1 0 Double high cancelled n2 0 Double wide cancelled Function Specifies cancels double high wide for ANK characters and Chinese characters This command is ignored if either n1 or n2 is outside of the defined area n1 Expanded high 0 48 Cancels expanded high 1 49 Specifies 2x
61. 3 113 ESC GS x Name Get PDF417 bar code expansion information Code ASCII ESC GS l Hex 1B 1D 78 49 Decimal 27 29 120 73 Defined Area Initial Value Function When printing a bar code with the current settings and at the print starting position using this command error information is sent to the printer Therefore it is possible to check whether it is possible to print before actually printing by using this command If an error occurs this command is discarded even if the print command lt ESC gt GS x P is sent If the following errors occur Error information is sent to the printer When an error is generated when generating a bar code due to the combination of the bar code setting commands When the bar code data that is generated exceeds the printable size of PDF417 When the print data exceeds the currently set print region Transmission format lt ESC gt GS x P n n 0 No Error 1 Error STAR Line Mode Command Specifications 3 114 3 12 Details of the Print Starting Trigger Control Command This command is for models equipped with an expansion control function for page control of line unit commands by controlling the image buffer by page ESC GSg0mn Name Print starting trigger Code ASCII ESC GS g 0 Hex 1B 1D 67 30 Decimal 27 29 103 48 Defined Area m 0 n 0 Initial Value Function 2 m m m S
62. 431 432 433 E d34 0 435 436 437 438 139 d40 0 0 0 0 d41 efe daz 5 5 443 444 0 445 446 0 0 0 0 d47 d48 0 0 0 0 Fig A 1 12 x 24 Font STAR Line Mode Command Specifications 5 16 2 Example configuration of Font B data 9 x 24 font The STAR mode is not loaded with Font B However when registering data Font A and Font B must be registered as a set When doing so Font B data can be zero data MSB LSB MSB LSB d1 d2 0 0 0 0 0 0 0 d3 44 0 0 0 0 0 0 0 d5 jejeje d6 0 0 0 0 0 0 0 d7 jeje d8 0 0 0 0 0 0 0 d9 e e d10 0 0 0 0 0 0 0 d11 C e d12 ojojojojojojlo d13 C 1 1 5 d14 0 090 0 0 0 0 0 415 5 d16 0 090 0 0 0 0 0 d17 e d18 0 0 0 0 0 0 0 d19 e d20 0 0 0 0 0 0 0 d21 e d22 0 0 0 0 0 0 0 d23 d24 0 0 0 0 0 0 0 d25 eJ J e d26 0 0 0 0 0 0 0 d27 EE E d28 0 0 0 0 0 0 0 d29 ole d30 0 0 0 0 0 0 0 d31 ole d32 0 0 0 0 0 0 0 d33 ole d34 0 0 0 0 0 0 0 d35 436 0 0 0 0 0 0 0 d37 ue s d38 0 0 0 0 0 0 0 d39 1 d40 0 090 0 0 0 0 0 441 d42 0 0 0 0 0 0 0 d43 d44 0 0 0 0 0
63. 7 10 M 34 20 14 8 Q 27 16 11 7 H 17 10 7 4 2 25 L 77 47 32 20 M 63 38 26 16 Q 48 29 20 12 H 34 20 14 8 3 29 L 127 77 53 32 101 61 42 26 Q 7T 47 32 20 H 58 35 24 15 4 33 L 187 114 78 48 M 149 90 62 38 Q 111 67 46 28 H 82 50 34 21 5 37 L 255 154 106 65 M 202 122 84 52 Q 144 87 60 37 H 106 64 44 27 6 41 L 322 195 134 82 M 255 154 106 65 Q 178 108 74 45 H 139 84 58 36 7 45 L 370 224 154 95 M 293 178 122 75 Q 207 125 86 53 H 154 93 64 39 8 49 L 461 279 192 118 M 365 221 152 93 Q 259 157 108 66 H 202 122 84 52 9 53 L 552 335 230 141 M 432 262 180 111 Q 312 189 130 80 H 235 143 98 60 10 57 L 652 395 271 167 M 513 311 213 131 Q 364 221 151 93 H 288 174 119 74 11 61 L 772 468 321 198 M 604 366 251 155 Q 427 259 177 109 H 331 200 137 85 12 65 L 883 535 367 226 M 691 419 287 177 Q 489 296 203 125 H 374 227 155 96 13 69 L 1022 619 425 262 M 796 483 331 204 Q 580 352 241 149 H 427 259 177 109 14 73 L 1101 667 458 282 M 871 528 362 223 Q 621 376 258 159 H 468 283 194 120 15 77 L 1250 758 520 320 M 991 600 412 254 Q 703 426 292 180 H 530 321 220 136 STAR Line Mode Command Specifications 5 20 Version Cell Count on Mistake Number of English Binary Kanji One Side Correction Characters Characters Level 16 81 L
64. Bit Image ESC K OK OK OK OK OK OK OK OK Graphics ESC L OK OK OK OK OK OK OK OK ESC k OK OK OK OK OK OK OK OK ESC X OK OK OK OK OK OK OK OK Logo ESC FS q OK OK OK OK OK OK OK OK ESC FS p OK OK OK OK OK OK OK OK ESCRSL NO NO NO NO NO NO Spec A Spec B Bar Codes ESC b Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B Cutter Control ESC d OK OK OK OK OK OK OK OK STAR Line Mode Command Specifications 6 1 Class Commands Model Name TSP800 TSP700 TSP600 j TUP900 TSP1000 TSP828L TSP700lIl TSP650 External ESC BEL OK OK OK NO NO NO NO OK device drive BEL OK OK OK NO NO NO NO OK FS OK OK OK NO NO NO NO OK SUB OK OK OK NO NO NO NO OK EM OK OK OK NO NO NO NO OK ESC GS BEL NO Ver 5 0 or NO NO OK NO NO OK later ESC GS EM DC1 NO NO NO NO NO NO NO OK ESC GS EM DC2 NO NO NO NO NO NO NO OK Print Setting ESC RS d OK OK OK OK OK OK OK OK ESCRSr OK OK OK OK OK OK OK OK Status ESCRSa Spec A Spec A Spec A Spec A Spec B Spec B Spec B Spec B Ver 1 2 or earlier Spec B Ver 1 2 or later ESC ACK SOH OK OK OK OK OK OK OK OK ENQ OK OK OK OK OK OK OK OK EOT OK OK OK OK OK OK OK OK ETB Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B ESC RSE OK OK OK OK OK OK OK OK
65. Chinese ESC p OK OK OK OK OK OK OK OK Character ESC q OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC s OK OK OK OK OK OK OK OK ESC t OK OK OK OK OK OK OK OK ESC r Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B Others CAN OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC GS m Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B VER 3 0 OR LATER ESC OK OK OK OK OK OK OK OK Macro ESC GS NO NO NO NO NO NO OK OK Raster Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Raster ESC rR NO NO NO NO OK OK OK OK ESC rA NO NO NO NO OK OK OK OK ESC rB NO NO NO NO OK OK OK OK ESC rC NO NO NO NO OK OK OK OK ESC rD NO NO NO NO OK OK OK OK ESC rE NO NO NO NO OK OK OK OK ESC rF NO NO NO NO OK OK OK OK ESC rP NO NO NO NO OK OK OK OK ESC rQ NO NO NO NO OK OK OK OK ESC rml NO NO NO NO OK OK OK OK ESC rmr NO NO NO NO OK OK OK OK ESC rT NO NO NO NO OK OK OK OK ESC rK NO NO NO NO OK OK OK OK b n1 n2 d1 dk NO NO NO NO OK OK OK OK k n1 n2 d1 dk NO NO NO NO OK OK OK OK ESC rY NO NO NO NO OK OK OK OK ESC FF NUL NO NO NO NO OK OK OK OK ESC FF EOT NO NO NO NO OK OK OK OK ESC rN NO NO NO NO NO NO NO OK ESC rV NO NO NO NO NO NO NO OK STAR Line Mode Command Specifications 6 2 Black Mark Related Commands
66. Function Specifies upperlining 2 dots Upperlines are composed of 2 dot lines Upperlines are not applied to horizontal tabs and to specified horizontal direction positions Upperlines are expanded if the character expansion is specified When double high expansion is used upperlines are composed of 4 dots Upperlines are enabled for white black inversion This command is enabled for ANK characters and Chinese characters IBM block ignores upperlines n Upperline 0 48 Cancels upperline 1 49 Specifies upperline STAR Line Mode Command Specifications 3 16 ESC 4 Name Select white black inverted printing Code ASCII ESC 4 Hex 1B 34 Decimal 27 52 Defined Area Initial Value White black inversion cancelled Function Specifies white black inversion for ANK characters and Chinese characters IBM block ignores white black inversion ESC 5 Name Cancel white black inversion Code ASCII ESC 5 Hex 1B 35 Decimal 27 53 Defined Area Initial Value White black inversion cancelled Function Cancels white black inversion for ANK characters and Chinese characters STAR Line Mode Command Specifications 3 17 Name Select upside down printing Code ASCII SI Hex OF Decimal 15 Defined Area Initial Value Upside down cancelled Function Specifies upside down printing This command is enabled only when at the top of the line Upside down and right side up characters ca
67. Hex Decimal Defined Area Initial Value Function ESC FS q n x11 x12 y11 yi2 dk lt xn1 xn2 yn1 yn2 d1 dk n 1B 1C 71 n x11 x12 y11 yt2 di dk xn1 xn2 yn1 yn2 d1 dk n 27 28 113 n x11 x12 y11 y12 d1 dk xn1 xn2 yn1 yn2 d1 dk n 1sns255 Osxn1S255 OSxn2s3 1s xn1 xn2 x 256 S1023 Oxyn1x255 Osyn2s1 1syn1 yn2 x 256 s288 0xds255 k xn1 xn2 x 256 x yn1 yn2 x 256 x 8 Parameter details en Specifies registered logo count xn1 xn2 Horizontal size of registered logo xn1 xn2 x 256 x 8 dots yn yn2 Vertical size of registered logo yn1 yn2 x 256 x 8 dots ed Registered logo data ek Logo data count This command should be specified at the top of the line When the first parameter is determined to be free of error the printer starts processing this command When logo register processing starts all previously defined data is deleted It is not possible to reregister a portion of a plurality of defined logo data Logo registration numbers are defined in rising order from 1 If the defined area specified by the parameter is not empty or if there is an error in the parameter specification register processing is aborted The pre registered and complete data is effective The printer should be initialized if logo registration is completed or register processing is aborted If an error occurs while performing register processing the time from when the first p
68. I 11 66 Spain 12 67 Latin America 13 68 Korea 14 69 Ireland 64 Legal STAR Line Mode Command Specifications 3 6 ESC n Name Specify cancel slash zero Code ASCII ESC n Hex 1B 2F n Decimal 27 47 n Defined Area n 7 1 48 49 Initial Value Memory switch setting Function Specifies and cancels slash zeros n International Characters 0 48 Cancels slash zero 1 49 Specifies slash zero STAR Line Mode Command Specifications 3 7 Sit C ESC SP n Name X Set ANK right space Code ASCII ESC SP n Hex 1B 20 n Decimal 27 32 n Defined Area Osns15 48sns57 0 sns 9 65sns70 A sns F Initial Value Memory switch setting Function Specifies the right space for ANK 12 x 24 dot fonts in n dots Character spacing can be specified also with the following commands Specify 12 dot pitch ESC M Specify 14 dot pitch ESC g Specify 15 dot pitch ESC P Specify 16 dot pitch ESC STAR Line Mode Command Specifications 3 8 ESC M Name Specify 12 dot pitch Code ASCII ESC M Hex 1B 4D Decimal 27 TT Defined Area Initial Value Memory switch setting Function Specifies rights space for the ANK 12 x 24 dot fonts to 0 dots ESC P Name Specify 15 dot pitch Code ASCII ESC P Hex 1B 50 Decimal 27 80 Defined Area Initial Value Memory switch setting Function Specifies rights space for the ANK 1
69. K ESCM OK OK OK OK OK OK OK OK ESCP OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC p Not OK OK OK OK OK OK OK OK recommended ESC g Spec A Spec A Spec A Spec B Spec B Spec B Spec A Spec A Character ESC i OK OK OK OK OK OK OK OK expansion ESC W OK OK OK OK OK OK OK OK settings ESC h OK OK OK OK OK OK OK OK SO OK OK OK OK OK OK OK OK DC4 OK OK OK OK OK OK OK OK ESC SO OK OK OK OK OK OK OK OK ESC DC4 OK OK OK OK OK OK OK OK Print Mode ESCE OK OK OK OK OK OK OK OK ESC F OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC 4 OK OK OK OK OK OK OK OK ESC 5 OK OK OK OK OK OK OK OK SI OK OK OK OK OK OK OK OK DC2 OK OK OK OK OK OK OK OK Line spacing LF OK OK OK OK OK OK OK OK CR OK OK OK OK OK OK OK OK ESC a OK OK OK OK OK OK OK OK ESCz OK OK OK OK OK OK OK OK ESCO OK OK OK OK OK OK OK OK ESC J OK OK OK OK OK OK OK OK ESCI OK OK OK OK OK OK OK OK Page Control FF OK OK OK OK OK OK OK OK ESCC OK OK OK OK OK OK OK OK ESC C0 OK OK OK OK OK OK OK OK VT OK OK OK OK OK OK OK OK ESC B OK OK OK OK OK OK OK OK Horizontal ESC Spec A Spec A Spec A Spec B Spec B Spec B Spec A Spec A direction ESC Q Spec A Spec A Spec A Spec B Spec B Spec B Spec A Spec A position HT OK OK OK OK OK OK OK OK ESC D OK OK OK OK OK OK OK OK ESC GSA OK OK OK OK OK OK OK OK ESC GSR OK OK OK OK OK OK OK OK ESC GS a OK OK OK OK OK OK OK OK Download ESC amp OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK
70. K NO NO NO NO ESCM OK OK OK OK NO NO NO NO ESCP OK OK OK OK NO NO NO NO ESC OK OK OK OK NO NO NO NO ESC p Not OK OK OK OK NO NO NO NO recommended ESC g Spec A Spec A Spec A Spec B NO NO NO NO Character ESCi OK OK OK OK NO NO NO NO expansion ESC W OK OK OK OK NO NO NO NO settings ESC h OK OK OK OK NO NO NO NO SO OK OK OK OK NO NO NO NO DC4 OK OK OK OK NO NO NO NO ESC SO OK OK OK OK NO NO NO NO ESC DC4 OK OK OK OK NO NO NO NO Print Mode ESC E OK OK OK OK NO NO NO NO ESCF OK OK OK OK NO NO NO NO ESC OK OK OK OK NO NO NO NO ESC OK OK OK OK NO NO NO NO ESC 4 OK OK OK OK NO NO NO NO ESC 5 OK OK OK OK NO NO NO NO SI OK OK OK OK NO NO NO NO DC2 OK OK OK OK NO NO NO NO Line LF OK OK OK OK NO NO NO NO spacing CR OK OK OK OK NO NO NO NO ESC a OK OK OK OK NO NO NO NO ESCz OK OK OK OK NO NO NO NO ESC 0 OK OK OK OK NO NO NO NO ESC J OK OK OK OK NO NO NO NO ESC I OK OK OK OK NO NO NO NO Page FF OK OK OK OK NO NO NO NO Control ESC C OK OK OK OK NO NO NO NO ESC C0 OK OK OK OK NO NO NO NO VT OK OK OK OK NO NO NO NO ESC B OK OK OK OK NO NO NO NO Horizontal ESC Spec A Spec A Spec A Spec B NO NO NO NO direction position ESC Q Spec A Spec A Spec A Spec B NO NO NO NO HT OK OK OK OK NO NO NO NO ESC D OK OK OK OK NO NO NO NO ESC GSA OK OK OK OK NO NO NO NO ESC GSR OK OK OK OK NO NO NO NO ESC GS a OK OK OK OK NO NO NO NO Download ESC amp OK OK OK OK NO NO NO NO ESC OK OK OK OK NO NO NO NO Bit Image ESC K OK OK OK OK NO NO NO N
71. K OK Page FF OK OK OK OK OK OK OK OK Control ESC C OK OK OK OK OK OK OK OK ESC C0 OK OK OK OK OK OK OK OK VT OK OK OK OK OK OK OK OK ESC B OK OK OK OK OK OK OK OK Horizontal ESC Spec A Spec A Spec A Spec B Spec B Spec B Spec A Spec A direction ESC Q Spec A Spec A Spec A Spec B Spec B Spec B Spec A Spec A position HT OK OK OK OK OK OK OK OK ESC D OK OK OK OK OK OK OK OK ESC GSA OK OK OK OK OK OK OK OK ESC GSR OK OK OK OK OK OK OK OK ESC GS a OK OK OK OK OK OK OK OK Download ESC amp OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK Bit Image ESC K OK OK OK OK OK OK OK OK Graphics ESC L OK OK OK OK OK OK OK OK ESC k OK OK OK OK OK OK OK OK ESC X OK OK OK OK OK OK OK OK Logo ESC FS q OK OK OK OK OK OK OK OK ESC FS p OK OK OK OK OK OK OK OK ESCRSL NO NO NO NO NO NO Spec A Spec B Bar Codes ESC b Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B Cutter ESC d OK OK OK OK OK OK OK OK Control STAR Line Mode Command Specifications 6 13 Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 External ESC BEL OK OK OK NO NO NO OK OK device BEL OK OK OK NO NO NO OK OK drive FS OK OK OK NO NO NO OK OK SUB OK OK OK NO NO NO OK OK EM OK OK OK N
72. Line Thermal Printer STAR Line Mode Com mand Specifications Rev 0 09 Star Micronics Co Ltd Special Products Division Table of Contents 1 INTERFACE CONFIGURATION iiciin erint nbn eerte ud ute endo epa ove chevdavduvs Resa haee E seo 1 1 1 1 E 1 1 1 1 1 Specifications Conforming to RS 232 sssssssssssseeeeeeeen nenne nnne nennen nennt nennen nennen nennen 1 1 1 1 2 Signal array and explanations according to interface connector pin sseeeee 1 1 1 1 3 Communication Protocol 1 2 1 2 Parallel Interfaces Amphenol 36 pins eene enne rennen nennen 1 4 1 2 1 Specifications Conforming to IEEE 1284 ssssssssseeenenen eene nennen enne enne 1 4 1 2 2 Signal array and explanations according to interface connector pin sseeee 1 4 1 2 3 Signal Output TIMING 1 5 122 4 Status SPSCIICAU OM DN 1 5 1 3 USB Interface eee ERES Ee bM 1 6 1 4 Ethernet IMtertace mL poet 1 6 1 5 Wireless LAN ce e 1 6 2 COMMAND FUNCTION LIST 22 72h too tette poat ie Pon eren ka Eae o betae eonun sacs teadnersaata ocetaagertesctstvsizesteataficatae 2 1 eeu 3 1 3 1 Expl nation of TEMS PD
73. Million dot 4 000 dot Million Every 10 minutes when idling from Distance lines lines 500 when power is turned on However one mm condition is that the count up predetermined count is exceeded Cutter Drive 200 000 cuts Every 10 cuts OxF4240 1 When cutting paper Count Million Every 10 minutes when idling from when power is turned on However one condition is that the count up predetermined count is exceeded The head energizing count is sometimes counted even when there is not energizing data Such as when blank space data is included in the font data The estimated life prescribes the number of count of the maintenance counter It does not match the life specifications When the permanent counter exceeds the counter maximum value thereafter the permanent counter and user counter both count up and then stop e It is possible to clear the user counter but it is not possible to clear the permanent counter STAR Line Mode Command Specifications 5 18 5 4 Appendix 7 Maximum Number of Input Characters for Each Version of QR Code 1 Model 1 Version and Maximum Number of Input Characters Version Cell Count on Mistake Number of English Binary Kanji One Side Correction Characters Charact
74. N Operation Specifications 1 Start up the Auto Logo function using the current system cut command as a trigger 2 Prints if there is print data in the image buffer Execute center alignment 3 4 Print Logo 2 When 2 color printing is set Logo3 5 Feed paper to cutting position and executes a partial cut 6 7 Print Logo 1 Recover position alignment setting Note With this setting user macro and command character are invalid P is printed as a character if the command character is set to when setting The commands that are the triggers for the Auto Logo function are below When the standard Auto Logo Function is turned on by n 1 the following trigger commands function only as triggers and do not cut paper Therefore it is necessary to register any cut command to the user macro 2 When the simple Auto Logo Function is turned on by n 2 the following cut commands are executed and are the triggers for the simple Auto Logo function e lt ESC gt dn Cut command When allocated to the cutting function STAR Line Mode Command Specifications 3 105 ESC GS 2 n Name Set command character Code ASCII ESC GS 3 n Hex 1 1d 2f 32 n Decimal 27 29 47 50 n Defined Area 32sns127 n 20 Initial Value n 0 Function Sets the Auto Logo function command character This command is registered to the non volatile memory by the lt ESC gt GS W command This comm
75. O Graphics ESC L OK OK OK OK NO NO NO NO ESC k OK OK OK OK NO NO NO NO ESC X OK OK OK OK NO NO NO NO Logo ESC FS q OK OK OK OK NO NO NO NO ESC FS p OK OK OK OK NO NO NO NO ESC RSL NO NO NO NO NO NO NO NO Bar Codes ESC b Spec A Spec A Spec A Spec B NO NO NO NO Cutter ESC d OK OK OK OK NO NO NO NO Control STAR Line Mode Command Specifications 6 9 Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 External ESC BEL OK OK OK NO NO NO NO NO Device Drive BEL OK OK OK NO NO NO NO NO FS OK OK OK NO NO NO NO NO SUB OK OK OK NO NO NO NO NO EM OK OK OK NO NO NO NO NO ESC GS BEL NO Ver 5 0 or NO NO NO NO NO NO later ESC GS EM DC1 NO NO NO NO NO NO NO NO ESC GS EM DC2 NO NO NO NO NO NO NO NO Print EM OK OK OK NO NO NO NO NO Setting ESC RSr OK OK OK OK NO NO NO NO Status ESC RS a NO NO NO NO NO NO NO NO ESC ACK SOH NO NO NO NO NO NO NO NO ENQ NO NO NO NO NO NO NO NO EOT NO NO NO NO NO NO NO NO ETB Spec A Spec A Spec A Spec B NO NO NO NO ESC RSE OK OK OK OK NO NO NO NO Chinese ESC p OK OK OK OK NO NO NO NO Character ESC q OK OK OK OK NO NO NO NO ESC OK OK OK OK NO NO NO NO ESC s OK OK OK OK NO NO NO NO ESC t OK OK OK OK NO NO NO NO ESC r Spec A Spec A Spec A Spec B NO NO
76. O NO NO OK OK ESC GS BEL NO Ver 5 0 or NO NO OK NO OK OK later ESC GS EM DC1 NO NO NO NO NO NO NO OK ESC GS EM DC2 NO NO NO NO NO NO NO OK Print ESC RS d OK OK OK OK OK OK OK OK Setting ESCRSr OK OK OK OK OK OK OK OK Status ESCRS a NO NO NO NO NO NO NO NO ESC ACK SOH OK OK OK OK OK OK OK OK ENQ OK OK OK OK OK OK OK OK EOT OK OK OK OK OK OK OK OK ETB Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B ESC RSE OK OK OK OK OK OK OK OK Chinese ESC p OK OK OK OK OK OK OK OK Character ESC q OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC s OK OK OK OK OK OK OK OK ESC t OK OK OK OK OK OK OK OK ESC r Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B Others CAN OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC GS m Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B VER 3 0 OR LATER ESC OK OK OK OK OK OK OK OK Macro ESC GS NO NO NO NO NO NO OK OK Raster Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Raster ESC rR Ver 2 0 or later OK OK OK OK OK OK OK ESC rA Ver 2 0 or later OK OK OK OK OK OK OK ESC r B Ver 2 0 or later OK OK OK OK OK OK OK ESC rC Ver 2 0 or later OK OK OK OK OK OK OK ESC rD Ver 2 0 or later OK OK OK OK OK OK OK ESC rE Spec A OK OK OK OK OK OK OK Ver 2 0 or later ESC rF Spec A OK OK OK OK OK OK OK Ver 2 0 or later ESC rP Ver 2 0 or later OK OK OK OK OK OK OK ESC rQ Ver 2 0 or later OK
77. OK SUB OK OK OK NO NO NO OK OK EM OK OK OK NO NO NO OK OK ESC GS BEL NO Ver 5 0 or NO NO OK NO OK OK later ESC GS EM DC1 NO NO NO NO NO NO NO OK ESC GS EM DC2 NO NO NO NO NO NO NO OK Print Setting ESC RS d OK OK OK OK OK OK OK OK ESCRSr OK OK OK OK OK OK OK OK Status ESCRSa Spec A Spec A Spec A Spec A Spec B Spec B Spec B Spec B Ver 1 2 or earlier Spec B Ver 1 2 or later ESC ACK SOH OK OK OK OK OK OK OK OK ENQ OK OK OK OK OK OK OK OK EOT OK OK OK OK OK OK OK OK ETB Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B ESC RSE OK OK OK OK OK OK OK OK Chinese ESC p OK OK OK OK OK OK OK OK Character ESC q OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC s OK OK OK OK OK OK OK OK ESC t OK OK OK OK OK OK OK OK ESC r Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B Others CAN OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC GS m Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B Ver 3 0 or later ESC OK OK OK OK OK OK OK OK Macro ESC GS NO NO NO NO NO NO OK OK Raster Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700Il TSP650 Raster ESC rR Ver 2 0 or later OK OK OK OK OK OK OK ESC rA Ver 2 0 or later OK OK OK OK OK OK OK ESC rB Ver 2 0 or later OK OK OK OK OK OK OK ESC rC Ver 2 0 or later OK OK OK OK OK OK OK ESC rD Ver 2 0 or later OK OK OK OK OK OK OK ESC rE Spec A OK OK OK OK OK OK OK Ver 2 0 or late
78. OK OK OK OK OK OK ESC I OK OK OK OK OK OK OK OK Page Control FF OK OK OK OK OK OK OK OK ESC C OK OK OK OK OK OK OK OK ESC C 0 OK OK OK OK OK OK OK OK VT OK OK OK OK OK OK OK OK ESC B OK OK OK OK OK OK OK OK Horizontal ESC I Spec A Spec A Spec A Spec B Spec B Spec B Spec A Spec A direction ESC Q Spec A Spec A Spec A Spec B Spec B Spec B Spec A Spec A position HT OK OK OK OK OK OK OK OK ESC D OK OK OK OK OK OK OK OK ESC GS A OK OK OK OK OK OK OK OK ESC GS R OK OK OK OK OK OK OK OK ESC GS a OK OK OK OK OK OK OK OK Download ESC amp OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK Bit Image ESC K OK OK OK OK OK OK OK OK Graphics ESC L OK OK OK OK OK OK OK OK ESC k OK OK OK OK OK OK OK OK ESC X OK OK OK OK OK OK OK OK Logo ESC FS q OK OK OK OK OK OK OK OK ESC FS p OK OK OK OK OK OK OK OK ESC RS L NO NO NO NO NO NO Spec A Spec B Bar Codes ESC b Spec A Spec A Spec A Spec B Spec B Spec B Spec B Spec B Cutter Control ESC d OK OK OK OK OK OK OK OK STAR Line Mode Command Specifications 6 5 Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 External ESC BEL OK OK OK NO NO NO OK OK device drive BEL OK OK OK NO NO NO OK OK FS OK OK OK NO NO NO OK
79. Osns255 Initial Value Memory switch setting Function Sets presenter paper automatic recovery function and automatic recovery time This command is ignored when a presenter is not connected Settings using this command are effective from the next sheet when the printer processes this command and paper has already been supplied to the presenter N Functions n 0 Paper automatic recovery function invalid 1sns255 Paper automatic recovery function valid Automatic recovery time n x 0 5 sec 0 5 sec to 127 5 sec STAR Line Mode Command Specifications 3 93 ESC SYN 3n Name Acquire presenter paper counter ESC SYN 3 n 1B 16 33 n 27 22 51 n n 0 1 n 48 49 0 1 Acquires presenter paper counter This command is ignored when a presenter is not connected Counter can count to OXFFFFFFFF sheets Counter is cleared to zero when the following conditions are met At a printer reset At the CAN command At the lt ESC gt SYN 4 n command The paper counter using this command sends the counter value at the time this command is processed The counter is counted up when paper is completely recovered or when pulled out The counter counts from when the power is turned ON excluding the following When paper is discharged because of an error When printing using self print When paper in the presenter is discharged when the power is turned ON Counter 48 Acquires paper
80. Parallel I F USB I F Ver2 0 Standard Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP650 Font Style ESCRSF NO NO NO NO OK OK OK OK and ESC GSt OK OK OK OK OK OK OK OK Character Set ESC GS VER 3 0 OK OK OK OK OK OK OK OR LATER ESCR OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC SP OK OK OK OK OK OK OK OK ESC M OK OK OK OK OK OK OK OK ESC P OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC p Not OK OK OK OK OK OK OK OK recommended ESC g Spec A Spec A Spec A Spec B Spec B Spec B Spec A Spec A Character ESC i OK OK OK OK OK OK OK OK expansion ESC W OK OK OK OK OK OK OK OK settings ESC h OK OK OK OK OK OK OK OK SO OK OK OK OK OK OK OK OK DC4 OK OK OK OK OK OK OK OK ESC SO OK OK OK OK OK OK OK OK ESC DC4 OK OK OK OK OK OK OK OK Print Mode ESCE OK OK OK OK OK OK OK OK ESC F OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC _ OK OK OK OK OK OK OK OK ESC 4 OK OK OK OK OK OK OK OK ESC 5 OK OK OK OK OK OK OK OK SI OK OK OK OK OK OK OK OK DC2 OK OK OK OK OK OK OK OK Line spacing LF OK OK OK OK OK OK OK OK CR OK OK OK OK OK OK OK OK ESC a OK OK OK OK OK OK OK OK ESC z OK OK OK OK OK OK OK OK ESC 0 OK OK OK OK OK OK OK OK ESC J OK OK
81. Specifications 3 14 3 3 3 Print Mode ESC E Name Select emphasized printing Code ASCII ESC E Hex 1B 45 Decimal 27 69 Defined Area Initial Value Emphasized printing selected Function Specifies emphasized printing for ANK characters IBM block ignores emphasized printing ESC F Name Cancel emphasized printing Code ASCII ESC F Hex 1B 46 Decimal 27 70 Defined Area Initial Value Emphasized printing cancelled Function Cancels emphasized printing for ANK characters STAR Line Mode Command Specifications 3 15 ESC n Name Select cancels underling mode Code ASCII ESC n Hex 1B 2D n Decimal 27 45 n Defined Area n 7 1 48 49 Initial Value n 0 Underline cancelled Function Specifies underlining 2 dots Underlines are composed of 2 dot lines Underlines are not applied to horizontal tabs and to specified horizontal direction positions Underlines are expanded if the character expansion is specified When double high expansion is used underlines are composed of 4 dots Underlines are enabled for white black inversion This command is enabled for ANK characters and Chinese characters IBM block ignores underlines n Underline 0 48 Cancels underline 1 49 Specifies underline ESC n Name Specify cancel upperline Code ASCII ESC 2 n Hex 1B 5F n Decimal 27 95 n Defined Area n 7 0 1 48 49 Initial Value n 0 Upperline cancelled
82. TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 PDF417 ESC GS x 80 NO NO NO Ver 3 1 or OK OK OK NO later Commands ESC GSxS 1 NO NO NO Ver 3 1 or OK OK OK NO later ESC GS x 82 NO NO NO Ver 3 1 or OK OK OK NO later ESC GS x 83 NO NO NO Ver 3 1 or OK OK OK NO later ESC GS x D NO NO NO Ver 3 1 or OK OK OK NO later ESC GS x P NO NO NO Ver 3 1 or OK OK OK NO later ESC GS xl NO NO NO Ver 3 1 or OK OK OK NO later Print Start Trigger Control Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Print Start ESC GS g 0 NO NO NO NO Ver 1 1 or OK OK OK later Trigger ESC GS g 1 NO NO NO NO Ver 1 1 or OK OK OK Control later QR Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 QR Code ESC GS yS0 NO NO NO NO Ver 1 2 or OK OK NO later ESC GSy S 1 NO NO NO NO Ver 1 2 or OK OK NO later ESC GS yS2 NO NO NO NO Ver 1 2 or OK OK NO later ESC GS y D 1 NO NO NO NO Ver 1 2 or OK OK NO later ESC GS yD2 NO NO NO NO Ver 1 2 or OK OK NO later ESC GS y P NO NO NO NO Ver 1 2 or OK OK NO later ESC GS y NO NO NO NO Ver 1 2 or OK OK NO later Page Function Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L 5 7 TSP650 Page ESC GS h0 NO NO NO NO NO NO OK NO Function ESC GS h 1 NO NO NO NO NO NO OK NO STAR Line Mode Command Specifications 6 4 6 2
83. TUP900 TSP1000 TSP828L TSP700II TSP650 7 Compulsion SW OPEN CLOSE OK OK OK OK OK 6 Presenter Paper Jam Error No Yes No No No OK No NO NO NO 5 Paper Near end Outer Side Paper No Paper No No No No No NO NO NO 4 jFixed at 1 3 Paper end Paper No Paper OK OK OK OK OK OK OK OK 2 Paper Near end Inner Side Paper No Paper OK OK OK OK OK NO OK OK 1 BINDING MEDIA Error No Yes No No No OK OK OK OK NO O0 Fixed at 0 BM Error On models that use a common PE and BM sensor if a continuous error is detected beyond a determined amount it indicates not a black mark error but a paper out error STAR Line Mode Command Specifications 5 6 5 2 3 Automatic Status Automatic status is a group of states that are automatically returned from the printer to the host when the printer s status has changed Automatic status is composed of Header 1 Header 2 and plurality of bytes of the printer status and is continuously returned to the host The host always uses an identifying method to identify the data for every byte received It is possible that Xon Xoff codes are exceptionally mixed in the automatic status in the Xon Xoff mode when using a serial I F so it is necessary to consider that on the receiving side The valid invalid conditions of the automatic status abide by the DIPSW settings for the initial values It is possible to change the conditions using th
84. a with the next raster data transfer and move vertical direction position command n is a decimal description max 255 digits using ASCII characters STAR Line Mode Command Specifications 3 76 ESC FF NUL Name Execute FF mode Code ASCII ESC FF NUL Hex 1B 00 Decimal 27 12 0 Defined Area Initial Value Function Executes FF mode Executes operation specified by the FF mode setting command ESC r F n NUL ESC Name Execute mode Code ASCII ESC FF EOT Hex 1B 0 04 Decimal 27 12 4 Defined Area Initial Value Function Executes EOT mode Executes operation specified by the EOT mode setting command ESC r E n NUL ESC r N n NUL Name Discard data for specified byte count Code ASCII ESC i n NUL Hex 1B 2A 72 4E n 0 Decimal 27 42 114 78 n 0 Defined Area 1sns255 Initial Value Function Discards data for the specified byte count Discards data received after a byte count specified by n n is expressed in decimal maximum 4 digits using ASCII characters This command is effective only in raster mode STAR Line Mode Command Specifications 3 77 ESC r V m n NUL Name Execute external buzzer drive Code ASCII ESC r V 1 n NUL Hex 1B 2A 72 56 31 n 0 Decimal 27 42 114 86 49 n 0 Defined Area m 49 50 1sns20 Initial Value Function Repeatedly drives the buzzer according to the ON OFF conditions set by the extern
85. ack mark is effective this command is ignored ESC B NUL Name Clear vertical tab position Code ASCII ESC B NUL Hex 1B 42 00 Decimal 27 66 0 Defined Area Initial Value Function When black mark is effective this command is ignored STAR Line Mode Command Specifications 3 82 3 6 USB Related Command Details The following commands control USB I F functions There are no corresponding commands STAR Line Mode Command Specifications 3 83 3 7 2 Color Printing Command Details The following commands control 2 color printing functions The following commands are effective only when using a model handling 2 color printing ESC RScn Name Set print color in 2 color print mode Code ASCII ESC RS n Hex 1B 1E 63 n Decimal 27 30 99 n Defined Area Osns1 48sns49 O xns 1 Initial Value n 0 48 When in 2 color print mode Function Specifies print color in 2 color print mode This command is ignored when not in the 2 color print mode Specifies black for the print color when in 2 color print mode This command is cleared only when the printer is reset The specification of this command is not cleared by ESC CAN However print color is initialized to black by the ESC and CAN only when in the compatible 2 color print mode n Specifies 2 color print mode color 0 48 Black 1 49 Red STAR Line Mode Command Specifications 3 84 ESC RS Cn Name Select ca
86. ader printing MACDONALDS STAR Line Mode Command Specifications 3 101 2 Simple Auto Logo Function The simple Auto Logo function is preset and executes the following operations using the print cut command under the current system as a trigger Start up the simple Auto Logo function using the current system cut command as a trigger Center alignment command process Print Logo 2 Feed paper to cutting position and execute a partial cut Print Logo 1 Recovers position alignment command to setting prior to execution of the simple Auto Logo With the simple Auto Logo function the logo number of the logo to be printed is decided in advance Header P Logo 1 WN kkkkkkkkkkkkkkkkkkkk MACDONALDS kkkkkkkkkkkkkkkkkkkk Jckeedesek KKK KEKE RRR RK 1 CHEESEBURGER 2 00 2 COKE 1 00 MACDONALDS kkkkkkkkkkkkkkkkkkkk pa al 1 CHEESEBURGER 2 00 TOTAL 3 00 2 COKE 1 00 S 2 Current TOTAL 3 00 System Print Data 1 Easy Auto Logo startup by trigger Current System Print Data of cutting command 2 Center alignment 3 Executes Logo 2 printing Footer Logo 2 4 Feeds paper to cutting position and performs partial cut 5 Executes Logo 1 printing 6 Recovery of position alignment kkkkkkkkkkkkkkkkkkkk MACDONALDS STAR Line Mode Command Specifications 3 102 Example of Command Transmission 1 Set the Auto Logo function in advance and register it to the non vo
87. al buzzer drive pulse conditions command lt ESC gt GS lt EM gt lt DC1 gt m n1 n2 m specifies the buzzer drive terminal to drive m Buzzer Drive Terminal 49 Buzzer Drive Terminal 1 50 Buzzer Drive Terminal 2 Specifies the number of repetitions of the buzzer drive with n The buzzer will not ring while printing This command is prohibited for uses other than to ring the buzzer If this command is used to drive the cash drawer on models that have an external device terminal the system will be damaged Absolutely never use it for other purposes The buzzer can be stopped by pressing the paper feed switch or opening the cover when it is ringing Conditions must not be set in advance with the external buzzer drive pulse condition command lt ESC gt lt GS gt lt EM gt lt DC1 gt m n1 n2 prior to entering the raster mode n is expressed in decimal maximum 255 digits using ASCII characters Example n1 8 GO uoo ooo lc c gt i Drive Pulse OFF on off Ke i aM I 1 Print Operation Printing Paper Feed Prohibited Note If the off time is set to O zero it is possible to ring the buzzer continuously for the amount of n1 For example if on 5 seconds off 0 and n1 20 times the buzzer will ring for 100 seconds STAR Line Mode Command Specifications 3 78 3 5 Black Mark Related Command Details The following comm
88. and is ignored when Auto Logo is being executed n Setting 32 to 127 Command Character 0 No Command Character Setting Acommand character is a character that is a command for specifying the logo number to print with the Auto Logo printing When is specified as the command character 2 3 is embedded in the print data The printer does not process the as character data but as a command and stores number that follows at the end and prints it as an Auto Logo in the order that it is stored Therefore if 2 3 is embedded Auto Logo will print Logo2 and Logo3 in that order If the specified logo has not been registered logo printing will be ignored Also if there is no set command character setting a logo will not be printed Note that 2 3 is processed as a command is not printed However using the lt ESC gt GS 5 n command it is possible to switch 2 3 to a space In the same way as with 2 3 2 2 if a logo is duplicated only the initial logo is printed A maximum of 32 logos can be stored as Auto Logos Continuing after the command character the following shows the defined area of the character d that specifies the logo number 1 lt d lt 9 49 lt d 57 Logo number 1 to 9 A lt d lt F 65 lt d lt 70 Logo number 10 to 16 STAR Line Mode Command Specifications 3 106 ESC GS 3 nL d1 d2 dk Name Set user
89. ands control top of form functions using black mark paper The following commands are effective only when black mark is set to be effective ESCdn Name Auto cutter Code ASCII ESC d n Hex 1B 64 n Decimal 27 100 n Defined Area 0xds3 48xds51 Q sds 3 Initial Value Function Executes the auto cutter After auto cutter is executed the printer considers that to be the top of the page n Auto cutter 0 48 Full cut at the current position Print data in line buffer is printed before a full cut This command is ignored if the printer is not equipped with an auto cutter 1 49 Partial cut at the current position Print data in line buffer is printed before a partial cut This command is ignored if the printer is not equipped with an auto cutter 2 50 After executing top of form paper is fed to cutting position then a full cut Print data in line buffer is printed before the operation described above This command is ignored if the printer is not equipped with an auto cutter 3 51 After executing top of form paper is fed to cutting position then a partial cut Print data in line buffer is printed before the operation described above This command is ignored if the printer is not equipped with an auto cutter The auto cutter function operates in the following ways on models that only have a full cut or a partial cut Models that perform only a full cut Executes a full cut when for instru
90. ar problem in those settings In such case if the bar code is generated the 3 print command lt ESC gt GS x P is ignored Error is generated when generating a bar code due to the combination of the bar code setting commands The bar code data that is generated exceeds the printable size of PDFA17 Print data exceeds the currently set print region It is recommended to use 4 Bar code expansion information acquisition lt ESC gt GS x I as a means for checking these errors prior to printing 2 Bar code data setting command This command sets the print data of the bar code 3 Bar code print command This command prints the bar code according to the settings of 1 and 2 4 Bar code expansion information acquisition This command checks whether it is possible to print the bar code according to the settings of 1 and 2 Precautions for use of commands Unless the following operations are performed the setting values are maintained for 1 and 2 Sending of new setting commands Sending an initializing command lt ESC gt lt CAN gt The power is turned off Sending 3 and 4 when needed Printing When printing position shifting according to the horizontal tab absolute position specification relative position specification and position alignment is valid Upside down printing and two color printing are possible When a bar code is printed always verify it
91. arameter is OK until the printer initialization is completed after registering a logo error processing mechanical operation and status processing cannot be performed The relationships between input data and the actual print are shown on the next page STAR Line Mode Command Specifications 3 37 Relationships of logo and registered data xn xn1 xn2 x 256 yn 7 yn1 yn2 x 256 xn1 xn2 x 256 x 8 dots Data MSB d 11 21 d n1 yn1 yn2 x 256 bytes yn1 yn2 x 256 x 8 d 12 d 22 d n2 dots d x1 d x2 d xn LSB STAR Line Mode Command Specifications 3 38 ESC FS p nm Name Code Print logo ASCII ESC FS p n m Hex 1B 1C 70 n m Decimal 27 28 112 n m Defined Area 1sn lt 255 Oxms3 48sms51 0 sms 3 Initial Value Function Prints the logo of registration number n registered using the logo registration command ESC FS q according to the print mode m m Logo print mode 0 48 Normal mode 1 49 Double wide mode 2 50 Double high mode 3 51 Double high wide mode If there is unprinted data in the line buffer this command is executed after printing that data Therefore it is not possible to print with other data in the same line characters bit images bar codes Form feed obeys the vertical print size of the logo If the logo horizontal print size exceed
92. ared There is no initial value for the horizontal tab ESC D NUL Name Clear horizontal tab Code ASCII Hex Decimal Defined Area Initial Value Function ESC D NUL 1B 44 00 27 68 0 Clears the currently set horizontal tab STAR Line Mode Command Specifications 3 28 ESC GS A n1 n2 Name Move absolute position Code ASCII ESC GS A ni n2 Hex 1B 1D 41 n1 n2 Decimal 27 29 65 ni n2 Defined Area 0xn1x255 0xn2x255 Initial Value Function Moves the printing position from the left margin to the n1 n2 x 256 position This command is ignored if the print region is exceeded ESC GS R n1 n2 Name Move relative position Code ASCII ESC GS R n1 n2 Hex 1B 1D 52 n1 n2 Decimal 27 29 82 ni n2 Defined Area Osn1s255 Osn2s255 Initial Value Function Moves the printing position from the current position to the n1 n2 x 256 position This command is ignored if the print region is exceeded When n1 n2 x 256 2 32768 it moves 65536 n1 n2 x 256 dots in the left direction When n1 n2 x 256 lt 32768 it moves n1 n2 x 256 dots in the right direction STAR Line Mode Command Specifications 3 29 ESC GSan Name Specify position alignment Code ASCII ESC GS a n Hex 1B 1D 61 n Decimal 27 29 97 n Defined Area Osns2 48sns50 0 Sns 2 Initial Value n 0 Function Specifies the alignment position in the printing region that has been set
93. ce lt ESC gt dn n 7 0 48 Tear Bar Position Label Gap Detection Label Gap Detection n 1 49 Conveyance Tear Bar Position Peeling Position T NEQUEO RM Fr Conveyance Conveyancte n 2 50 Tear Bar Position Label Gap Detection Label Gap Detection n 7 3 51 Conveyance n 116 Tear Bar Position Peeling Position t Conveyance Conveyance Raster Mode FF EOT gt Command Normal Thermal Paper Label Paper Tear Bar Peel Mode Form Feed Valid Print Print Print Label Gap Detection ____ Label Gap Detection Invalid Print Print Print Label Gap Detection Label Gap Detection Cut Feed Valid Tear Bar Position Tear Bar Position Peeling Position pera ER meee Conveyance _____ ______ _ Conveyance Conveyanee Invalid Peeling Position Conveyance STAR Line Mode Command Specifications 5 23 6 SPECIAL APPENDIX COMMAND LIST FOR EACH MODEL IN EACH I F 6 1 RS 232C I F Standard Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Font Style ESCRSF NO NO NO NO OK OK OK OK and ESC GS Ver 3 0 or OK OK OK OK OK OK OK Character Set later ESCR OK OK OK OK OK OK OK OK ESC OK OK OK OK OK OK OK OK ESC SP OK OK OK OK OK OK OK O
94. cifications Conforms to IEEE 802 11b STAR Line Mode Command Specifications 1 6 COMMAND FUNCTION LIST Standard Commands Class Commands Name Font style ESCRSF Select font And character set ESC GSt Specify code page ESC GS Write blank code page data ESC R Specify international character set ESC Specify cancel slash zero ESC SP Set ANK right space ESC M Specify ANK 12 dot pitch ESC P Specify ANK 15 dot pitch ESC Specify ANK 16 dot pitch ESC g Specify ANK 14 dot pitch Character ESC i Set cancel the double wide high printing expansion settings ESC W Set cancel the double wide printing ESC h Set cancel the double high printing SO Set double wide printing DC4 Cancel double wide printing ESC SO Set printing magnified double character height ESC DC4 Cancel printing magnified character height Print modes ESC E Select emphasized printing ESC F Cancel emphasized printing ESC Select cancels underling mode ESC _ Select cancels upperline mode ESC 4 Select white black inverted printing ESC 5 Cancel white black inverted printing Sl Select upside down printing DC2 Cancel upside down printing Line spacing LF Line feed CR Carriage return same as line feed ESC a Feed paper n lines ESC z Select line feed amount ESC 0 Specify line spacing to 3 mm ESC J n 4 mm line feed ESC n 8 mm line feed STAR Line Mode Command Specification
95. command as a trigger 2 Prints if there is print data in the image buffer 3 Executes user macro 1 4 Prints the Auto Logo 5 Executes user macro 2 Logo 2 is printed by 4 Auto Logo printing according to the command character that was preset in the current print data and embedding the logo number 2 to print Specifically if the product is registered with CHEESE BURGER 2 the logo 2 coupon ticket is automatically printed for the purchaser of a cheese burger Also Logo 1 for the header is used for company logos By registering to the user macro 2 of 5 cut command Logo 1 print command the company logo of logo1 will be printed User macro 1 of 3 is used when it is necessary to position the Auto Logo in the center When doing so register the left alignment command using the user macro 2 of 5 and return to its original setting Header Logo 1 kkkkkkkkkkkkkkkkkkkk MACDONALDS kkkkkkkkkkkkkkkkkkkk KKKKKKKKKKKKKK RRR KK 1 CHEESEBURGER 2 00 2 COKE 1 00 MACDONALDS kkkkkkkkkkkkkkkkkkkk arcane 1 CHEESEBURGER 2 00 TOTAL 3 00 2 COKE 1 00 Z 3 3 p Current TOTAL 3 00 System Print Data Starts Auto Logo with trigger of cutting command Partial Cut Current System Print Data 2 Executes usermacro 1 7 LL Cheeseburger Logo 2 NS E snc Partial Cut 3 Prints Auto Logo 4 Executes usermacro 2 Executes cut Executes Header logo He
96. ctions calling for a partial cut Models that perform only a partial cut Executes a partial cut when there are for instructions calling for a full cut When connected with a presenter executes a full cut when instructed for a partial cut STAR Line Mode Command Specifications 3 79 FF Name Execute top of form Code ASCII FF Hex 0C Decimal 12 Defined Area Initial Value Function Executes top of form ESC C n Name Set page length to n lines Code ASCII ESC C n Hex 1B 43 n Decimal 27 67 n Defined Area 1sns127 Initial Value Form feed amount initial value x 42 Function When black mark is effective this command is ignored STAR Line Mode Command Specifications 3 80 ESC COn Name Set page length to n x 24 mm units Code ASCII ESC C 0 n Hex 1B 43 0 n Decimal 27 67 0 n Defined Area 1sns22 Initial Value Form feed amount initial value x 42 Function When black mark is effective this command is ignored STAR Line Mode Command Specifications 3 81 VT Name Feed paper to vertical table position Code ASCII VT Hex 0B Decimal 11 Defined Area Initial Value Function When black mark is effective this command is ignored ESC B n1 n2 nk NUL Name Set vertical tab position Code ASCII ESC B n2 nk NUL Hex 1B 42 n1 n2 nk 00 Decimal 27 66 n1 n2 0 Defined Area 1sns255 O lt ks16 Initial Value Function When bl
97. d are invalid This command setting becomes valid when returned from the two color print mode to the single color print mode ME PRECES PintSped Single Color Printing Mode Two Color Printing Mode 0 48 High speed i Two Color Printing Mode Speed 1 49 Mid speed Two Color Printing Mode Speed 2 50 Slow speed Two Color Printing Mode Speed 3 51 Option speed differs according to the model Two Color Printing Mode Speed STAR Line Mode Command Specifications 3 89 ESC FS q n x11 x12 y11 y12 d1 dk 1 xn1 xn2 yn2 d1 dk n Name Register logo Code ASCII Hex Decimal Defined Area Initial Value Function ESC FS q n x11 x12 y11 y12 xn2 yn1 yn2 di dk n 1B 1C 71 n x11 x12 y11 y12 di dk l1 xn1 xn2 yn1 yn2 d1 dk n 27 28 113 n x11 x12 y11 y12 xnf1 xn2 yn1 yn2 dk n 1sns255 Oxxn1x255 Osxn2s3 1s xn1 xn2 x 256 S1023 Oxyn1x255 Osyn2s1 1syn1 yn2 x 256 s288 0xds255 k xn1 xn2 x 256 x yn1 yn2 x 256 x 8 Parameter details en Specifies registered logo count xn1 xn2 Horizontal size of registered logo xn1 xn2 x 256 x 8 dots e yn1 yn2 Vertical size of registered logo yn1 yn2 x 256 x 8 dots ed Registered logo data ek Logo data count This command should be specified at the top of the line When the first parameter is determined to be free of error the printer
98. d in Japan 80874518
99. d21 d22 d2k tm nLm nHm dm1 dm2 dmk Decimal t2 nL2 nH2 4d21 d22 d2k tm nlm nHm dm1 dm2 dmk Defined Area 1 m s9 Osts8 k nL nHx256 0xks 7936 O0sds255 Initial Value Function This command registers macro data in the following macro registration regions Registration Registration Registration Size Bytes Details Region Data Type Block No Registration Initialization 0 2 Registration data type 0 x 0000 Information Initialization macro Oxffff No reg data Macro 2 Registration data count 4 Registration data address 8 Reserved Macro 1 2 Registration data type 0 x 0001 to 0x 0008 macro Oxffff No reg data 2 Registration data count 4 Registration data address 8 Reserved 8 2 Registration data type 0 x 0001 to 0 x 0008 7 macro Oxffff No reg data 2 Registration data count 4 Registration data address 8 Reserved Registration 7936 Registration Data Data m specifies the registration black count t specifies the registration data type t Registration Data Type 0 Initialization Macro 1to8 Macro t is the macro number nL nH x 256 specifies the data count to be registered When nL nH x 256 0 the macro data specified by t is deleted dis the macro data to be registered After the macro data is written to the non volatile memory the printer is reset If the volume of all macros exceeds the capacity for registration it is written to the non volati
100. dels that use a common PE and BM sensor if a continuous error is detected beyond a determined amount it indicates not a black mark error but a paper out error TSP828L Label Printer BM errors occur for the following reasons STAR Line Mode Command Specifications 5 9 TSP828L Operation Mode Sensor Used Cause of BM Errors Tear Bar Mode Transmissive Type Detected label paper over 400 mm Detected base paper over 400 mm Detected page error When MSW is valid When length error detected When MSW is valid Reflective Type Detected label paper over 400 mm Detected page error When MSW is valid When length error detected When MSW is valid Peel Mode Transmissive Type Detected label paper over 400 mm Detected base paper over 400 mm Detected page error When length error detected When MSW is valid Reflective Type Detected label paper over 400 mm Detected page error When length error detected When MSW is valid Printer status 4 Sensor Information Sixth Byte Bit Contents Status Model Compatability 0 ag TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700Il TSP650 7 Fixed at 0 2 z E 6 Used Fixed 0 s a 5 Used Fixed 0 4 jFixed at E E 2 5 3 Paper end Paper No Paper OK OK OK OK OK OK OK OK 2 Paper Near end In
101. ding to ACK and BUSY signals Logic level Compatible to TTL 1 2 2 Signal array and explanations according to interface connector pin Signal Array and Functions Pin No Compatibility Mode Signal Name Nibble Mode Signal Name Byte Mode Signal Name 1 nStrobe HostClk HostClk 2to9 DataO to 7 DataO to 7 DataO to 7 10 nAck PtrClk PtrClk 11 Busy PtrBusy Data3 7 PtrBusy 12 PError AckDataReq Data2 6 AckDataReq 13 Select Xflag Data1 5 Xflag 14 N C HostBusy HostBusy 15 N C 16 Signal GND Signal GND Signal GND 17 Frame GND Frame GND Frame GND 18 5V 5V 5V 19 to 30 Twisted Pair Return Twisted Pair Return Twisted Pair Return 31 ninit nlnit ninit 32 nFault nDataAvail Data0 4 nDataAvail 33 External GND 34 N C 35 N C 36 nSelectln 1284Active 1284Active STAR Line Mode Command Specifications 1 4 1 2 3 Signal Output Timing 1 Compatibility mode TITT T Min 0 5 us nStrobe i Approx 1 psi nAck Busy 2 Nibble Mode Byte Mode Conforms to IEEE 1284 standard 1 2 4 Status Specification See Appendix 2 for details STAR Line Mode Command Specifications 1 5 1 3 USB Interface Specifications Conforms to USB 2 0 Full Speed Supports printer class and vendor class Refer to each printer specifications manual for selections Connector Type B 1 4 Ethernet Interface Specifications Conforms to IEEE 802 3 Cable 10BASE T 10BASE TX Connector RJ45 1 5 Wireless LAN Interface Spe
102. e If the off time is set to O zero it is possible to ring the buzzer continuously for the amount of n1 For example if on 5 seconds off 0 and n1 20 times the buzzer will ring for 100 seconds STAR Line Mode Command Specifications 3 49 3 3 13 Print Settings ESC RS dn Name Set print density Code ASCII ESC RS d n Hex 1B 1E 64 n Decimal 27 30 100 n Defined Area Osns15 48sns57 0 Sns 9 65sns70 A Sns F Initial Value Memory switch setting Function Sets print density This command stops printing to be executed n Print density 0 48 Print density 1 3 1 49 Print density 1 2 2 50 Print density 1 1 3 51 Print density 1 0 4 52 Print density 0 9 5 53 Print density 0 8 6 54 Print density 0 7 7 55 Reserved 8 56 Reserved 9 57 Reserved 10 65 Reserved 11 66 Reserved 12 67 Reserved 13 68 Reserved 14 69 Reserved S 15 70 Reserved STAR Line Mode Command Specifications 3 50 ESC RSrn Name Set print speed Code ASCII ESC RS r n Hex 1B 1E 72 n Decimal 27 30 114 n Defined Area Oxns3 48sns51 O zns 3 Initial Value Memory switch setting Function Sets print speed This command stops printing to be executed n Print speed 0 48 High speed 1 49 Mid speed 2 50 Slow speed STAR L
103. e ESC RS a n command after turning ON the power Also it is possible to get the automatic status using the ESC ACK SOH command regardless of the valid invalid conditions 1 Header 1 Header 1 is the 1 byte length information transmitted at the head of the automatic status The table below shows the composition of the Header 1 Header 1 represents the entire status transmission byte count including Header 1 using bit 1 to bit 3 and bit 5 The host gets the transmission byte information and always receives the status data for that amount transmission bytes For reference the table below shows the relationship of actual transmission bytes and the Header 1 Because the bit 0 that indicates that this is the Header 1 is normally 1 the second byte and beyond is 0 to detect the Header 1 it is acceptable to verify that bit 0 is 1 and bit 4 0 for this data Note that bit 6 is for future expansion and is ignored in host side processes Header 1 First Byte Bit Contents Status Model Compatability 0 14 TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700Il TSP650 7 Fixed 0 6 Reserved Fixed at 0 5 Printer Status Byte Count OK OK OK OK OK OK OK OK 4 Fixed at 3 Printer Status Byte Count OK OK OK OK OK OK OK OK 2 Printer Status Byte Count OK OK OK OK OK OK OK OK 1 jPrinter Stat
104. ection below for details on each setting nam START p2 STOP PDF417 is configured by a fixed bar pattern for starting and stopping and a bar pattern called a code word Code words are configured by 17 modules Code Word lt ESC gt GS x S 0 specifies values of p1 and p2 USE LIMITS mode specify the ratio of p1 and p2 USE FIXED mode specifies p1 line count and p2 code word count per line lt ESC gt GS x S 1 specifies values of error correction levels PDF417 can read information even if a portion of the data is corrupted by using the error correction By increasing this level the bar code size increases because there is more preparatory information lt ESC gt GS x S 2 and lt ESC gt GS x S 3 specify the size of the module that configures the code word The X direction size in dot increments is determined by lt ESC gt GS x S 2 for the module and lt ESC gt GS x S 3 specifies the Y direction size from the aspect Module size setting is the basis for the bar code image that is generated so the resulting print will vary according to that setting Printable size of bar code Vertical Size dots Horizontal Size dots 640 640 STAR Line Mode Command Specifications 3 110 The settings above are set individually so the errors described below may be generated even if there is no particul
105. ed Code ASCII ESC GS i 1 h V Hex 1B 1D 2A 31 h V Decimal 27 29 42 49 h V Defined Area 001 lt h lt 255 001 lt v lt 255 hsv Initial Value Non volatile memory Function Specifies mark height and line feed amount h is the mark height number of dots v is the line feed amount for the mark number of dots h and v are ASCII character strings that are represented by decimals They are composed of character codes 0 to 9 If a small line feed amount is specified missing print can occur so more than v 16 dots is recommended ESCGS 2m cw Name Specify mark color and mark horizontal width for each mark number Code ASCII ESC GS 2 m w Hex 1D 2A 32 m w Decimal 27 29 42 50 m w Defined Area 0 lt m lt 9 O xcs 1 001 lt w lt 999 Initial Value Non volatile memory Function Specifies mark color and mark horizontal width for each mark number m specifies the mark number c specifies the mark color w specifies the mark horizontal width number of dots If w exceeds the currently set print region this command is ignored m c and w are ASCII character strings that are represented by decimals They are composed of character codes 0 to 9 C Mark Color 0 48 White 1 49 Black STAR Line Mode Command Specifications 3 99 ESC GS W Name Register mark format to non volatile memory
106. ers Level 1 21 L 40 24 17 10 M 33 20 14 8 Q 25 15 11 6 H 16 10 7 4 2 25 L 81 49 34 20 M 66 40 28 17 Q 52 31 22 13 H 33 20 14 8 3 29 L 131 79 55 33 M 100 60 42 25 Q 81 49 34 20 H 52 31 22 13 4 33 L 186 113 78 48 M 138 84 58 35 Q 114 69 48 29 H 76 46 32 19 5 37 L 253 154 106 65 M 191 116 80 49 Q 157 95 66 40 H 105 63 44 27 6 41 L 321 194 134 82 M 249 151 104 64 Q 201 122 84 51 H 133 81 56 34 7 45 L 402 244 168 103 M 311 188 130 80 Q 253 154 106 65 H 167 101 70 43 8 49 L 493 299 206 126 M 378 229 158 97 Q 301 183 126 77 H 203 123 85 52 9 53 L 585 354 244 150 M 441 267 184 113 Q 369 223 154 94 H 239 145 100 61 10 57 L 690 418 287 177 M 526 319 219 135 Q 433 262 180 111 H 291 176 121 74 11 61 L 800 485 333 205 M 608 368 253 156 Q 493 299 205 126 H 342 207 142 87 12 65 L 915 555 381 234 M 694 421 289 178 Q 579 351 241 148 H 390 236 162 100 13 69 L 1030 624 429 264 M 790 479 329 202 Q 656 398 273 168 H 454 275 189 116 14 73 L 1167 707 486 299 M 877 531 365 225 Q 738 447 307 189 H 498 302 207 127 STAR Line Mode Command Specifications 5 19 2 Model 2 Version and Maximum Number of Input Characters Version Cell Count on Mistake Number of English Binary Kanji One Side Correction Characters Characters Level 1 21 L 41 25 1
107. es by the memory Switch STAR Line Mode Command Specifications 3 57 ESC r c1 c2 d1 dk Name Register Chinese download characters Code ASCII ESC r di dk Hex 1B 72 d1 dk Decimal 27 114 c1 c2 di dk Defined Area 0xdx255 k 72 c1 and c2 differ according to specifications and code type see table below Initial Value All spaces Function Registers Chinese download characters to c1 and c2 addresses Those already registered to these addresses are overwritten If c1 and c2 are outside of the defined are or the printer is model not equipped with Chinese fonts for overseas and when the specification for the location of use is specified as SBCS single byte countries by the memory Switch the printer discards up to d1 and dk This command exists in models that have the specifications of A and B below See the Special Appendix Command Table per Model for details Specification A Specification c1 c2 Registration count Japanese char JIS type c1 77h 30hsc2s4Fh 32 characters Specification B Specification c1 c2 Registration count Japanese char JIS type c1 77h 21hsc2s7Eh 94 characters Japanese char Shift JIS type c1 ECh 40hsc2s7Eh 94 characters 80hsc2x9Eh Chinese characters c1 FEh Athsc2sFEh 94 characters The registration region is the same for Japanese characters in JIS or shift JIS Horizontal t 24 Dots
108. exceeding the amount of space in the data buffer is simply discarded The printer sets the DTR signal line to SPACE again when the amount of empty space in the data buffer increased because of the printing and the data in the buffer is a maximum of 256 bytes 2 Buffer full Buffer full cancel in the DTR mode Full Near Full Near Empty Empty Buffer Empty area 256 bytes Eo Reception data 256 bytes DTR Mark DTR SPACE DTR is set to mark at the point the empty area is a maximum of 256 bytes DTR is set to SPACE when the data in the buffer is a minimum of 256 bytes STAR Line Mode Command Specifications 1 2 3 General description of operations in the XON XOFF mode This mode is set when DIPSW 1 to 3 are turned OFF This mode notifies the host of the XON DC1 data when the printer can receive data and the XOFF DC3 data when the printer cannot receive data using the TXD signals This functions so that XON outputs only 1 byte when the printer shifts from OFFLINE printer busy to ONLINE printer ready and XOFF outputs 1 byte when the printer shifts from ONLINE printer ready to OFFLINE printer busy XON XOFF XON XOFF XON TXD I I 1 RXD i DATA DATA DATA I L 1 j I i I i Printing i Out of paper signal I Power ON No paper ON LINE Recovery If there is no error after turning the power ON XON control code name DC1 Hexadecimal name 11H is output by the TXD signal line After the host compute
109. ge as the water mark using this setting set the method for forming The logo data to be printed as the water mark If itis not possible to set an appropriate image with this setting form the logo data registered as the water mark into the appropriate data and reregister it m Water Mark Data Forming Prints the logo data specified by n as it is Prints the logo data specified by n thinned 12 5 0 1 Prints the logo data specified by n thinned 2596 2 Specify the registered logo in the water mark n Logo Number 1 to 255 Registered logo numbers If the specified logo number is not registered the water mark will not be printed Water Mark Function When the water mark function is valid the water mark is printed by its trigger However this function is effective for print data that can be contained in the image buffer length Print data beyond the image buffer length is unaffected by this function Printing that is started other than the water mark trigger ignores the water mark print When in 2 color printing this function is ignored Water mark printing triggers Cutter command ESC dn FF command FF BM detection command lt ESC gt dn FF Print start command lt ESC gt G8 gO0 mn Raster mode When is executed Use example 1 Register logo to use as water mark in logo number 1 2 Water mark function is enabled lt ESC gt GS h 1
110. gt di e e e e e e 9 o 2 e e e 9 9 e e d3 e e e e e e e e 4 e e e ee e e d5 e e 9 9 9 9 e o d6je e e e e e e e 7 e 9 9 9 9 e e e dB 9 e 9 9 e e e d9J e e e e e e e e e e 9 9 o o e 1 1 9 9 ee di2e ee e e e e e di3 e 9 9 9 o e 9 9 e e di be ee e 9 9 e e dije e 9 9 9 9 e 7 e e 9 9 ee diBe ee e e e e e 19 e 9 ee 9 o e 20 9 9 9 9 e e d21e e e e 9 9 e e d22 e 9 9 9 9 o e 123 9 9 9 9 ee 124 ee e 9 9 e e d25 e e e 9 9 o o e 26 9 9 9 9 o o 127 ee e e e e e d28 e 9 9 o o e d29 9 9 e d30 ee e e e e e d31 e 9 9 o o o 32 9 9 9 9 e e d33e e e e 9 9 9 9 d34 e 9 9 9 o o e d35 9 9 e e 136 ee e 9 e e d37 e 9 9 9 o o e 38 9 9 e 9 539 ee e 9 e e Vertical 40 e e 9 o o o e 4 6 6 e e e e d 2e e e e e e e 24 Dots 48 e e o 9 o e ddje e e e e e e e d be ee e e e e e 46 e e ee 9 9 e 47 6 6 9 9 e e e e 148 e e e e e e e 40 9 9 9 9 e d50 9 9 e e d51e e e e e e 9 9 d52 e 9 9 9 9 o e 53 9 9 9
111. high expansion 2 50 Specifies 3x high expansion 3 51 Specifies 4x high expansion 4 52 Specifies 5x high expansion 5 53 Specifies 6x high expansion n2 Expanded wide 0 48 Cancels expanded wide 1 49 Specifies 2x wide expansion 2 50 Specifies 3x wide expansion 3 51 Specifies 4x wide expansion 4 52 Specifies 5x wide expansion 5 53 Specifies 6x wide expansion STAR Line Mode Command Specifications 3 11 ESCWn Name Specify cancel expanded wide Code ASCII ESC W n Hex 1B 57 n Decimal 27 87 n Defined Area Osns5 48sns53 O zns 5 Initial Value n 0 Double wide cancelled Function Specifies cancels double wide for ANK characters and Chinese characters n Expanded wide 0 48 Cancels expanded wide 1 49 Specifies 2x wide expansion 2 50 Specifies 3x wide expansion 3 51 Specifies 4x wide expansion 4 52 Specifies 5x wide expansion 5 53 Specifies 6x wide expansion ESC hn Name Specify cancel expanded high Code ASCII ESC h n Hex 1B 68 n Decimal 27 104 n Defined Area Osns5 48sns53 O zns 5 Initial Value n 0 Double high cancelled Function Specifies cancels double high for ANK characters and Chinese characters n Expanded high 0 48 Cancels expanded high 1 49 Specifies 2x expansion 2 50 Specifies 3x expansion 3 51 Specifies 4x expansion 4
112. i 0 Indicates O bit is fixed at O Indicates 1 is fixed at 1 Inidcates variable bit STAR Line Mode Command Specifications 5 13 5 2 4 Printer status transmission specification when using Ethernet I F and Wireless LAN I F The following describes printer status transmission specifications when using an Ethernet I F and wireless LAN I F 1 Transmission Format When transmitting only STAR ASB STAR ASB Second Byte Bit 7 1 Length Length 0x0000 When transmitting printer status other than STAR ASB STAR ASB Second Byte Bit 7 1 Length Status Data Length Details 2 byte value indicating status data byte count 0x0000 Length x 0x0200 When the status data is 10 bytes Length 0x000a Apply Length 0x0000 to only transmit STAR ASB When STAR ASB Second Byte Bit 7 is applied with Length set to Bit 7 1 In analysis of printer statuses the total number of bytes of the ASB according to the STAR ASB First byte is detected and it is detected whether Length has been applied by the second byte Bit 7 of STAR ASB Depending on the length by acquiring subsequent status data byte counts it is possible to analyze the status 2 Status data transmission format Status type separator character 1 data type status length printer status separator character 2 1 Status Type 2byte or 4Byte First and Second B
113. ial Value Function Sends 1 byte of the following the printer status This command is not used when ASB is valid See Appendix 2 EOT Command Status for details regarding status STAR Line Mode Command Specifications 3 53 Name Update ASB ETB status Code ASCII ETB Hex 17 Decimal 23 Defined Area Initial Value Function 1 Specifications Sets the ASB ETB status when reading this command from the reception buffer then sends ASB See Appendix 2 ASB Status for details 2 Specifications Sets the ASB ETB status when reading this command from the reception buffer Then after updating the ASB ETB counter sends the ASB status See Appendix 2 ASB Status for details The following outlines the details of processes in this command 1 Reads ETB command from reception buffer 2 Waits for printing of the print data before the ETB command to end 3 Increments the ASB ETB counter by 1 after checking that printing has ended then sets the ASB ETB status 4 Sends ASB only when ASB is enabled ESC RS En Name Code Initialize ASB ETB counter and ETB status ASCII ESC RS E n Hex 1B 1E 45 n Decimal 27 30 69 n Defined Area n 0 n 48 0 Initial Value ASB ETB counter 0 Function Clears the ASB ETB counter to zero then clears the ETB status However ASB status is not send when clearing the ETB counter to zero using this command The ETB counter and ETB status are ini
114. ine Mode Command Specifications 3 51 3 3 14 Status ESC RSan Name Code Set status transmission conditions ASCII ESC RS a n Hex 1B 1E 61 n Decimal 27 30 97 n Defined Area Oxns3 48 lt ns51 0 lt ns 51 Initial Value Set by DIP switches and memory switches Function Sets the status transmission conditions See Appendix 2 for details regarding ASB status Settings of this command are unaffected by the ESC command Specification A n Status transmission conditions 0 48 ASB invalid 1 49 ASB valid Specification B n Status transmission condition settings 0 48 ASB invalid 1 49 ASB valid STAR Line Mode Command Specifications 3 52 ESC ACK SOH Name Real time printer status ASB status Code ASCII ESC ACK SOH Hex 1B 06 01 Decimal 27 6 1 Defined Area Initial Value Function Sends ASB status information to the host This command is not used when ASB is valid See Appendix 2 Automatic Status for details regarding ASB status ENQ Name Real time printer status 1 Code ASCII ENQ Hex 05 Decimal 5 Defined Area Initial Value Function Sends 1 byte of the following the printer status This command is not used when ASB is valid See Appendix 2 ENQ Command Status for details regarding status EOT Name Real time printer status 2 Code ASCII EOT Hex 04 Decimal 4 Defined Area Init
115. ining in the buffer the move to the vertical tab position is considered to have been executed so a move to the next vertical tab position is not performed There is no initial value for the vertical tab STAR Line Mode Command Specifications 3 24 ESC B n1 n2 nk NUL Name Set vertical tab position Code ASCII ESC Bont n2 nk NUL Hex 1B 42 n1 n2 nk 00 Decimal 27 66 n1 n2 nk 0 Defined Area 1snx255 O lt ks16 Initial Value Function Sets the vertical tab to the current form feed amount x n position All other vertical tabs set before setting the vertical tab using this command are cancelled A maximum of 16 vertical tabs can be set However the tab position must satisfy the condition of 1sn1sn2 snk When receiving such illegal codes tabs up to the illegal code are set but those after the illegal code are discarded up to the NUL code so illegal code tab are not set The vertical tab set using this command is unaffected by changing the form feed amount later Vertical tabs set using the ESC B NUL command are cleared There is no initial value for the vertical tab ESC B NUL Name Clear vertical tab position Code ASCII ESC B NUL Hex 1B 42 00 Decimal 27 66 0 Defined Area Initial Value Function Clears the currently set vertical tab STAR Line Mode Command Specifications 3 25 3 3 6 Horizontal Direction Printing Position ESCIn Name Set left margin Code ASCII ESC n He
116. inting Logo2 and Logo3 as Auto Logo printing like the one in the drawing below this command selects to execute a partial cut before printing Logo2 of the Auto Logo and Logo3 If a partial cut is executed using this function it is possible to provide coupons etc that are printed using Auto Logo with a partial cut 3 Prints Auto Logo 4 Executes user macro 2 9 Executes cut Starts Auto Logo with trigger of cutting command 2 Executes user macro 1 kkkkkkkkkkkkkkkkkkkk MACDONALDS kkkkkkkkkkkkkkkkkkkk 1 CHEESEBURGER 2 00 Partial Cut Prints Logo 2 Partial Cut Prints Logo 3 Executes Header logo Header printing kkkkkkkkkkkkkkkkkkkk MACDONALDS STAR Line Mode Command Specifications 3 109 3 11 Two dimensional Bar Code PDF417 Command Details This command prints two dimensional bar code PDF417 There are four types of commands according to functions for two dimensional bar code PDF417 1 Bar code type setting lt ESC gt GS x S 2 Bar code data setting lt ESC gt GS x D 3 Bar code printing lt ESC gt GS x P 4 Bar code expansion information acquisition lt ESC gt GS x I The following describes the functions in detail 1 Bar code type settin These commands set the bar code type Because these are all set with default values they should be used only when it is necessary to change Refer to s
117. ity JAN EAN 13 Data is in 12 or 13 digits The command is ignored for others The check digit uses a modulus weight of 10 3 and is automatically applied When the calculated value and the numerical value of the 13 digit differ the calculated value has priority e UPC A Data is in 11 or 12 digits The command is ignored for others The check digit uses a modulus weight of 10 3 and is automatically applied When the calculated value and the numerical value of the 12 digit differ the calculated value has priority UPC E Data is in 11 or 12 digits The command is ignored for others The check digit uses a modulus weight of 10 3 and is automatically applied When the calculated value and the numerical value of the 12 digit differ the calculated value has priority Data conversion to rectangles is automatic Data that cannot be shortened is processed as invalid data STAR Line Mode Command Specifications 5 2 5 1 4 Code 128 These are bar code symbols that can print ASCII 128 characters For that reason use thereof is increasing 1 Each module and module width Module Width Length of 1 2 75 mm 4 125 mm 5 5 mm Character Start and stop bars not included 2 Regulations When using lt LF gt with the command control codes are not sent by the host PC so the control codes are sent as data as shown below When sending the following data it represents a 2 character set 25H represents 0 25H 30H
118. k n1 n2 x 256 0xdx255 Initial Value Function Prints bit images using 1 dot wide and 3 dots high per 1 dot of input data The following shows the data processing in this command When n1 n2 x 256 exceeds the printable region data after d1 is handled as normal data When n1 n2 x 256 exceeds the printable region that is currently set only the data in the printing region is printed At this time all data for the print region is discarded f the current position already exceeds the print region this command discards all data b7 b6 b5 b4 b3 b2 b1 bO STAR Line Mode Command Specifications 3 34 ESC k n1 n2 d1 dk Name Fine density bit image Code ASCII ESC k nt n2 d1 dk Hex 1B 6B n2 d1 Decimal 27 107 n1 n2 d1 Defined Area n2 0 1 n1 n2 x 256 x 8 lt printable region k n1 n2 x 256 x 24 0xdx255 Initial Value Function Prints bit images using 1 dot wide and 1 dots high per 1 dot of input data The following shows the data processing in this command When n1 n2 x 256 x 8 exceeds the printable region data after d1 is handled as normal data When n1 n2 x 256 x 8 exceeds the printable region that is currently set only the data in the printing region is printed At this time all data for the print region is discarded f the current position already exceeds the
119. k m n k 0x02 m 0x01 n 0x01 2 Print data transfer Print data Print length is less than length of image buffer 3 Trigger command transfer ESC d n Cutter command is water mark printing trigger STAR Line Mode Command Specifications 3 124 4 CHARACTER CODE TABLES Refer to the separate Character Code Tables STAR Line Mode Command Specifications 4 1 APPENDIX 5 1 Appendix 1 Bar Code Specification Details Refer to the dedicated manuals for characteristics and methods of use for each bar code symbol This section describes precautions and methods for setting when printing with the printer Bar code widths are set for each bar code according to the mode The following describes each mode and the dot counts The user must ensure the specified printing position and quiet zone at the position where the bar code begins 5 1 1 Code 39 Code 39 represents numbers 0 to 9 and the letters of the alphabet from A to Z These are the symbols most frequently used today in industry 1 Length of characters in each mode Narrow 2 dots 3 dots 4 dots 2 dots 3 dots 4 dots 2 dots 3 dots 4 dots Element Width Width Spacing Gd Character The length of 1 character includes the character spacing 2 Regulations The start and stop bar code in Code 39 are automatically inserted 5 1 2 Interleaved 2 of 5 Interleaved 2 of 5 represents numbers 0 to 9 Higher density of characters is possible and with
120. latile memory ESC GS 1 n nz0x01 ESC GS 2n n ESC GS 3 nL nH d1 d2 dk nL 4 nH 0 d1 0x1b d2 0x1d d2 0x61 d3 0x01 ESC GS 4 nL nH d1 d2 dk nL 12 nH 0 d1 0x1b d2 0x64 d3 0x03 d4 0x1b d5 0x1c d6 0x70 d7 0x01 d8 0x00 d9 0x1b d10 0x1d d11 0x61 d12 0x00 ESC GS 5n n 0x01 ESC GS 6n n 0x01 ESC GS W 2 Send registered command character embedded in print data Auto Logo Function ON Specify Auto Logo Command Character User Macro 1 Definition Registered Macro Count 4 Bytes Registered Macro lt ESC GS a 1 Center Alignment gt User Macro 2 Definition Registered Macro Count 12 Bytes Registered Macro lt ESC d 3 Cutting position partial cut gt lt ESC FS p 1 0 Print Logo 1 ESC GS a 0 Left Alignment Auto Logo Command Character Space Switch Partial Cut Before Auto Logo Printing Valid Register Auto Logo Definition Data to Non volatile Memory CHEESE BURGER 2 P is recognized as a command character Command characters are replaced by spaces 2 specifies Logo 2 STAR Line Mode Command Specifications 3 103 ESC GS W Name Register Auto Logo setting to non volatile memory Code ASCII ESC GS W Hex 1b 1d 2f 57 Decimal 27 29 47 87 Defined Area Initial Value Function Registers Auto Logo setting to non volatile memory After registration the printer is reset This command is ignored when Auto Logo is being executed ESC GS C Name Initialize Aut
121. le memory up to the data block that exceed the capacity and the command analysis is ended after that If there is unprinted data in the line buffer this command is executed after the print data in the line buffer is printed When registering all of the current macro regions are cleared so if previous macro data is necessary rewrite it When performing a Hex Dump initialization macro region data is added in the same way as the current specifications STAR Line Mode Command Specifications 3 63 3 4 Raster Graphics Command Details Raster graphics are command types and incidental specifications that enable high speed and high quality printing of graphics The following shows the characteristics and specifications for raster graphics Defines the raster mode command as the STAR line mode extension set Basically no restrictions set in use of conventional STAR line mode STAR Page Mode cannot be used Handles high speed data transmission When using IEEE 1284 data transmission rate of 80 to 100 KB sec ensured Handles IEEE 1284 USB and Ethernet I F RS 232C not applicable Handles both fixed length variable length mode Print speed selectable Post printing cut operation selectable All settings possible by Raster commands Most settings are possible without DIPSW memory switch settings Supports printer driver handling raster mode The following shows the raster command details Note that if not specifically
122. logo Presenter related commands Class Commands Name Presenter ESC SYN 0 Execute presenter paper recovery related ESC SYN 1 Set presenter automatic recovery function and recovery time commands ESC SYN 3 Acquire presenter paper counter ESC SYN 4 Initialize presenter paper counter Mark commands Class Commands Name Mark ESC GS 0 Print mark commands ESC GS 1 Specify mark height and line feed amount ESC GS 2 Specify mark color and horizontal width in each mark number ESC GS W Register mark format in non volatile memory ESC GS C Initialize mark format in non volatile memory STAR Line Mode Command Specifications 2 4 Auto Logo commands Class Commands Name Auto Logo ESC GS W Register Auto Logo setting in non volatile memory commands ESC GS C Initialize Auto Logo setting in non volatile memory ESC GS 1 ON OFF setting of Auto Logo function ESC GS 2 Command character setting ESC GS 3 User macro 1 setting ESC GS 4 User macro 2 setting ESC GS 5 Command character rewriting method setting ESC GS 6 Setting of partial cut just prior to Auto Logo printing PDFA417 commands Class Commands Name PDF417 ESC GS x S0 Set PDF417 bar code size commands ESC GS x S1 Set PDF417 ECC security level ESC GS x 82 Set PDF417 module X direction size ESC GS x S3 Set PDF417 module aspect ratio ESC GS x D Set PDF417 bar code data ESC GS xP Print PDF417
123. lt Function Codes gt Code Format FNC1 901 25H 31H FNC2 902 25H 32H FNC3 3 25H 33H FNC4 4 25H 34H lt Start Codes gt Code Format STARTA 6 25H 36H START B 7 25H 37H START C 8 25H 38H Mp STAR Line Mode Command Specifications 5 4 5 1 5 Code 93 1 Each mode and module width Module Width Length of 1 Character 3 375 mm Start and stop bars not included 2 Regulations Start stop codes are automatically applied Check character C K is automatically applied 2 character set expression conforms to Code 128 However items marked with a star are codes that can only be used with Code 128 and not with Code 93 5 1 6 NW7 CODERBAR NW7 normally uses either A through D as the start stop codes and represents special symbols minus sign dollar sign colon slash period plus sign between 0 to 9 These are used as carrier package marking bar codes DPE photo prints and for medical related industries USA 1 Length of 1 character in each mode Wide Element wien e 8 2 s e ota e e Rao 3 13 t3 125 127 i25 12 12 12 Be Dots Length of 1 Character 4 5 2 75 4 25 5 5 2 5 3 75 Normally mm 5 25 3 125 5 125 6 25 2 75 4 125 Width mm With NW7 lengths differ because narrow elements and wide elements are included according to the characters Normal characters narrow 5 wide
124. m2 m3 m4 m5 m6 m7 n 007 m1 1 m2 0 m3 1 m4 0 m5 2 m6 0 m7 2 STAR Line Mode Command Specifications 3 97 ESC GS 0 n m1 m2 m3 mk Name Print mark Code ASCII Hex Decimal Defined Area Initial Value Function ESC GS i 0 n mi m2 m3 mk 1B 1D 2A 30 n mi m m3 mk 27 29 42 48 n mi m m3 mk 001 lt n lt 255 0 lt m lt 9 k Prints the mark number specified by m based on the mark format mark height mark line feed amount each mark color and each mark horizontal width that is preset n indicates the number of marks to print If the number of marks is 10 m1 to m10 n 010 m specifies the mark number to print n and m are ASCII character strings that are represented by decimals They are composed of character codes 0 to 9 This command is ignored if there is print data in the image buffer Therefore other characters cannot be included characters bit images bar codes etc If there is no mark specified in the remaining print region the number of bytes specified by n are discarded Also if the value of n is out of the defined range subsequent data are processed as normal data This command is affected by position alignment left margin moved position positions such as horizontal tab and upside down printing STAR Line Mode Command Specifications 3 98 ESC GS 1 h v Name Specify mark height and line fe
125. mands are ignored and the preset values are unchanged The processing of commands is terminated at the point values outside of the defined region are processed in arguments having a plurality of commands Data after that is processed as normal data Ex If processing the data string of lt 1B gt H lt 52 gt H lt 15 gt H the printer will discard the data string of lt 1B gt H lt 52 gt H lt 15 gt H because although lt 1B gt H lt 52 gt H is defined as a commands ESC R the argument lt 15 gt H is outside of the definition Therefore the international character set that is already set experiences no change STAR Line Mode Command Specifications 3 2 3 3 Standard Command Details 3 3 1 Font style and Character Set ESC RSFn Name Select font Code ASCII ESC RS F n Hex 1B 1E 46 n Decimal 27 30 70 n Defined Region Osns1 n 16 Initial Value n 0 Function Selects a font n Font 0 Font A 12 x 24 dots 1 Font B 9 x 24 dots 16 OCR B 16 x 24 dots The following functions are disabled when OCR B font is selected Code page Blank code page International characters Slash zero When using OCR B font to read characters via a scanning operation adornment expansion and external characters are canceled OCR B font should be checked by actually trying it first before use STAR Line Mode Command Specifications 3 3
126. mitted E B 0x0001 Status s Printer Status Request EOT ASB 0x0008 02 Omitted pi B 0x0001 Status Eu Printer Status Request ESC SYN 3n ASB 0x0011 43 00 lt n lt 01 b B 0x0008 Status Presenter Counter 30 lt n lt 31 Request ESC GS xI ASB 0x000C 16 Omitted pd B 0x0005 Status e PDF417 Information Request ESC GS y QR ASB 0x000D 19 Omitted P B 0x0006 Status gd Code Information Request STAR Line Mode Command Specifications 5 15 5 3 Appendix 3 Blank Code Page Configuration Blank code pages are character code tables that are empty from character code 80H to FFH They can be specified using the command below ESC GS t n n 255 Also it is possible to write data to the blank code page area using the command below 1 Example configuration of Font A data 12 x 24 font MSB LSB MSB LSB di d2 0 0 0 0 d3 SEERNE d4 d5 d6 9 0 0 0 0 d7 P 48 d9 SE d10 of 411 E d12 413 E d14 415 d16 ej 417 dig 419 420 421 d22 423 e 24 425 e d26 427 P d28 0 0 0 0 d29 SERR d30
127. n Hex 1B 43 00 n Decimal 27 67 0 n Defined Area 1sns22 Initial Value Form feed amount initial value x 42 Function The position whereat this command is processed is considered the top of the page and sets the page length to n x 24 mm This command cancels the bottom margin setting when setting page length The page length set using this command is unaffected by changing the form feed amount later Moving to the top of the page is performed using the following commands Form feed command FF Executes a form feed Cutter command ESC d n Sets cutter position at top of page Raster command ESC r B Sets top of page when quitting raster mode Error cancel operations Sets position when quitting error cancellation operations at top of page STAR Line Mode Command Specifications 3 23 VT Name Feed paper to vertical tab position Code ASCII VT Hex 0B Decimal 11 Defined Area Initial Value Function Feeds paper to the next vertical tab position This command is ignored if there are no tabs set If a vertical tab is set and the current position is the same as the vertical tab position or if it is below that position it feeds paper to the top of the next page If data exists in the line buffer when feeing paper to the vertical tab position it executes the paper feed to the vertical tab position after printing that data However if moved to the vertical tab position by printing data rema
128. n 0 to Position 1 to Paper cut to Position 3 to Paper pull out to Position 6 to Position 0 Take up Front Pull out Position 0 to Position 1 to Paper cut to Position 3 to Paper pull out to Position 7 to Position 0 Discharge No Loop Recovery Position 0 to Position 1 to Paper cut to Position 3 to Paper pull out to Position 6 to Position 0 Internal Pull out Position 0 to Position 1 to Paper cut to Position 3 to Paper pull out to Position 7 to Position 0 recovery No Loop Recovery Position 0 to Position 1 to Paper cut to Position 3 to Paper pull out to Position 6 to Position 0 Front Pull out Position 0 to Position 1 to Paper cut to Position 3 to Paper pull out to Position 7 to Position 0 Discharge Recovery Recovery Position 0 to Position 1 to Paper cut to Position 6 to Position 0 Invalid Pull out Position O to Position 1 to Paper cut to Position 6 to Position 0 4 Note Do not use ENQ EOT and ESC ACK SOH when automatic status is valid Invalidate the automatic status in advance using the DIPSW memory switch or the ESC RS a n command to query these STAR Line Mode Command Specifications 5 12 3 Status identification method Command Functions Status bit7 bit bit5 bit4 bit3 bit2 bit1 bitO XON 0 0 0 1 0 0 0 1 XOFF 0 0 0 1 0 0 1 1 ENQ 0 EOT 1 0 ASB Header 1 0 j 0 1 ASB Other than Header 1 0 li 0 m i i
129. n1 n2 n3 n4 Data definition specify bit and set Definition N n1 n2 n3 n4 Data definition specify bit and clear Definition N n1 n2 n3 n4 Definition data all data initialized Definition _ Fixed at 0 Fixed at 0000 em Mode selection e N Memory switch number to specify n1 n2 n3 n4 Specify data m Specify data m Bit number to set m Bit number to clear STAR Line Mode Command Specifications 3 61 ESC LF NUL Name Reset printer execute self print Code ASCII ESC LF NUL Hex 1B 3F 0A 00 Decimal 27 63 10 0 Defined Area Initial Value Function Hardware resets the printer and executes on self print After sending this command the next data is not sent until the printer is online in a state wherein it can receive data When resetting the printer the following processes are performed VF Mode Process Parallel BUSY output RS 232C DTR mode DTR mark output Xon Xoff mode Xoff output STAR Line Mode Command Specifications 3 62 ESC GS m t1 nL1 nH1 d11 012 d1k 1 t2 nL2 nH2 d21 d22 d2k 2 tm nim nHm dm1 dm2 dmk m Name Register macro Code ASCII ESC GS m t1 nL1 nH1 d11 d12 d1k Hex 1B 1D 28 m 1 nL1 nH1 d 1 d12 d1k Decimal 27 29 43 m t1 nL1 nH1 d11 d12 d1k Code ASCII t2 nL2 nH2 d21 d22 d2k tm nlm nHm dm1 dm2 dmk Hex t2 nL2 nH2
130. ncel 2 color print mode Code ASCII Hex Decimal Defined Area Initial Value Function ESC RS C n 1B 1E 43 n 27 30 67 n Specification A Osns2 48sns50 O xns 2 Specification B Osns1 48sns49 O xns 1 Specification C Osns2 48sns50 O znx2 n 16 n 32 n 0 48 Specification A n Select cancel 2 color print mode 0 48 Cancels 2 color print mode This command cancels 2 color print mode when in 2 color print mode This command is ignored when the 2 color print mode is already cancelled The specification of this command is not cleared by ESC CAN The following processes are executed by canceling the 2 color print mode using this command Prints data in line buffer in 2 color print mode if unprinted data exists in the line buffer Waits to stop printing when printing in 2 color print mode Recovers print density setting to single color mode setting Recovers print speed to single color mode setting Recovers logo print setting to single color mode setting Selects 2 color print mode This command selects 2 color print mode when in single color print mode This command is ignored already in the 2 color print mode The specification of this command is not cleared by ESC CAN The following processes are executed by selecting the 2 color print mode using this command Prints data in line buffer in single color print mode if unprinted data exists in the line buffer
131. ner Side Paper Paper OK OK OK OK OK NO OK OK 1 Paper Near end Outer Side Paper No Paper No No No No No NO NO NO O0 Fixed at 0 z E Printer status 5 Sensor Information Seventh Byte Bit Contents Status Model Compatability 0 4 TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP70011 TSP650 7 Fixed at 6 Used Fixed at 0 5 Not Used Fixed at 0 4 at 0 3 Slip BOF Detector Paper No Paper No No No No No NO NO NO 2 Slip TOF Detector Paper No Paper No No No No No NO NO NO Presenter Paper Detector No Paper Paper No No No No NO NO 1 Stack Sensor Detector NoPaper Paper OK NO NO Peel Sensor Detector No Paper Paper OK NO NO O Fixed at STAR Line Mode Command Specifications 5 10 Printer status 6 ETB Counter Eighth Byte Bit Contents Status Model Compatability TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700lI TSP650 0 M V 40orlater V 30or V 30or later later 7 Fixed at 0 6 ETB Counter Bit 4 OK OK OK OK OK OK OK OK 5 Counter Bit 3 OK OK OK OK OK OK OK OK 4 FixedatO 3 ETB
132. nnot both exist in the same line This command is enabled for following ANK characters Chinese characters Bit images Logos Bar codes 0 N Name Cancel upside down printing Code ASCII DC2 Hex 12 Decimal 18 Defined Area Initial Value Upside down printing cancelled Function Cancels upside down printing This command is enabled only when at the top of the line STAR Line Mode Command Specifications 3 18 3 3 4 Line Spacing LF Name Line feed Code ASCII LF Hex 0A Decimal 10 Defined Area Initial Value Function Feeds the currently specified amount of paper If print data exists in the line buffer it prints that data The initial value for the amount of paper is set according to the memory switch settings CR Name Carriage return line feed Code ASCII CR Hex 0D Decimal 13 Defined Area Initial Value Function When the CR code is enabled the CR code functions in the same way as the LF code If the CR code is disabled it ignores 1 byte Enabling and disabling the CR code is done using the memory switch settings ESC an Name Feed paper n lines Code ASCII ESC a n Hex 1B 61 n Decimal 27 97 n Defined Area 1sns127 Initial Value Function Executes a paper feed for the currently specified line feed amount x n If print data exists in the line buffer it prints that data The initial value for the amount of paper i
133. noted the following commands are effective only in raster mode and the commands are ignored 4 bytes ignored when other than the raster mode The raster image buffer in the command details described below indicate the raster dedicated image buffer the length thereof vertical direction dot count differing between models STAR Line Mode Command Specifications 3 64 ESC rR Name Initialize raster mode Code ASCII ESC E R Hex 1B 2A 72 52 Decimal 27 42 114 82 Defined Area Initial Value Function Initializes raster mode This command is also effective when not in the raster mode However initialization of the raster mode with this command is executed when entering the raster mode The following settings are initialized using this command Raster page length setting ESC r P n NUL Raster print quality setting ESC Q n NUL Raster print color setting ESC r K n NUL Raster left margin setting ESC r m n NUL Raster right margin setting ESC r m r n NUL Raster EOT mode setting ESC FF EOT Raster FF mode setting ESC FF NUL Raster image buffer clear Note that when entering the raster mode it executes the same process as initialization of the raster mode using this command However because initialization is not performed when entering the raster mode only for the following settings when initializing the following it sends this initialization command Raster data print col
134. o Logo setting to non volatile memory Code ASCII ESC GS C Hex 1b 1d 2f 43 Decimal 27 29 47 67 Defined Area Initial Value Function Initializes registered data in the non volatile memory of the Auto Logo function After initialization the printer is reset This command is ignored when Auto Logo is being executed The default values of the Auto Logo function are below Setting Initial Value Auto Logo Function OFF Command Character None User Macro 1 None User Macro 2 None Command Character Switch No print Partial Cut Before Auto Logo Printing Disabled STAR Line Mode Command Specifications 3 104 ESC GS 1 n Name Auto Logo Function On Off Setting Code ASCII ESC GS 1 n Hex 1 id 2f 34 n Decimal 27 29 47 49 n Defined Area Osns2 Initial Value n 0 Function Turns the Auto Logo function on and off This command is registered to the non volatile memory by the lt ESC gt GS W command When in raster mode the Auto Logo function is invalid This command is ignored when Auto Logo is being executed n Setting 0 Auto Logo Function OFF 1 Standard Auto Logo Function ON Operation Specifications 1 Start up the Auto Logo function using the current system cut command as a trigger 2 Prints if there is print data in the image buffer 3 Executes user macro 1 4 Prints the Auto Logo 5 Executes user macro 2 2 Simple Auto Logo Function O
135. ocument quit command ESC FF NUL n is a decimal description max 255 digits using ASCII characters Specification A FF mode setting format n FormFeed Cut Feed Cutter Presenter 0 Set To Default Set To Default Set To Default Set To Default 1 o 2 3 TearBar 8 Full Cut 9 o Full Cut 12 Partial Cut 13 Partial Cut 36 Full Cut Eject 37 Full Cut Eject Specification B FF mode setting format n FormFeed Cut Feed Cutter Presenter 0 Set To Default Set To Default Set To Default Set To Default 1 1 2 1 3 1 TearBar 8 o 1 Full Cut 9 1 Full Cut 12 1 Partial Cut 13 1 Partial Cut 36 1 Full Cut Eject 37 o 1 Full Cut Eject 1 Form Feed When the printer is a model handling BM and is set for BM to be effective the set raster mode page length is ignored and BM detecting is performed STAR Line Mode Command Specifications 3 70 ESC r P n NUL Name Set raster page length Code ASCII ESC r P n NUL Hex 1B 2A 72 50 n 00 Decimal 27 42 114 80 n 0 Defined Area Initial Value Raster image buffer length Function Sets raster page length n is a decimal description max 255 digits using ASCII characters 0
136. od Code ASCII ESC GS 5 n Hex 1 1d 2f 35 n Decimal 27 29 47 53 n Defined Area Osns1 Initial Value n 0 Function Sets the Auto Logo function command character switching method This command is registered to the non volatile memory by the lt ESC gt GS W command This command is ignored when Auto Logo is being executed n Setting 0 Does not print the command character and the following logo number 1 Switches the command character and the following logo number into a space character 0 x 20 When is specified as the command character the 2 embedded in the print data is not a character string but processed as a command At this time 2 is processed as a command is not printed However by specifying n 1 in this command it is possible to switch 2 to a space STAR Line Mode Command Specifications 3 108 ESC GS 6 n Name Set partial cut before Auto Logo printing Code ASCII ESC GS 6 n Hex 1b id 2f 36 n Decimal 27 29 47 54 n Defined Area Osns1 Initial Value n 0 Function Sets a partial cut before the Auto Logo printing This command is registered to the non volatile memory by the lt ESC gt GS W command This command is ignored when Auto Logo is being executed n Setting 0 Does not execute a partial cut before the Auto Logo printing 1 Executes a partial cut before the Auto Logo printing When pr
137. or setting ESC r K n NUL STAR Line Mode Command Specifications 3 65 ESC rA Name Enter raster mode Code ASCII ESC r A Hex 1B 2A 72 41 Decimal 27 42 114 65 Defined Area Initial Value Function Enters raster mode This command is ignored when in the raster mode The following shows the details regard processing of this command 1 Reception of this command 2 When using parallel I F IEEE 1284 reverse mode is prohibited 3 All data remaining in the reception buffer and image buffer is printed equivalent to the FF command 4 Initialize raster mode 5 Enter raster mode When in the raster mode the raster mode is initialized The following shows the contents of the initialization Raster page length setting ESC r P n NUL Raster print quality setting ESC Q n NUL Raster left margin setting ESC r m n NUL Raster right margin setting ESC r m r n NUL Raster EOT mode setting ESC FF EOT Raster FF mode setting ESC FF NUT Raster image buffer clear Only raster data print color setting is not initialized when entering the raster mode STAR Line Mode Command Specifications 3 66 ESC rB Name Quit raster mode Code ASCII ESC r B Hex 1B 2A 72 42 Decimal 27 42 114 66 Defined Area Initial Value Function Quits raster mode When quitting the raster mode if there is raster data remaining in the image buffer of the raster mode
138. ots Narrow Wide 3 9 dots Narrow Wide 4 10 dots 3 51 Minimum module 4 dots Narrow Wide 4 12 dots Narrow Wide 6 15 dots 4 52 Narrow Wide 2 5 dots Narrow Wide 2 4 dots 5 53 Narrow Wide 3 8 dots Narrow Wide 4 8 dots 6 54 Narrow Wide 4 10 dots Narrow Wide 6 12 dots 7 55 Narrow Wide 2 4 dots Narrow Wide 2 6 dots 8 56 Narrow Wide 3 6 dots Narrow Wide 3 9 dots 9 57 Narrow Wide 4 8 dots Narrow Wide 4 12 dots STAR Line Mode Command Specifications 3 41 n4 bar code height dot count Specification A When the height of the bar code is more than the form feed amount the form feed amount is automatically doubled Specification B Form feed at Bar code height underbar characters k Bar code data count d Bar code data Bar code type Defined area of k Defined area of d UPC E 11sks12 48xds57 O xds 9 UPC A 11sks12 48sds57 O xds 9 JAN EAN8 7Sks8 48 lt ds57 O xds 9 JAN EAN13 12xks13 48xds57 O xds 9 Code39 1sk 48sds57 O xds 9 65sds90 A xds Z 32 36 37 43 45 46 47 SP 9 t sm ITF 1sk 48sds57 O xds 9 When an odd number 0 is automatically applied to the top Code128 1sk Osds127 Code93 1sk Os lt ds127 NW 7 1sk 48xds57 O xds 9 65sds68 A xdx D 36 43 45 46 47 58 e 0 pnm 97 98 99 100 b c d e UPC E k 1
139. page mode the printer move the print position to the head of the next line then starts with the new print data Top of line The top of line is a state that satisfies the following conditions There is currently no print data in the line buffer The position is not specified with the horizontal direction position command Printable region This is the maximum printable area with the printer s specifications Print region This is the printing area specified by a command Print region lt printable region ANK character base line 24 dots Ae eek ee cuu g Base Line STAR Line Mode Command Specifications 3 1 3 2 Exception Processing 1 Undefined codes Codes from lt 00 gt H to lt 1F gt H are targeted When codes not defined as commands in this region are received they are discarded Ex If processing the data string of lt 30 gt H lt 31 gt H lt 03 gt H lt 32 gt H lt 0A gt H lt 33 gt H the printer will discard lt O3 gt H as an undefined code 2 Undefined commands When data continuing the codes of ESC FS GS DLE are codes not defined as commands ESC FS GS and subsequent codes are discarded Ex If processing the data string of lt 30 gt H lt 1B gt H lt 22 gt H lt 31 gt H lt 32 gt H the printer will read and discard lt 1B gt H lt 22 gt H as an undefined command 3 Settings outside of the defined area Processing values outside of the defined area in commands accompanying arguments those com
140. print area printable region to left margin to the right margin specified value this command is ignored n is a decimal description max 255 digits using ASCII characters STAR Line Mode Command Specifications 3 72 ESC r T n NUL Name Set raster top margin Code ASCII ESC r T n NUL Hex 1B 2A 72 54 n 00 Decimal 27 42 114 84 n 0 Defined Area Osns2 Initial Value Function Sets the raster top margin n is a decimal description max 255 digits using ASCII characters Top margin Set To Default Set top margin using reverse paper feed Set standard top margin his differs according to the model handling this command N jojl 5 The line mode top margin setting continues after entering the raster mode Also the top margin setting of the raster mode continues after ending the raster mode and returning to the line mode ESC r K n NUL Name Set raster print color Code ASCII ESC r K n NUL Hex 1B 2A 72 4B n 00 Decimal 27 42 114 75 n 0 Defined Area Oxns3 Initial Value n 0 Function Sets raster print color This command is effective only when specifying the 2 color mode using the line mode This command is ignored when not in the 2 color print mode n is a decimal description max 255 digits using ASCII characters n Print color 0 Black 1 Cyan 2 Magenta 3 Yellow This command is effective only when using a
141. quipped with Japanese and Chinese characters and when the specification for the location of use is specified as SBCS single byte countries by the memory switch n Shift JIS Chinese character mode 0 48 Cancels shift JIS Chinese character mode 1 49 Specifies shift JIS Chinese character mode STAR Line Mode Command Specifications 3 56 ESC s n1 n2 Name Set 2 byte Chinese character left right spaces Code ASCII ESC s ni n2 Hex 1B n2 Decimal 27 115 n1 n2 Defined Area Osn1s7 48xn1s55 O sn12 7 Osn2s15 48sn2s57 0 Sn2s 9 65sn2s70 A sn2s F Initial Value Memory switch setting Function Adds n1 dot left space and n2 dot right space to Chinese characters This command is ignored for models not equipped with Chinese fonts for overseas and when the specification for the location of use is specified as SBCS single byte countries by the memory switch ESC t n1 n2 Name Set 1 byte Chinese character left right spaces Code ASCII ESC t n1 n2 Hex 1B 74 n1 n2 Decimal 27 116 n1 n2 Defined Area Osnis7 48sn1s55 O sn12 7 Osn2s15 48sn2s57 O xn2x 9 65sn2s70 A Sn2s F Initial Value Memory switch setting Function Adds n1 dot left space and n2 dot right space to 1 byte characters This command is ignored for models not equipped with Chinese fonts for overseas and when the specification for the location of use is specified as SBCS single byte countri
142. r 1 1 or OK OK OK later Trigger ESC GS g 1 NO NO NO NO Ver 1 1 or OK OK OK Control later QR Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 QR Code ESCGSySO0 NO NO NO NO Ver 1 2 or OK OK NO later ESC GSy S 1 NO NO NO NO Ver 1 2 or OK OK NO later ESC GS yS2 NO NO NO NO Ver 1 2 or OK OK NO later ESC GS yD 1 NO NO NO NO Ver 1 2 or OK OK NO later ESC GSy D2 NO NO NO NO Ver 1 2 or OK OK NO later ESC GS y P NO NO NO NO Ver 1 2 or OK OK NO later ESC GS y NO NO NO NO Ver 1 2 or OK OK NO later Page Function Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Page ESC GS h0 NO NO NO NO NO NO OK NO Function ESC GS h 1 NO NO NO NO NO NO OK NO STAR Line Mode Command Specifications 6 8 6 3 USB I F Ver1 0 Ethernet I F Silex Ver1 0 Standard Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Font Style ESC RSF NO NO NO NO NO NO NO NO and ESC GSt OK OK OK OK NO NO NO NO Character ESC GS Ver 3 0 or OK OK OK NO NO NO NO Set later C ESCR OK OK OK OK NO NO NO NO ESC OK OK OK OK NO NO NO NO ESC SP OK OK OK O
143. r ESC rF Spec A OK OK OK OK OK OK OK Ver 2 0 or later ESC rP Ver 2 0 or later OK OK OK OK OK OK OK ESC rQ Ver 2 0 or later OK OK OK OK OK OK OK ESC rml Ver 2 0 or later OK OK OK OK OK OK OK ESC rmr Ver 2 0 or later OK OK OK OK OK OK OK ESC rT Ver 2 0 or later OK OK OK OK OK OK OK ESC rK Ver 2 0 or later OK OK OK OK OK OK OK b ni n2 d1 dk Ver 2 0 or later OK OK OK OK OK OK OK k n1 n2 d1 dk Ver 2 0 or later OK OK OK OK OK OK OK ESC rY Ver 2 0 or later OK OK OK OK OK OK OK ESC FF NUL Ver 2 0 or later OK OK OK OK OK OK OK ESC FF EOT Ver 2 0 or later OK OK OK OK OK OK OK ESC rN NO NO NO NO NO NO OK ESC rV NO NO NO NO NO NO NO OK STAR Line Mode Command Specifications 6 6 Black Mark Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP650 Black Mark ESC d OK OK OK OK OK OK OK OK Related FF OK OK OK OK OK OK OK OK Commands ESC C OK OK OK OK OK OK OK OK ESCCO OK OK OK OK OK OK OK OK VT OK OK OK OK OK OK OK OK ESCB OK OK OK OK OK OK OK OK 2 Color Printing Related Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700Il TSP650 2 Color ESC
144. r data is sent in n1 n2 x 256 byte counts as binary data Raster data exceeding the print area currently set is discarded The image buffer expanded position returns to the head of the current dot row without an automatic line fed after expanding the image buffer data 1 dot row using this command Also data expansion is duplicated on the data in the current image buffer OR process The following shows expanded image buffer for the set raster print color n is a decimal description max 255 digits using ASCII characters Print color Expanded image buffer Black Image buffer for black Cyan Image buffer for black Magenta Image buffer for black Yellow Image buffer for black STAR Line Mode Command Specifications 3 75 ESC r Y n NUL Name Move vertical direction position Line feed for specified dots Code ASCII ESC x r Y n NUL Hex 1B 2A 72 59 n 00 Decimal 27 42 114 89 n 0 Defined Area Initial Value Function Moves vertical direction position Moves position n dots with this command When the current page length setting is in continuous print mode and the n dots exceed the remaining dot count of the raster image buffer length this moves up to the remaining dot count and ignores the overflow If the page length is set it moves to the current page length and ignores the overflow Note that when there is overflow this expands the next raster data after printing the raster image buffer dat
145. r raster data ESC rD Drive drawer ESC rE Set EOT mode ESC rF Set FF mode ESC rP Set page length ESC rQ Set print quality ESC rml Set left margin ESC rmr Set right margin ESC rT Set top margin ESC rK Set print color b n1 n2 d1 dk Transfer raster data auto line feed k n1 n2 d1 dk Transfer raster data ESC rY Position movement in vertical direction Line break at specified dot ESC FF NUL Execute form feed mode ESC FF EOT Execute EOT mode ESC rN Discard data for specified byte count ESC rV Execute external buzzer drive STAR Line Mode Command Specifications 2 3 Black mark related commands Class Commands Name Black mark ESC d Paper cut instruction Related FF Form feed Commands ESCC Set page length to n lines ESCCO Set page length in 24 mm units VT Feed paper to vertical tab position ESCB Set vertical tab position ESCN Set n line bottom margin ESCO Cancel bottom margin 2 color printing related commands Class Commands Name 2 color printing ESC RS c Specify printing color in 2 color printing mode Related ESC RS C Select cancel 2 color printing mode Commands ESC 4 Specify white black inversion and printing color red ESC 5 Cancel white black inversion and specify printing color black ESC RS d Set print density ESCRSr Set printing speed ESC FS q Register logo ESC FS p Print
146. r receives the XON it sends the data text to the RXD signal line XOFF DC 3 13H is output when the empty space in the data buffer is a maximum of 256 bytes The host computer stops sending data text when it receives the XOFF however the printer is capable of receiving data at that time for the amount of empty space in the data buffer Data exceeding the amount of empty space is discarded As the empty space in the data buffer increases through printing XON is output when the data in the buffer is a maximum of 256 bytes 4 Buffer full Buffer full cancel in the XON XOFF mode Full Near Full Near Empty Empty Buffer Empty area 256 bytes DEREN Reception data 256 bytes XOFF Output XON Output Printer Setting Conditions Explanation of Operations Memory switch B 4 0 XOFF outputs only 1 byte when the empty area is a maximum of 256 bytes XON outputs 1 byte when the data in the buffer is a maximum of 256 bytes Memory switch B 4 1 XOFF output for every 1 byte of data received when the empty area is a maximum of 256 bytes XON output when the data in the buffer is a maximum of 256 bytes STAR Line Mode Command Specifications 1 3 1 2 Parallel Interfaces Amphenol 36 pins 1 2 1 Specifications Conforming to IEEE1284 Rating Conforms to IEEE 1284 Mode Compatibility Mode Nibble Mode Byte Mode Data transfer speed 1000 to 6000 CPS Synch method According to externally supplied strobe pulse Handshake Accor
147. rives for external buzzers set using this command is performed by ESC GS lt EM gt DC2 m n1 n2 The setting value is not initialized by lt ESC gt and CAN STAR Line Mode Command Specifications 3 48 ESC GS EM DC2 m n1 n2 Name External buzzer drive execution Code ASCII ESC GS EMDC2 m n2 Hex 1B 1D 19 12 m n2 Decimal 27 29 25 18 m n2 Defined Area 1sms2 49 lt ms50 1 lt n1 lt 20 n2 0 Initial Value Function Repeatedly drives the buzzer according to the ON OFF conditions set by the external buzzer drive pulse conditions command lt ESC gt GS lt EM gt lt DC1 gt m t1 t2 m specifies the buzzer drive terminal to drive Buzzer Drive Terminal 1 49 Buzzer Drive Terminal 1 2 50 Buzzer Drive Terminal 2 Specifies the number of repetitions of the buzzer drive with n2 x 256 n1 The buzzer will not ring while printing This command is prohibited for uses other than to ring the buzzer If this command is used to drive the cash drawer on models that have an external device terminal the system will be damaged Absolutely never use it for other purposes The buzzer can be stopped by pressing the paper feed switch or opening the cover when it is ringing Example n1 8 Drive Pulse OFF a on off Ke i I I Print Operation Printing Paper Feed Prohibited Not
148. rnover function that function is executed at the trigger However this function is effective for print data that can be contained in the image buffer length Print data beyond the image buffer length is unaffected by this function Printing that is started other than the 180 degree turnover trigger ignores this function 180 degree turnover triggers Cutter command ESC dn FF command FF BM detection command lt ESC gt dn FF Print start command lt ESC gt G8 gO0 mn Raster mode When is executed Use example 1 When 180 degree turnover function is enabled ESC GS h 0 k mn k 0x01 m 0x00 n 0x00 2 Print data transfer Print data Print length is less than length of image buffer 3 Trigger command transfer ESC d n Cutter command is 180 degree turnover trigger STAR Line Mode Command Specifications 3 123 ESC GS h1ikmn Name Water mark function Code ASCII Hex Decimal Defined Area Initial Value Function ESC GS h 1 k m n 1B 1D 68 31 k m n 27 29 104 49 k m N 0sks2 0 8ms2 1 n amp 255 Sets the water mark function to be valid invalid k Water Mark Function 0 Invalid 1 Valid Prints one specified logo at a position centered horizontally and vertically 2 Valid Repeats printing of the specified logo from the top edge to the bottom edge at positions centered horizontally To set to an appropriate ima
149. s 2 1 Class Commands Name Page control FF Form feed commands ESCC Set page length to n lines ESCCO Set page length in 24 mm units VT Feed paper to vertical tab position ESCB Set vertical tab position ESCN Set bottom margin to n lines ESCO Cancel bottom margin Horizontal ESCI Set left margin direction ESC Q Set right margin position HT Move print position to horizontal tab position ESC D Set cancel horizontal tab position ESC GSA Move absolute position ESC GSR Move relative position ESC GS a Specify position alignment Download ESC amp Register delete 12 x 24 dot font download characters ESC Set cancel download characters Bit image ESC K Standard density bit image graphics ESC L High density bit image ESC k Fine bit image ESC X Fine bit image Logos ESC FS q Register logo data ESC FS p Print logo data ESC RS L Print registered logo in batch Batch control of registered logos Bar code ESC b Print bar code Cutter control ESC d Paper cutter instruction External device ESC BEL Set pulse width for external device drive Drive BEL External device 1 drive instruction FS External device 1 drive instruction SUB External device 2 drive instruction EM External device 2 drive instruction ESC GS BEL Ring buzzer ESC GS EM DC1 External buzzer drive pulse condition settings ESC GS EM DC2 External buzzer drive execution
150. s cleared and the command itself is disabled 4 and 5 are sent when necessary Printing When printing position movement using specify absolute position specify relative position and align position are enabled Upside down printing and 2 color printing are possible Printed bar codes should always be checked in an actual use STAR Line Mode Command Specifications 3 117 The following is an example showing the sending of the commands 1 Set bar code type lt ESC gt 657 y S 1 lt ESC gt 657 y S 1 0 lt ESC gt GS y S 2 3 2 Set bar code data e lt ESC gt GS y D 1 0 20 0 e lt ESC gt GS y D 2 10 420 110 420 110 420 420 230 420 310 3 Print bar code Sets to model 1 Sets mistake correction level to L Sets cell size to 3 dots 2005 January 1 SAT lt LF gt Sets bar code data Data automatic analysis Sets bar code data Data manual analysis 140 2005 Year Month Day SAT LF To verify whether to print with the current settings check the bar code expansion information ESC GS y I lt ESC gt GS y p Check bar code expansion information Print STAR Line Mode Command Specifications 3 118 ESC GSy S 0n Name Set QR code model Code ASCII ESC GS y S 0 n Hex 1B 1D 79 53 30 n Decimal 27 29 121 83 48
151. s set according to the memory switch settings STAR Line Mode Command Specifications 3 19 ESCzn Name Select line feed amount Code ASCII ESC z n Hex 1B 7A n Decimal 27 122 n Defined Area 1 49 Initial Value Memory switch setting Function Specifies the line feed amount n Line feed amount 1 49 Specifies 4 mm line feed amount ESC 0 Name Specify line spacing to 3 mm Code ASCII ESC 0 Hex 1B 30 Decimal 27 48 Defined Area Initial Value Memory switch setting Function Specifies the line feed amount to 3 mm STAR Line Mode Command Specifications 3 20 ESC Jn Name n 4 mm line feed Code ASCII ESC J n Hex 1B 4A n Decimal 27 n Defined Area 1sns255 Initial Value Function Executes a n 4mm paper feed If print data exists in the line buffer it prints that data Using this command will intermittently feed paper therefore it is normally recommended that this command not be used ESC In Name n 8mm line feed Code ASCII ESC l n Hex 1B 49 n Decimal 27 73 n Defined Area 1sns255 Initial Value Function Executes a n 8mm paper feed If print data exists in the line buffer it prints that data Using this command will intermittently feed paper therefore it is normally recommended that this command not be used STAR Line Mode Command Specifications 3 21 3 3 5 Page Control Commands FF Name Form feed Code ASCII FF Hex
152. s the horizontal print region the portion exceeding the area is not printed Logos are printed according to the following command settings Left margin ESC n Right margin ESC Q n Position alignment ESC GS a n Absolute position movement ESC GS An1 n2 Relative position movement ESC GS R n1 n2 Upside down printing SI ESC RS L m Name Code Spec A Print logo in batch Spec B Batch control of registered logos ASCII ESC RS L m Hex 1B 1E 4C m Decimal 27 30 76 m Defined Area Spec A 0sms348smsb i 0 sms 3 Spec B O0sms348sms51 0zms 3 m 255 Initial Value Function Spec A Prints all registered logos according to a print mode specified by m Executes a printer reset after printing Spec B Controls logos as specified by the parameter m After execution this resets the printer Spec A m Logo print mode 0 48 Normal mode 1 49 Double wide mode 2 50 Double high mode 3 51 Double high wide mode STAR Line Mode Command Specifications 3 39 Spec B m Logo Control Mode 0 48 Normal mode Batch printing 1 49 Double wide mode Batch printing 2 50 Double high mode Batch printing 3 51 Double high wide mode Batch printing 255 Batch delete logos STAR Line Mode Command Specifications 3 40 3 3 10 Bar Code ESC b n1 n2 n3 n4 d1 dk RS Name Code ASCII Hex Decimal Defined Area Ini
153. s51 O xdx 3 Initial Value Function Executes the auto cutter After auto cutter is executed the printer considers that to be the top of the page n Auto cutter 0 48 Full cut at the current position Print data in line buffer is printed before a full cut This command is ignored if the printer is not equipped with an auto cutter 1 49 Partial cut at the current position Print data in line buffer is printed before a partial cut This command is ignored if the printer is not equipped with an auto cutter 2 50 Paper is fed to cutting position then a full cut Print data in line buffer is printed before the operation described above This command is ignored if the printer is not equipped with an auto cutter 3 51 Paper is fed to cutting position then a partial cut Print data in line buffer is printed before the operation described above This command is ignored if the printer is not equipped with an auto cutter The auto cutter function operates in the following ways on models that only have a full cut or a partial cut Models that perform only a full cut Executes a full cut when there are instructions calling for a partial cut Models that perform only a partial cut Executes a partial cut when there are for instructions calling for a full cut When connected with a presenter executes a full cut when instructed for a partial cut STAR Line Mode Command Specifications 3 43 3 3 12 E
154. sceceeceeteceeseccecseceeceseeseeseduceeeeedeceeenedeesedessadeesecceduedecdedanteceedes 3 83 3 T 2 Color Printing Command Details isisisi nnna niia iaaa eren 3 84 3 8 Presenter Related Command Details eren enceinte nente tmn ttn nudas in aka ste Bea kde aaia 3 93 3 9 Mark Command Details nennen eene nennen enhn inneren entere nennen nennen nennen 3 96 3 10 AUTO LOGO Function Command Details eene enne nnne nnns 3 101 3 11 Two dimensional Bar Code PDF417 Command Details sseeeee emm 3 110 3 12 Details of the Print Starting Trigger Control Command eene eene een 3 115 3 13 Two Dimensional Bar Code QR Code Command Details sssssssssssseeeennenees 3 116 3 14 Page Function Command Details sene enne nne enne enne 3 123 4 CHARACTER CODE TABLES rc ie eh dia ened asp de Re RE chee an eee 4 1 maeuddipeee 5 1 5 1 Appendix 1 Bar Code Specification Details sssseeeene enne nennen 5 1 uS TI 5 1 5 1 2 Interleaved Pic 5 1 En luum 5 2 SE MEO mE RR 5 3 M 5 5 NW7 CODERBAR E cct 5 5 STAR Line Mode Command Specifications 1 5 2 Appendix 2 Status Specifications
155. starts processing this command When logo register processing starts all previously defined data is deleted It is not possible to reregister a portion of a plurality of defined logo data Logo registration numbers are defined in rising order from 1 If the defined area specified by the parameter is not empty or if there is an error in the parameter specification register processing is aborted The pre registered and complete data is effective The printer should be initialized if logo registration is completed or register processing is aborted If an error occurs while performing register processing the time from when the first parameter is OK until th printer initialization is completed after registering a logo error processing mechanical operation and status processing cannot be performed The relationships between input data and the actual print are shown on the next page lt When registering logos for 2 color printing gt Registration is possible regardless of the 2 color printing mode being specified or cancelled Register logos with the same capacity as the logo register number n odd number and n 1 even number If the capacity differs or the logo register number is 255 this command is ignored by the logo print command in the 2 color print mode STAR Line Mode Command Specifications 3 90 Relationships of logo and registered data xn xn1 xn2 x 256 yn yn1 yn2 x 256 xn1 xn2 x 256 x 8 dots Data
156. t Command Cleared when received at the host by clearing bit 1 to 0 automatic status is not targeted to occur Printer status 2 Error Information Fourth Byte Bit Contents Status Model Compatability 0 4 TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP70011 TSP650 7 j Fixed at 0 6 Stopped by high head Not stopped Stopped OK OK OK OK OK OK OK OK temperature 5 Non recoverable Error No Yes OK OK OK OK OK OK OK OK 4 Fixed at 0 3 Auto cutter Error No Yes OK OK OK OK OK NO OK OK 2 Mechanical Error No Yes No No No No No NO NO NO 1 Not Used Fixed at 0 O at 0 Printer status 3 Error Information Fifth Byte Bit Contents Status Model Compatability 0 1 TSP800 TSP700 TsP600 TUP900 TSP1000 TSP828L TSP700Il TSP650 7 Fixed at 0 6 jReceive Buffer Overflow No Yes OK OK OK OK OK OK OK OK Command Error in Page OK No No No No NO NO NO 5 No Yes Mode 4 Fixed at 0 3 Error No Yes No No No OK OK OK OK NO 2 Presenter Paper Jam Error No Yes No No No OK No NO NO NO 1 Head Up Error No Yes No No No No No NO NO NO O 0 Receive Buffer Overflow Overflow errors cleared to 0 when returned to host Command Error in Page Mode Command errors cleared to 0 when returned to host BM Error On mo
157. t Used Fixed at 0 5 Version No OK OK OK OK OK OK OK OK 4 Fixed at 0 3 Version No OK OK OK OK OK OK OK OK 2 Version No OK OK OK OK OK OK OK OK 1 Version No OK OK OK OK OK OK OK OK 0 Fixed at 0 Actual automatic status version and header 2 table Version No n Header 2 00000010B 02 Hex 00000100B 04 Hex 00000110B 06 Hex 00001000B 08 Hex 00001010B 0A Hex 00001100B 0C Hex 00001110B OE Hex 00100000B 20 Hex 00100010B 22 Hex OOo O O B o 30 01101100B 6C Hex 31 01101110B 6E Hex Printer Status Version Model Name Version No Status TSP800 1 02 Hex Up to printer status 5 7 byte loaded 1 02 Hex Up to printer status 6 8 byte loaded Ver 4 0 and later 3 06 Hex Up to printer status 7 9 n byte loaded Ver 4 3 and later TSP700 1 02 Hex Up to printer status 5 7 byte loaded 1 02 Hex Up to printer status 6 8 byte loaded Ver 3 0 andlater 3 06 Hex Up to printer status 7 9 byte loaded Ver 3 2 and later TSP600 1 02 Hex Up to printer status 5 7 byte loaded 1 02 Hex Up to printer status 6 8 byte loaded Ver 3 0 andlater 3 06 Hex Up to printer status 7 9 byte loaded Ver 3 2 and later
158. t density ASCII ESC Hex 1B Decimal 27 Osns15 d n 1E 64 n 30 100 n 48 lt ns57 0 sns 9 65Sns70 0 sns F Initial Value Memory switch setting Function Sets print density This command stops printing to be executed When in two color print mode this can set the print density of red print n ee ea eee AEA SU o TS Single Color Printing Mode Two Color Printing Mode Red Print Density 0 48 Print density 1 3 Print density 1 2 1 49 Print density 1 2 Print density 1 2 2 50 Print density 1 1 Print density 1 0 3 51 Print density 1 0 Print density 1 0 4 52 Print density 0 9 Print density 1 0 5 53 Print density 0 8 i Print density 0 8 6 54 Print density 0 7 Print density 0 8 7 55 Reserved Reserved 8 56 Reserved Reserved 9 57 Reserved Reserved 10 65 Reserved i Reserved 11 66 Reserved Reserved 12 67 Reserved Reserved 13 68 Reserved Reserved 14 69 Reserved Reserved 15 70 Reserved i Reserved STAR Line Mode Command Specifications 3 88 ESC RSrn Name Set printing speed Code ASCII ESC RS r n Hex 1B 1E 72 n Decimal 27 30 114 n Defined Area Oxns3 48sns51 O zns 3 Initial Value Memory switch setting Function Sets print speed This command stops printing to be executed Because two color print mode prints in one speed the speed settings with this comman
159. tarts printing when there is unprinted data in the image buffer It is prohibited to send this command while in the raster mode ESC GSg1mn Name Print starting timer Code ASCII ESC 65 Hex 1B 1D 67 31 Decimal 27 29 103 49 Defined Area m 0 0 lt ns255 Initial Value Depends on the model Function m n m n m n Sets the print starting timer specified at n x 10 msec The print starting timer starts measuring from the point where the print data reception stops and measures up to the set print starting timer When the set print starting timer is reached the printer starts printing if there is unprinted data in the image buffer It is prohibited to send this command while in the raster mode n Operating Mode 0 Print starting timer initial value 1 to 255 Print starting timer n x 10 msec STAR Line Mode Command Specifications 3 115 3 43 Two Dimensional Bar Code QR Code Command Details Note that QR code is a registered trademark of DENSO WEB This command is for printing 2 dimensional bar code QR codes There are four functions of the commands relating to the 2 dimensional bar code QR codes shown below 1 Set bar code type lt ESC gt GS y S 2 Set bar code data lt ESC gt GS y D 3 Set page mode Reserved 4 Print Bar code lt ESC gt GS y P 5 Set bar code type lt ESC gt GS y The details of each func
160. ter Auto Logo Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP650 Auto Logo ESC GS W NO ver 4 0 or NO NO NO NO OK OK ater Command ESC GS C NO Ver 4 0 or NO NO NO NO OK OK 5 later ESC GS 1 NO ver 4 0 or NO NO NO NO OK OK ater ESC GS 2 NO ver 4 0 or NO NO NO NO OK OK ater ESC GS 3 NO ver 4 0 or NO NO NO NO OK OK ater ESC GS 4 NO Ver 4 0 or NO NO NO NO OK OK later ESC GS 5 NO Ver 4 0 or NO NO NO NO OK OK ater ESC 65 6 NO Ver 4 0 or NO NO NO NO OK OK later STAR Line Mode Command Specifications 6 7 PDF417 Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 PDF417 ESC GS x 80 NO NO NO Ver 3 1 or OK OK OK NO later Command ESC GS x S 1 NO NO NO Ver 3 1 or OK OK OK NO S later ESC GS x 82 NO NO NO Ver 3 1 or OK OK OK NO later ESC GS x 83 NO NO NO Ver 3 1 or OK OK OK NO later ESC GS x D NO NO NO Ver 3 1 or OK OK OK NO later ESC GS xP NO NO NO Ver 3 1 or OK OK OK NO later ESC GS xl NO NO NO Ver 3 1 or OK OK OK NO later Print Start Trigger Control Commands Class Commands Model Name TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700ll TSP650 Print Start ESC GS g 0 NO NO NO NO Ve
161. ternal device drive condition STAR Line Mode Command Specifications 3 59 ESC Name Command initialization Code ASCII Hex Decimal Defined Area Initial Value Function ESC 1B 40 27 64 Initializes each command after printing data in the line buffer However printers with memory switch settings are initialized to the memory switch settings DIPSW re reading is not performed ANK characters Chinese character adornment expansion Chinese character mode ANK right space Chinese character left right spaces Character pitch International characters Code page Set slash zero Set specify cancel external character external register character data is retained Page length Current position move to top of page top of line Horizontal tab Vertical tab Line feed amount Set upside down position alignment Left right margins The following shows the specifications that are not initialized by this command Set print density Set print speed Set 2 color print mode Print color in 2 color print mode External device drive condition STAR Line Mode Command Specifications 3 60 ESC GS it m N n1 n2 n3 n4 LF NUL Name Set memory switch Code ASCII ESC GS m N nt n2 n3 n4 LF NUL Hex 1B 1D 23 m N ni n2 n3 n4 OA 00 Decimal 27 29 35 m N ont n2 n3 n4 10 0 Defined Area m 87 84 44 43 45 64 m W T
162. th the following conditions Line thermal printers Interfaces Parallel RS 232C USB Ethernet Wireless LAN lt Applicable Models gt TSP700 TSP600 TSP800 TUP900 TSP1000 TSP828L TSP700II TSP650 STAR Line Mode Command Specifications 3 INTERFACE CONFIGURATION 1 1 RS 232 Serial Interface 1 1 1 Rating Synch method Handshake Baud rates Bit length Parity Parity bit Stop bit Signal polarity 1 1 2 RS 232C Specifications Conforming to RS 232 Start Stop synchronization method DTR mode 4800 9600 19200 38400 bps Set by DIP switches 7 8 bits Set by DIP switches Yes No Set by DIP switches Odd even Set by DIP switches 1 bit Fixed logic 1 3 to 15 V Space logic O 3 to 15 V Mark Signal Array and Functions Signal array and explanations according to interface connector pin Pin Signal Name Signal Remarks No Direction 1 FG Frame ground 2 TXD OUT Transmission data 3 RXD IN Reception data 4 RTS OUT Same as DTR 5 N C Not used 6 DSR IN Not used 7 SG Signal ground 8 19 N C Not used 20 DTR OUT Data terminal ready signal SPACE printer is ready to receive 1 When in DTR mode When printer is ready to receive data SPACE 2 When in XON XOFF mode Always SPACE except in the following conditions 1 Until communication is possible after a reset 2 When test printing 21 24 N C Signal
163. tial Value Function ESC b nt n2 n3 n4 d dk RS 1B 62 ni n2 n4 di dk 1E 27 98 nt n2 n3 n4 di dk 30 Osn1s8 48 lt n1 lt 56 0sn1 lt 8 1sn2s4 49 lt n2 lt 52 1 n2x 4 1 lt n4s255 n3 bar code mode d bar code data k bar code data count definitions differ according to the type of bar code Bar code printing is executed according to the following parameters If n1 n2 n3 and n4 are acquired and detected to be out of the defined area data up to RS is discarded n1 bar code type selection n1 Bar code type 0 48 UPC E 1 49 UPC A 2 50 JAN EAN8 3 51 JAN EAN13 4 52 Code39 5 53 ITF 6 54 Code128 7 55 Code93 8 56 NW 7 n2 Under bar character selection and added line feed selection n2 Under bar character selection and added line feed selection 1 49 No added under bar characters Executes line feed after printing a bar code 2 50 Adds under bar characters Executes line feed after printing a bar code 3 51 No added under bar characters Does not execute line feed after printing a bar code 4 52 Adds under bar characters Does not execute line feed after printing a bar code n3 bar code mode selection n3 Bar code type UPC E UPC A JAN EAN8 Code39 NW 7 ITF WAN EAN13 Code128 Code93 1 49 Minimum module 2 dots Narrow Wide 2 6 dots Narrow Wide 2 5 dots 2 50 Minimum module 3 d
164. tialized by the following command not this command Cancel print data and initialize command CAN STAR Line Mode Command Specifications 3 54 3 3 15 Chinese Characters ESC p Name Specify JIS Chinese character mode Code ASCII ESC p Hex 1B 70 Decimal 27 112 Defined Area Initial Value JIS Chinese character mode cancelled Function Specifies JIS Chinese character mode When in JIS Chinese character mode character codes are all handled as 2 byte Chinese characters First byte upper code second byte lower code This command is ignored for models not equipped with Japanese and Chinese characters and when the specification for the location of use is specified as SBCS single byte countries by the memory switch ESC q Name Cancel JIS Chinese character mode Code ASCII ESC q Hex 1B 71 Decimal 27 113 Defined Area Initial Value JIS Chinese character mode cancelled Function Cancel JIS Chinese character mode STAR Line Mode Command Specifications 3 55 ESC n Name Specify cancel Shift JIS Chinese character mode Code ASCII ESC n Hex 1B 24 n Decimal 27 36 n Defined Area Initial Value Memory switch setting Function Specifies and cancels the shift JIS Chinese character mode When in shift JIS Chinese character mode character codes are all handled as 2 byte Chinese characters First byte upper code second byte lower code This command is ignored for models not e
165. tion are described below 1 Set bar code type These commands set the bar code type Because all initial values are set use these only to make changes See the details for each setting below Cell Alignment Pattern lt ESC gt GS y S 0 Sets the model Currently supported models are model 1 and model 2 Model 2 has a configuration including an alignment bar to improve its support of weight to handle skewing when codes are large lt ESC gt GS y S 1 Sets the error correction level QR codes can be read even if a part of the data is corrupted by using error correction Raising this level increases the size of the bar code because there is an increase in preparatory information lt ESC gt GS y S 2 Specifies the size of the cell One four squared region configuring the QR code The QR code is formed into a square of an equivalent size in the vertical and horizontal directions but the size of the bar code image that is generated depends on the cell size setting See Appendix 7 for details on the actual printed size of the QR code These settings are individual settings Therefore even though there may not be any particular problem in each of them there is the potential for an error to be generated See the descriptions below In such cases the bar code will not be generated and the 4 Print command
166. to Z 3 Binary 0x00 to OxFF 4 Kanji Shift JIS 0x8140 to Ox9FFC 0xE040 to OXEBBF However the lower 8 bits are Ox40 to Ox7E and 0x80 to OxFC The printer receives the data type specified by m and the data of the number of bytes k specified by nL and nH based on the block count specified by a 1 block specified by a indicates m1 n1L n1H d11 e dik data type data count bar code data and by continuously sending these a multiple of times one bar code data can mix data types It is possible to set a maximum of 255 blocks with one command transmission nL and nH specify the number of bytes of the data so when using Kanji calculate that 1 character has 2 bytes If this command is outside of the definition region immediately stop the command analysis process When doing so the bar code data is cleared This command data storage region is shared with the automatic setting command so data is updated each time either command is executed STAR Line Mode Command Specifications 3 121 ESC GSyP Name Print QR code Code ASCII ESC GS y P Hex 1B 1D 79 50 Decimal 27 29 121 80 Defined Area Initial Value Function Prints bar code data When receiving this command if there is unprinted data in the image buffer the printer will print the bar code after printing the unprinted print data A margin of more than 4 cells is required around the QR code The user should
167. us Byte Count OK OK OK OK OK OK OK OK 0 Fixed at 1 Actual transmission byte count and header 1 table Transmission Byte Count n Tzn 2 Header 1 7 00001111B OF Hex 8 00100001B 21 Hex 9 00100011B 23 Hex 10 00100101B 25 Hex 11 00100111B 27 Hex 12 00101001B 29 Hex 13 00101011B 2B Hex 14 00101101B 2D Hex 15 00101111B 2F Hex STAR Line Mode Command Specifications 5 7 2 Header 2 Header 2 is the 1 byte length information transmitted from the second byte of the automatic status The table below shows the composition of the Header 2 Header 2 represents the automatic status version called automatic status version below using bit 1 to bit 3 and bit 5 For reference the table below shows the relationship of actual version bytes and the Header 2 The automatic status version will be used as new information is added to the printer status bit positions that were empty by adding new functions in the future When the host does not control the automatic status version it is acceptable to ignore Header 2 received Header 2 Second Byte Bit Contents Status Model Compatability 0 17 TSP800 TSP700 TSP600 TUP900 TSP1000 TSP828L TSP70011 TSP650 7 ASB Status Expansion No Expansion Expansion 6 No
168. x 1B 6C n Decimal 27 108 n Defined Area Osns255 Initial Value n 0 Function Uses the left edge as a standard to set the left margin as current ANK character pitch x n Character pitch includes the space between characters and expansion settings are enabled The left margin set using this command is unaffected by changing the character pitch This command is ignored if settings are for a printing region less than 36 mm Specification A Setting this command partway will take affect from the next line Specification B This command is enabled only when at the top of the line STAR Line Mode Command Specifications 3 26 ESC Qn Name Set right margin Code ASCII ESC Q n Hex 1B 51 n Decimal 27 81 n Defined Area Osns255 Initial Value Function Uses the left edge as a standard to set the print region as current ANK character pitch x n Character pitch includes the space between characters and expansion settings are enabled The right margin set using this command is unaffected by changing the character pitch This command is ignored if settings are for a printing region less than 36 mm Specification A Setting this command partway will take affect from the next line Specification B This command is enabled only when at the top of the line Printable Region Left Margin Print Region Right Margin Name Move horizontal tab Code ASCII HT Hex 09 Decimal 9 Defined Area Initial Value
169. xecutes in the order received External device 1 and external device 2 cannot be executed simultaneously STAR Line Mode Command Specifications 3 45 Sit C Name External device 2 drive instruction Code ASCII SUB Hex 1A Decimal 26 Defined Area Initial Value Function Drives external device 2 The energizing time and delay time for the external device 2 are fixed at 200 ms each As with other commands it temporarily stores data in the data buffer then executes in the order received External device 1 and external device 2 cannot be executed simultaneously EM Name External device 2 drive instruction Code ASCII EM Hex 19 Decimal 25 Defined Area Initial Value Function Drives external device 2 The energizing time and delay time for the external device 2 are fixed at 200 ms each As with other commands it temporarily stores data in the data buffer then executes in the order received External device 1 and external device 2 cannot be executed simultaneously STAR Line Mode Command Specifications 3 46 ESC GS BEL m t1 t2 Name Ring buzzer Code ASCII ESC GS BEL m t1 0 Hex 1B 1D 07 m t t2 Decimal 27 29 7 m t t2 Defined Area 1sms2 1st1x255 1st2 lt 255 Initial Value Function Rings the buzzer m specifies the drive terminal of the buzzer Buzzer Drive Terminal 1 49 Buzzer Drive Terminal 1 2 50 Buzzer Drive Terminal 2
170. xternal Device Drive ESC BEL n1 n2 Name Set external drive device 1 pulse width Code ASCII ESC BEL n1 n2 Hex 1B 07 n1 n2 Decimal 27 7 n1 n2 Defined Area 1sn1s127 1sn2 lt 127 Initial Value n1 20 Energizing time 200 msec n2 20 Delay time 200 msec Function Sets the energizing and delay times for drive of the external device Energizing time 10 x n1 ms Delay time 10 x n2 ms ON Drive Pulse OFF 10 x n1 msec 10 x n2 msec Energizing Time Delay Time I I l I Printing Printing and Paper Feed Prohibitied STAR Line Mode Command Specifications 3 44 UJ m Name External device 1 drive instruction Code ASCII Hex Decimal Defined Area Initial Value Function BEL 07 7 Executes the external device drive conditions set according to the command to set the external drive device pulse width ESC BEL n1 n2 As with other commands it temporarily stores data in the data buffer then executes in the order received External device 1 and external device 2 cannot be executed simultaneously Name External device 1 drive instruction Code ASCII Hex Decimal Defined Area Initial Value Function FS 1C 28 Executes the external device drive conditions set according to the command to set the external drive device pulse width ESC BEL n1 n2 As with other commands it temporarily stores data in the data buffer then e
171. ytes Indicate the cause to generate a printer status e 00 Reserved 01 to 09 Star real time status request command e 10 to 49 Star status request command e 50 Reserved 51 to 59 Reserved 60 to 99 Reserved AQ to FF Reserved Third and Fourth Bytes When a cause occurs these indicate the command n parameter If there is no n parameter the third and fourth bytes can be omitted Ex When n 0x31 using the ESC SYN 3 n command the third and fourth bytes are 31 STAR Line Mode Command Specifications 5 14 2 Separator character 1 1 Byte Sends 3 Data Type 1byte Indicate printer status data sends B binary type 4 Status Length 2 bytes 2 byte value indicating printer status byte count 5 Printer Status Variable length Status sent by printer Status differs according to the cause See the command causes and automatic status for details on the content of statuses 6 Separator character 2 1 Byte Sends 3 Status Transmission Specification List Status Cause STARASB Length Status Data Status Type Separated Data Status Printer Separated First Second Third Fourth Character Type Length Status Character Bytes Bytes 1 2 Cause n Parameter ASB ASB 0x0000 ES d ES EE Automatic Status ESC ACK SOH ASB 0x0000 Printer Status Request ENQ ASB 0x0008 01 O
Download Pdf Manuals
Related Search
Related Contents
Foglio dati prodotto ER-0133-01 Automated Windshield Wiper Control System Functional Specification For a Better Digital Workspace • 17" TN LCD TFT • Ratio contraste FT 211372 Cleaner hyper desincrustant chloré 5l KIP LP-1140 A1 サイズプリンター KIP LP-1140 Voir le document 1 : cahier des charges et fiches de suivi DJ-PX2 取扱説明書ダウンロード Copyright © All rights reserved.
Failed to retrieve file