Home
Seiko TM-L60 Specifications
Contents
1. HEX BIN 1000 1001 1010 1011 1100 1101 1110 1111 G L 9 00005 28 Da 192 208 224 240 D B 11001 a 5 193 209 225 24 amp E 6 2 0010 30 146 194 210 226 242 a 6 3001 nx Do Gas zu 227 Go o E 6 4 0100 oa Ga 196 212 228 244 5 lool I 3 9 18 133 149 197 213 229 245 H 6 010 Pa T50 198 214 230 246 7 loule Se E MER ee 135 151 199 215 247 y i 8 1000 Gei 182 200 216 248 4 2101 Pet 158 20 217 249 E r 1010 mai tsa Daa 186 202 218 250 B hon ee m v M 139 155 Dil Dei 203 219 251 E 3 156 172 Del 204 220 252 i i Y 157 173 189 205 221 253 lt i Ke 158 174 190 206 222 254 gt 4 D d 159 175 igi 207 223 255 Page 3 PC860 Portuguese HEX 8 9 C I DIETIF HEX BIN 1000 1001 1100 1101 1110 HH L a a 9 0000 Daa 14 208 224 240 A SEH B I 1001 Goal Dal bel iz De 20 225 24i E T T r gt 2 0010 ri39 Del 162 Da Da a 226 242 amp 6 T lt 3 joon p bes 227 243 6 B f 4 j0100 Tas 148 228 244 5001 baal D
2. Function Type Command Name Matrix Category iere MICR commands FSa0 Read check paper echanical extension FSal Load check paper to print echanical extension starting position FS a2 Eject check paper echanical extension FS b Request retransmission of check echanical extension paper reading result FSc MICR mechanism cleaning Mechanical extension Miscellaneous function DLE ENQ Real time request to printer Software extension cormanas ESC Select peripheral device Software extension e ESC Initialize printer Basic single e ESCL Select page mode Software extension e ESC S Select standard mode Software extension e ESC p Generate pulse Hardware extension e FSL Select double density page Software extension mode GS Initialize printer mechanism Mechanical extension e GSA Adjust label print starting position Hardware extension e GSCO Select counter print mode Software extension e GS C 1 Select count mode A Software extension e GSC2 Set counter Software extension e GSC Select count mode B Software extension e GSE Select head control method Hardware extension GSI Transmit printer ID Hardware extension e GSP Set horizontal and vertical Software extension e motion units GSc Print counter Software extension e GSz0 Set on line recovery wait time Software extension The TM L OII L6OIIP supports the commands marked with a in the Supported Command column Rev A Command Reference 3 5 dt Refere
3. 1 42 Command Descriptions Rev A Third byte paper sensor information TM L601II L60IIP Information Manual Bit Off On Hex Decimal Status for ASB Off 00 0 Paper roll near end sensor paper adequate P On 03 3 Paper roll near end sensor paper near end Off 00 0 Paper roll end sensor paper present i On OC 12 Paper roll end sensor paper not present 4 Off 00 0 Not used Fixed to Off 5 6 Undefined 7 Off 00 0 Not used Fixed to Off Fourth byte paper sensor information Bit Off On Hex Decimal Status for ASB 0 3 E Undefined 4 Off 00 0 Not used Fixed to Off 5 6 Undefined 7 Off 00 0 Not used Fixed to Off GSrn Name Transmit status Format ASCII GS r Hex 1D 72 Decimal 29 114 Range n 1 2 49 50 GS r n transmits 1 byte status data specified by n as follows paper sensor status when n 1 or 49 and drawer kick out connector status when n 2 or 50 When the paper roll end sensor detects a paper end the printer goes off line and does not execute this command Therefore bit 2 and 3 do not transmit paper end status PRINT 1 CHR amp HID r CHR 1 Transmits paper sensor status Program Example Rev A Command Descriptions 1 43 Paper sensor status n 1 49 Bit Off On Hex Decimal Status Off 00 0 Paper roll near end se
4. Supported Command Command Nome Function TM TM T Series TM L Series TM U200 TM 300 300M TM TM U375 TM TM U950 TM TM 267 760 T80 T80M T85 L6O L oll B D A B cip 270 TM U375M U925 TM U950M 215S 295 ESC m Partial cut Executes a partial three points cut of the paper with left uncut three points left ee e e uncut ESC o Stamp Executes stamp printing e e ESC p Generqte Sends a specified pulse pulse to a specified 00o o e e e e e connector pin ESC q Paper release Releases the paper e e e ESC r Select print Selects the print eeeo e color Color ESCt Select Selects a page from character the character code e ooo 0 9 e e e e e code table table ESCu Transmit Transmits the status peripheral of a specified ololololo e e e e e device status connector pin ESC v Transmit Transmits the status papersensor of a paper sensor ololololo e e e e e status ESC z Turn parallel Turns parallel printing printing mode on or off for mode on off receipt and journal e for receipt paper and journal ESC Turn upside Turns upside down down printing printing mode on or CRL e e e e e mode on off off FS Select print Selects print mode s mode s for for Kanji characters olololo O o Kanji characters The commands supported by each printer are marked by a or o O The functions of the commands marked by a O may differ depe
5. Undefined Off 00 0 Emphasized mode not selected On 08 8 Emphasized mode selected Off 00 0 Double height mode not selected On 10 16 Double height mode selected Off 00 0 Double width mode not selected i On 20 32 Double width mode selected Undefined Off 00 0 Underline mode nol selected On 80 128 Underline mode selected Note that the program examples throughout this chapter use decimal numbers but binary decimal and hexadecimal numbers all have the same printing results 1 4 Command Descriptions Rev A TM L601II L60IIP Information Manual Print Commands The TM L60II L60IIP printers support the following commands for printing characters and advancing paper Command Name LF Print and line feed CR Print and carriage return ESC J Print and feed paper ESC d Print and feed n lines ESC FF Print data in page mode FF Print and return to standard mode in page mode Print and feed label to print starting position on label GS FF Print and eject label LF Name Print and line feed Format ASCII LF Hex 0A Decimal 10 LF prints the data in the print buffer and feeds one line The amount of paper fed per line is based on the value set using the line spacing command The default setting is 1 6 inch Program Example Print Sample PRINT 1 AAAAA CHRS amp HA AAAAA PRINT 1 BBBBB CHRS amp HA BBBBB Rev A Command Descriptions 1 5 CR Name Print and carri
6. Program Example Print Sample PRINT 1 CHRS amp HIB G CHRS 1 Select AAAAA C Double strike PRINT 1 AAAAA CHRS amp HA BBBBB C Normal PRINT 1 CHRS amp H1B G CHRS 0 lt cancel PRINT 1 BBBBB CHRS amp HA Rev A Command Descriptions 1 19 ESC n Name Turn upside down printing mode on off Format ASCII ESC Hex 1B 7B Decimal 27 123 Range O lt n lt 255 Only the least significant bit of n is enabled ESC n turns upside down printing mode on or off When the LSB least significant bit of m is 1 upside down printing mode is turned on when it is 0 upside down printing mode is turned off The default setting is n 0 When upside down mode is turned on the printer prints 180 rotated characters from right to left The line printing order is not reversed therefore be careful of the order of the data transmitted In standard mode this command is enabled only when input at the beginning of a line In page mode an internal flag is activated and this command is enabled when the printer returns to standard mode Program Example PRINT 1 CHRS amp H1B CHRS 0 lt cancel GOSUB printing PRINT 1 CHRS amp H1B CHR 1 lt select GOSUB printing END printing PRINT 1 ABCDE CHRS amp HA PRINT 1 BCDEF CHRS amp HA RETURN Print Sample Normal printing ABCDE BCDEF c gaY L aang Upside down printing 1 20 Comma
7. Program Example Print Sample AAAAA CCCCC PRINT 1 CHR amp H1B CHR 1 lt Printer enabled PRINT 1 AAAAA PRINT 1 CHRS amp H1B CHRS 0 Printer disabled PRINT 1 BBBBB PRINT 1 CHRS amp H1B CHRS 1 Printer enabled PRINT 1 CCCCC CHRS amp HA 1 60 Command Descriptions Rev A TM L601II L60IIP Information Manual ESCL Name Select page mode Format ASCII ESC L Hex 1B 4C Decimal 27 76 ESCS Name Select standard mode Format ASCII ESC S Hex 1B 53 Decimal 27 83 ESC L switches from standard mode to page mode This command is enabled only when input at the beginning of aline in standard mode it has no effect in page mode The following commands are not effective in page mode ESC V ESC a ESC GS L and GS W If these commands are processed in page mode an internal flag is activated ESC S switches from page mode to standard mode This command is effective only in page mode Data buffered in page mode is cleared This command returns the values set by ESC W to the default values The value set by the ESC T is maintained The printer returns to standard mode with the FF ESC and ESC S This command sets the print position to the beginning of the line Standard mode is selected as the default Program Example Print Sample PRINT 1 CHR amp H1B L select page mode AAAAA PRINT 1 CHRS amp H1
8. jonuvyy uoigvuuofup q1109 1 109 1 A L GO Supported Command Command Name Function TM TM T Series TM L Series TM U200 TM 300 300M TM TM U375 TM TM U950 TM TM 267M ren T80 T80M T85 L60 L OI D A B c p 270 TM U375M U925 TM U950M 2153 295 FSal Load check Loads check paper paper to print to the print starting o starting position position FSa2 Eject check Ejects the check o D poper poper FS b Request Retransmits the retransmission previous check of check paper MICR O O paper character reading reading result results FS c MICR Cleans the MICR mechanism mechanism O O cleoning GS ENQ Transmit real Transmits the status time printer of the printer upon e e status receiving this command GS FF Print and Prints the data in the eject label print buffer and ejects the label GS Select Selects the character size character width and height GS Set absolute Sets the absolute vertical print vertical print starting position in position for page mode characters in page mode GS Define Defines a downloaded downloaded bit bit image image using a e e e specified number of dots The commands supported by each printer are marked by a or a O The functions of the commands marked by a O may differ depending on the printer model SI t Command Name Function Supported Command TM T Series TM
9. n2 NEXT n Q8 WV 3 01 n3 0 E lt n 4 Za E AOA 6 n f S N i n 6 Pt N z 7 8 n3 w s IER Za E a g A n 9 E OA lt m0 Rev A Command Descriptions 1 15 ESCtn Name Select character code table Format ASCII ESC t Hex 1B 74 Decimal 27 116 Range O lt n lt 5 n 255 ESC t n selects a page n from the character code table as follows The alphanumeric characters 20H decimal 32 to 7FH decimal 127 are the same for each page The graphic characters 80H decimal 128 to FFH decimal 255 are different for each page The default setting is page 0 Character code table Page 1 Katakana a e V N e Og Page 5 PC865 Nordic 255 Page 255 Space page Page 2 PC850 Multilin gual Page 3 PC860 Portuguese Page 4 PC863 Canadian French Page 0 PC437 U S A Standard Europe Program Example PRINT 1 CHRS amp H1B t CHRS 0 select page 0 GOSUB printing PRINT 1 CHRS amp H1B t CHRS 1 select page 1 GOSUB printing END printing FOR i amp H20 TO amp H7F PRINT 1 CHR i EXT i PRINT 1 CHR amp HA FOR i amp H80 TO amp HFF PRINT 1 CHR i EXT i PRINT 1 CHRS amp HA RE TURN Print Sample Page 0 B X amp 0123458789 lt gt ABCDEFGHI JKLMNOPQRSTUVWXYZ N J _ abedef ghi jk Imn
10. FOR i 1 TO 180 PRINT 1 CHR i NEXT i PRINT 1 CHR amp HA RETURN bitimage24 PRINT 1 CHR amp H1B CHR m CHR 180 CHRS 0 FOR i 1 TO 180 PRINT 1 CHRS i CHRS i CHRS i NEXT i PRINT 1 CHR amp HA RETURN 1 38 Command Descriptions Rev A TM L 0II L601IP Information Manual GS x y d1 d x x y x 8 Name Define downloaded bit image Format ASCII GS x y dl dxxyx8 Hex 1D 2A x y di d xx yx 8 Decimal 29 42 x y dil d xx yx 8 Range 1 lt x lt 255 1 lt y lt 48 x xy 1536 0xdx255 GS m Name Print downloaded bit image Format ASCII GS m Hex 1D 2F m Decimal 29 47 m Range 0 lt m lt 3 48 lt m lt 51 GS x y d1 d x x y x 8 defines a downloaded bit image using x x 8 dots in the horizontal direction and y x 8 dots in the vertical direction Once a downloaded bit image has been defined it is available until another definition is made ESC or ESC amp is executed the printer is reset or the power is turned off When this command is executed the user defined characters are cleared The default setting is no downloaded bit image defined GS m prints a downloaded bit image using the mode specified by m as follows In standard mode this command is effective only when there is no data in the print buffer This command is ignored if a downloaded bit image has not been defined m Mode Vertical Dot Density Horizontal Dot Density 0 48 Norm
11. TM TM TM U375 TM TM U950 TM TM 2671 ren T80 T80M T85 L60 L60ll B D A p c p 270 TM U375M U925 TM U950M 215S 295 ESC c 3 Select paper Selects paper sensor s to sensor s to output output paper paper end signals H e S O OOO OO H H end signols ESC c 4 Select paper Selects the paper sensor s to sensor s that stops stop printing printing when the e e e e e e e eeeeee e e e e poper runs out ESC c 5 Enable Enables or disables disable panel the panel buttons e e o 000090 0 e e e e e buttons ESC c 6 Enable Enables or disables disable on line the ON LINE switch e e button ESC d Print and Prints the data in the feed nlines print buffer and e 8 o o o 00090 0 e e e e e feeds n lines ESC e Print and Prints the data in the reverse feed print buffer and nlines feeds n lines in the e e e e e reverse qirection ESC f Set cut sheet Sets the time that the wait time printer waits for cut sheet to be inserted and the time from eee e e e e insertion of the sheet to the start of printing ESC i Partial cut Executes a partial one point cut of the paper with e ee ee e e left uncut one point left uncut The commands supported by each printer are marked by a or a O The functions of the commands marked by a O may differ depending on the printer model jonuvyy uoigvuiofup q1109 1 109 1 L cL
12. DDDDD Rev A TM L 0II L601IP Information Manual ESC dn Name Print and feed n lines Format ASCII ESC d Hex 1B 64 Decimal 27 100 Range 0 lt n lt 255 ESC d n prints the data in the print buffer and feeds n lines The amount of paper fed per line is based on the value set using the line spacing command The maximum paper feed amount is 40 inches The default setting of the paper feed amount is 1 6 inch Program Example Print Sample PRINT 1 AAAAA CHRS amp HA AAAAA PRINT 1 BBBBB CHR amp H1B d CHR 6 BBBBB PRINT 1 CCCCC CHRS amp HA ESC d used to print one line and advance the paper by six lines CCCCC Rev A Command Descriptions 1 7 ESC FF Name Format FF Name Format Print data in page mode ASCII Hex Decimal D Print and return to standard mode in page mode ASCII Hex Decimal ESC FF 1B 0C 27 12 FF 0C 12 ESC FF prints all buffered data in the printable area collectively in page mode This command is enabled only in page mode After printing the printer does not clear the buffered data or values set by other commands When the printer returns to standard mode FF or ESC S should be executed FF prints the data in the print buffer collectively and returns to standard mode The buffer data is deleted after being printed This command returns the values set by the ESC W command to the default values The value set by ESC T
13. EAN13 12 lt n lt 13 48 lt q lt 57 68 JAN8 EAN8 7 lt n lt 8 48 lt q lt 57 69 CODE39 1 lt ns 255 48 lt d lt 57 65 lt d lt 90 d 32 36 37 43 45 46 47 70 ITF 1 lt n lt 255 even number 48 lt q lt 57 71 CODABAR 1 lt n lt 255 48 lt d lt 57 65 lt d lt 68 d 36 43 45 46 47 58 72 CODE93 1 lt ns 255 0 lt q lt 127 73 CODE128 2 lt n lt 255 0 lt q lt 127 In GS k m d1 dk NUL d indicates the character code to be printed and k indicates the number of characters to be printed In GS k m n d1 dn n indicates the number of bar code data the printer processes n bytes from the next character data as bar code data d indicates the character code to be printed If n is outside of the specified range the printer stops command processing and processes the following data as normal data Rev A Command Descriptions 1 51 The following apply to GS k m d1 dk NUL and GS k m n d1 dn in standard mode L L LI Ifd is outside of the specified range the printer only feeds paper and processes the following data as normal data If the horizontal size exceeds the printing area the printer only feeds the paper LI These commands feed as much paper as is required to print the bar code regardless of the line spacing specified by other commands LI These commands are enabled only when no data exists in the print buffer When data exists in the print buffer the printer processes the d
14. FEED button or at the time of power on The default setting is 1 0 n 0 When executing the commands the paper is fed to adjust the print starting position of the current label as follows m specifies the adjusting direction When the LSB of m 0 the label position is adjusted in the normal direction When the LSB of m 1 the label position is adjusted in the reverse direction n specifies the adjustment amount The adjustment amount formula is n x vertical motion unit inches The vertical motion units use the vertical value set by the GS P The default setting of the vertical motion unit is 1 360 inch Program Example PRINT 1 CHRS amp H1D A CHR 0 CHR 18 1 62 Command Descriptions Rev A TM L 0II L601IP Information Manual GSc Name Print counter Format ASCII GS c Hex 1D 63 Decimal 29 99 GS c sets the serial counter value in the print buffer and increments or decrements the counter value The counter print mode is set by the GS C 0 command and the counter mode is set by the GS C 1 or GS C command After setting the current counter value in the print buffer as print data a character string the printer counts up or down based on the count mode set The counter value in the print buffer is printed when the printer receives a print command or is in the buffer full state In count up mode if the counter value set by this command goes out of the counter operation range set by the GS C
15. Fu O f gt 4 n SP 15 159 175 191 207 223 239 255 Page 1 Katakana HEX 8 T 9 T A B eD STE HEX BIN 1000 1001 1010 1011 1100 1101 n10 m1 zs SP y x i 128 144 160 176 192 208 224 240 T o 7 A E B II aa fas Ba zz esi 200 zs pa 4 4 Y A Ed 2 0010 M30 p 162 De D 210 226 242 3 001 F J 7 T j A 11 uz fes e Dal zu ol p 4 10100 E 7 x F A H 132 s Dol Dal 196 aia 228 aaa s E 7 S Js pe b E 133 9 besi bal mei s 2 245 6 loo M E Z 3 x 5 134 150 166 182 198 214 230 246 7 lou E 7 E x E y 135 Del Dei Deal Daa sl ei Po r 4 z D F 8 1000 136 52 Del Dal 200 2i6 ai 248 9 Leon 3 Set sn n an mn j1001 ei De ei ies Po oz 233 os I L 25 L 1010 pe 4 D70 ree 202 218 234 250 B 10 E 3 E u ay 139 Del foi Baz 03 oa 235 251 C 1100 r PA 7 7 je H 140 156 172 188 204 220 236 252 x e p nl 205 221 T 7 Ei 206 222 r unl S X Rev A Command Descriptions 1 67 Page 2 PC850 Multilingual s 9 a p c p EFJ
16. PRINT 1 C PRINT 1 PRINT 1 C Program Example S amp H1D h CHRS 50 Set height to 50 HRS amp H1D k CHRS 2 Print bar code PRINT 1 496595707379 CHRS 0 HR amp HA S amp H1D h CHR 100 set height to 100 HRS amp H1D k CHRS 2 Print bar code 496595707379 CHR 0 HR amp HA Print Sample MAINII ur 80 sees lt Height 100 dots Rev A Command Descriptions 1 49 GS wn Name Format Range Set bar code width ASCII GS w Hex 1D 77 Decimal 29 119 2 lt n lt 6 GS w n sets the horizontal size of a bar code n specifies the bar code width as shown below The multilevel bar codes are UPC A UPC E JAN13 JAN8 CODE93 and CODE128 The binary level bar codes are CODE39 ITF and CODABAR The default setting is 11 3 Module Width mm for Bind Level Barcode S Multilevel Bor Code Thin Element Width mm Thick Element Width mm 2 0 282 0 282 0 706 3 0 423 0 423 1 129 4 0 564 0 564 1 411 5 0 706 0 706 1 834 0 847 0 847 2 258 Program Example Print Sample PRINT 1 CHR amp H1D w CHRS 3 Set width size to 3 PRINT 1 CHRS amp H1D k CHRS 2 Print bar code PRINT 41 496595707379 CHRS 0 Wi s S PRINT 1 CHR amp HA PRINT 1 CHRS amp H1D w CHR 4 Set width size to 4
17. x vertical motion unit inches The default settings are as follows XL XH yL yH 0 dxL 0 dxH 2 dyL 126 dyH 6 This command is enabled only in page mode If this command is entered in standard mode an internal flag is activated and the command is enabled when the printer selects page mode The horizontal and vertical motion units use the horizontal and vertical values set by the GS P command The default settings of the horizontal and vertical motion units are 1 180 and 1 360 inches respectively Program Example Print Sample PRINT 1 CHR amp H1B L Select page mode AAA PRINT 1 CHR amp H1B W CHR 0 CHRS 0 CHR 0 CHRS 0 CHRS 180 orani CHRS 0 CHR 132 CHR 3 l PRINT 1 CHRS amp H1B T CHRS 0 Select print direction I I PRINT 1 AAAAA CHR amp HA lt Store characters for printing e Printing PRINT 1 BBBBB CHRS amp HA Store characters for printing I I D ose PRINT 1 CHRS amp H1B T CHRS 2 select print direction PRINT 1 CCCCC CHRS amp HA Store characters for printing I I PRINT 1 DDDDD CHR amp HC lt Batch print and return to standard mode l l qaqaqa g 22202 Rev A Command Descriptions 1 33 ESC T n Name Format Range Set print direction in page mode ASCII ESC T Hex 1B 54 Decimal 27 84 0 lt n lt 3 48 lt n lt 51 ESC T n sets the print direction and s
18. 02 2 Not used Fixed to On Off 00 0 Drawer kick out connector pin 3 is LOW S On 04 0 Drawer kick out connector pin 3 is HIGH Off 00 0 Ordine On 08 8 Off line 4 On 10 16 Not used Fixed to On 5 6 Undefined 7 Off 00 0 Not used Fixed to Off Off line status n 2 Bit Off On Hex Decimal Function 0 Off 00 0 Not used Fixed to Off On 02 2 Not used Fixed to On Off 00 0 Cover is closed On 04 4 Cover is opened Off 00 0 Ee not being fed by the paper feed On 08 8 Paper is being fed by the paper feed button 4 On 10 16 Not used Fixed to On Off 00 0 No paper end stop i On 20 32 Printing stops due to poper end Off 00 0 No error On 40 64 Error occurred 7 Off 00 0 Not used Fixed to Off Rev A Command Descriptions 1 45 Error status n 3 Bit Off On Hex Decimal Function 0 Off 00 0 Not used Fixed to Off On 02 2 Not used Fixed to On Off 00 0 No label detection error On 04 4 Lobel detection error occurred 3 Undefined 4 On 10 16 Not used Fixed to On Off 00 0 Unrecoverable error occurred S On 20 32 Recoveroble error occurred Off 00 0 No automatically recoverable error j On 40 64 Automatically recoverable error occurred 7 Off 00 0 Not used Fixed to Off Paper roll sensor status n 4 Bit Off On Hex Decimal Function 0 Off 00 0 Not
19. 81 97 113 129 145 161 177 193 209 225 241 2 loot 2 B RB b r j amp E T T T gt 02 18 34 50 66 82 98 14 130 146 162 178 194 210 226 242 3 loot oa 3 C S c E amp F jn ES 03 19 35 Ca 67 83 99 5 131 147 Del 179 195 211 227 243 4 lo1oo 9T 4 D T jd t l _ E gt f o4 20 36 52 63 84 100 116 132 148 164 igo 196 212 228 244 5 Jan 96 5 E U e u 4 RE r Jo J Je fat 37 53 69 85 m01 117 133 149 165 181 197 213 222 245 elo amp 6 F V f v amp a a H T p ol 22 38 54 70 86 102 m18 134 150 Deel 182 198 214 230 246 7 oni d 7 G W E w Je o d F t t 07 23 39 55 71 87 Do 119 135 151 167 183 199 215 231 247 8 1000 CAN 8 H X h x y In L jF o o8 24 40 56 72 88 Dog 120 136 152 168 184 200 216 232 248 9 1091 HT 9 I Y i y o j r JH H 0 2 41 57 73 89 105 121 137 153 je 185 201 217 233 249 A lioro tE J Z j z U t r Q I 10 154 170 186 202 218 234 250 B Ion K 1 T 8 4 il 155 171 187 203 219 235 251 c 1100 5 RTI taa ecc 12 156 172 188 204 220 236 282 p ail M IMEEM RE 13 157 173 189 205 221 237 253 zuo N H lt 3 tT I D 14 158 174 190 206 222 238 254
20. Character 20 GS FF Print and eject label Print 1 9 GS Set character size Character 1 22 Gs Set absolute vertical print position in page mode Print position 36 GS K Define downloaded bit image Bit image 1 39 GS Print downloaded bit image Bit image 1 39 GS Start end macro definition Macro function 1 55 GS lt Initialize printer mechanism Miscellaneous function 1 62 GSA Adjust label print starting position Miscellaneous function 1 62 GSB Turn white black reverse printing mode on off Character 1 23 GSCO Select counter print mode Miscellaneous function 1 63 GS C1 Select count mode A Miscellaneous function 1 64 GSC2 Set counter Miscellaneous function 64 GSC Select count mode B Miscellaneous function 1 66 GSH Select printing position of HRI characters Bar code 1 53 GSI Transmit printer ID Miscellaneous function 59 GSL Set left margin Print position 1 32 GSP Set horizontal and vertical motion units Miscellaneous function 1 58 GSW Set printing area width Print position 1 32 GS Set relative vertical print position in page mode Print position 36 GS Execute macro Macro function 55 GS q Enable disable Automatic Status Back ASB Status 1 4 GSb Turn smoothing mode on off Character 1 23 1 2 Command Descriptions Rev A TM L 0II L601IP Information Manual Command Name Function type sate GSc Print counter Miscellaneous function 1 63 GS f Set font for HRI characters Bar code 1 53 GSh Select bar code height Ba
21. Command Descriptions Rev A TM L601II L60IIP Information Manual Bit lImage Commands The TM L60II L60IIP printers support the following bit image commands Command Name ESC Select bit image mode GS Define downloaded bit image GS Print downloaded bit image ESC x m nL nH d1 dk Name Select bit image mode Format ASCII ESC m HL HH d1 dk Hex 1B 2A m nL nH d1 dk Decimal 27 42 m nL nH d1 dk Range m 0 1 32 33 0 lt nt lt 255 0 lt nH lt 3 0 lt d lt 255 ESC m nL nH d1 dk selects a bit image mode using m for the number of dots specified by nL nH x 256 d indicates the bit image data Set a bit to 1 to print a dot This command is used to print a predefined picture or logo The modes selectable by m are as follows Vertical Direction Horizontal Direction m Mode Dot Density Number of Dots Dot Density Amount of Data k 0 8 dot single density 60 DPI 8 90 DPI HL nH x 256 1 8 dot double density 60 DPI 8 180 DPI nL nH x 256 32 24 dot single density 180 DPI 24 90 DPI nL nH x 256 x 3 33 24 dot double density 180 DPI 24 180 DPI nL nH x 256 x 3 Rev A Command Descriptions 1 37 Program Example m 0 GOSUB bitimage8 Print sample Nor rr Rr WE ru ee m 0 m 1 GOSUB bitimage8 Ee m 32 GOSUB bitimage24 w x m 33 GOSUB bitimage24 E GE Kl m 33 bitimage8 PRINT 1 CHR amp H1B CHR m CHR 180 CHRS 0
22. Itoly s A a i Spain Pt Q i N A I S Jopon A i i Norway o A A ce o Denmark II E ce o 1 70 Command Descriptions Rev A TM L 0II L601IP Information Manual Using Character Code Tables The example below uses Page 0 PC437 see page 1 67 to illustrate the use of the character code tables You can find the character A in Page 0 as follows The decimal value for the character A is 65 Follow its column straight up to find the digits Hexadecimal 4 These numbers are the most significant bits of the ASCII code Follow its row to the left to find the digits Hexadecimal 1 These numbers are the least significant bits of the ASCII code The combination of the numbers above is the ASCII code for character A Decimal lt 65 gt 10 Hexadecimal lt 41 gt H Binary lt 01000001 gt B Rev A Command Descriptions 1 71 Chapter 2 Application TM L601I L60IIP Information Manual This chapter presents an example illustrating ESC POS command functions and printing results The example shows how to issue a label containing bar codes Set the paper selection function of the DIP switch to thermal label before turning on the printer Bar Codes Label Issuing Procedure Print message A Commands Used ESC a ESC LF Description Sets the print position to the center with ESC a and prints message A wit
23. Name Select count mode B Format ASCII GS C sa Sb sn sr sc Hex 1D 43 3B sa 3B sb 3B sn 3B sr 3B sc 3B Decimal 29 67 59 sa 59 sb 59 sn 59 sr 59 sc 59 Range 0 lt sa lt 65535 0 lt sb lt 65535 0 lt sn lt 255 0 lt sr lt 255 0 lt sc lt 65535 GS C sa sb sn sr sc selects a count mode for the serial number counter and specifies the value of the counter sa sb sn and sr are all displayed in ASCII characters using the codes for 0 to 9 sa and sb specify the counter range sn indicates the stepping amount for counting up or down sr indicates the repetition number with the counter value fixed sc indicates the counter value The default settings are as follows sa 1 sb 65535 sn 1 sr 1 and sc 1 Count up mode is specified when sa lt sb and sn is not equal to 0 and sr is not equal to 0 When count up mode is specified sa is the minimum counter value and sb is the maximum counter value If counting up reaches a value exceeding the maximum it is resumed with the minimum value If the counter value set by sc is outside the counter operation range the counter value is forced to convert to the minimum value by executing the GS c command Count down mode is specified when sa gt sb and sn is not equal to 0 and sr is not equal to 0 When count down mode is specified sa is the maximum counter value and sb is the minimum counter value If counting down reaches a value less
24. PRINT 1 CHRS amp H1B L select page mode AAAAA a 2 ee PRINT 1 CHRS amp H1B W CHR 0 CHR 0 CHR 0 CHR 0 BBBBB I CHR 240 CHR 0 CHR 224 CHR 1 l POE PRINT 1 CHRS amp H1B T CHRS 0 Select print direction i i nca d PRINT 1 AAAAA CHRS amp HA Store characters for printing Ga by ESC W PRINT 1 BBBBB CHRS amp HA Store characters for printing bum I PRINT CHR amp H1B T CHR 1 Select print direction a 0 _ Idda PRINT CCCCC CHRS amp HA Store characters for printing PRINT DDDDD CHRS amp HA Store characters for printing PRINT CHRS amp H1B T CHRS 2 Select print direction PRINT EEEEE CHRS amp HC Batch print and return to standard mode Rev A Command Descriptions 1 35 GS nL nH Name Format Range GSN nL nH Name Format Range Set absolute vertical print position in page mode ASCII GS nL Hex 1D 24 nL Decimal 29 36 nL 0 lt nt lt 255 0 lt nH lt 255 HH HH HH Set relative vertical print position in page mode ASCII GS N HL Hex 1D 5C HL Decimal 29 92 HL 0 lt nt lt 255 0 lt nH lt 255 HH HH HH GS nt nH sets the absolute vertical print starting position for buffer character data in page mode to nL nH x 256 x vertical or horizontal motion unit inches This command is effective only in page mode GS nt nH moves the v
25. TM TM T Series TM L Series TM U200 TM 300 300M TM TM U375 TM TM U950 TM TM 267M ren T80 T80M T85 L60 L6Oll B D A B c p 270 TM U375M U925 TM U950M 215S 295 GS H Select Selects the printing printing position of HRI position of HRI characters when characters printing a bar code GSI Transmit Transmits a specified printer ID printer ID e e e e e GS L Set left margin Sets the left margin using specified e values in standard mode GSP Set horizontal Sets the horizontal and vertical and vertical motion e e e motion units units GSV Select cut Cuts the specified mode and cut paper paper GS V Select cut Advances the mode and cut specified paper to e paper the cut position and performs the cut GS W Set printing Sets the printing area area width width to a defined e area in standard mode GS Set relative Moves the vertical vertical print print starting position position in in page mode to a page mode specified distance from the current position GS Execute Executes a macro macro The commands supported by each printer are marked by a or a O The functions of the commands marked by a O may differ depending on the printer model LLI Supported Command Command Name Function TM TM T Series TM L Series TM U200 TM 300 300M TM TM U375 TM TM U950 TM TM 267l 760 T80 T80M T85 L60 L oll B D
26. c1c2 x1 d1 d y x x1 xk d1 d x xk Name Define user defined characters Format ASCII ESC amp y cl c2 xl d1 d x x1 xk d1 d x xk Hex 1B 26 y cl c2 xl d1 d x x1 xk d1 d y x xk Decimal 27 38 y cl c2 xl d1 d x x1 xk d1 d y x xk Range y 3 32 lt c1 lt c2 lt 126 0 lt x lt 12 12 x 24 font 0 lt x lt 9 9 x 24 font 0 lt d1 d yx x lt 255 k c2 c1 1 ESC n Name Cancel user defined characters Format ASCII ESC n Hex 1B 3F n Decimal 27 63 H Range 32 lt n lt 126 ESC n selects or cancels the user defined character set When the LSB least significant bit of n is 1 the user defined character set is selected When it is 0 the internal character set is selected this is the default setting ESC amp y c1c2 x1 d1 d y x x1 xk d1 d y x xk defines user defined characters from character code c1 to c2 y and x are the configuration of a user defined character y specifies the number of bytes in the vertical direction x specifies the number of dots in the horizontal direction Character code range from ASCII code 20H 32 to 7EH 126 can be defined by c1 and c2 Data d specifies a bit printed to 1 and not printed to 0 At the default user defined characters are not defined and the internal character set is printed Once the user defined characters have been defined they are available until ESC ESC or GS is executed th
27. macro definition Format ASCII GS Hex 1D 3A Decimal 29 58 GSArtm Name Execute macro Format ASCII GS A r t m Hex 1D 5E r t m Decimal 29 94 r t m Range 0 lt rs 255 0 lt tx 255 Ox m lt 1 GS starts or ends macro definition Macro definition starts when this command is received during normal operation and ends when it is received during macro definition Normal printing is performed while the macro is being defined If the printer receives this command again immediately after previously receiving it the printer remains in the macro undefined state A macro is not defined when the power is turned on The macro definition can contain up to 2048 bytes If the macro definition exceeds this value the excess data is not stored GS r tm executes a macro r times while waiting t x 100 msec for each macro execution When m 0 the macro executes r times continuously at the interval specified by t When m 1 the printer waits for the period specified by t blinks the LED indicator and then waits for the PAPER FEED button to be pressed After this button is pressed the printer executes the macro once The printer repeats this operation r times Rev A Command Descriptions 1 55 If this command is received while a macro is being defined the printer ends macro definition mode and clears the definition If a macro is not defined or if r is 0 nothing is executed When the macro is executed by pressing the PAPER FEED button m 1 paper canno
28. nL nH x 256 x horizontal or vertical motion unit inches from the beginning of the line ESC nL nH moves the print starting position to nL nH x 256 x horizontal or vertical motion unit inches from the current position Use the complement of N for setting N pitch movement to the left N pitch 65536 N where N nL nH x 256 When standard mode is selected the horizontal motion unit set by GS P is used When page mode is selected the horizontal or vertical motion unit set by GS P is used for the print direction set by ESC T Program Example Print Sample PRINT 1 CHRS amp H1D P CHR 180 CHRS 180 90 180 inch PRINT 1 ABCD PRINT 1 CHR amp H1B CHR 90 CHRS 0 ABCD EFGH PRINT 1 EFGH CHRS amp HA ABCD EFGH PRINT 1 ABCD gt l PRINT 1 CHR amp H1B CHRS 90 CHRS 0 90 180 inch PRINT 1 EFGH CHR amp HA Rev A Command Descriptions 1 29 ESCan Name Format Range Select justification ASCII ESC a Hex 1B 61 Decimal 27 97 O lt ns2 48 lt n lt 50 ESC a n aligns all the data in one line to a specified position Left justification is selected when n 0 or 48 centering is selected when n 1 or 49 and right justification is selected when n 2 or 50 The default setting is left justification n 0 This command is enabled only at the beginning of a line in standard mode If this command is entered in
29. than the minimum it is resumed with the minimum value If the counter value set by sc is outside the counter operation range the counter value is forced to convert to the maximum value by executing the GS c command Counting stops when sa sb or sn 0 or sr 0 Program Example Print Sample PRINT 1 CHRS amp H1D C 300 1 1 2 100 0100 PRINT 1 CHRS amp H1D CO CHR 4 CHR 1 0100 PRINT 1 CHRS amp H1D c CHRS amp HA 0099 PRINT 1 CHRS amp H1D c CHRS amp HA 0099 PRINT 1 CHRS amp H1D c CHRS amp HA 0098 PRINT 1 CHR amp H1D c CHRS amp HA PRINT 1 CHR amp H1D c CHRS amp HA 1 66 Command Descriptions Rev A TM L601II L60IIP Information Manual Character Code Tables SP in a table represents space Page 0 PC437 U S A Standard Europe International character set U S A HEX O 1 2 3 4 5 6 7 8 9 A C D E F HEX BIN 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1100 1101 1110 JHH o oo DLE e 0 P 5 P J t jZ a oo De 32 Ta 64 Tal 9e 112 128 Dal Dol 176e 192 208 224 240 1 looot o 1 A Q ja q T B i 17 Tat 49 65
30. used Fixed to Off On 02 2 Not used Fixed to On Off 00 0 Paper roll near end sensor paper adequate 2 On OC 12 Paper roll near end sensor paper near end 4 On 10 16 Not used Fixed to On Off 00 0 Paper roll end sensor paper adequate n On 60 96 Paper roll end sensor paper not present 7 Off 00 0 Not used Fixed to Off 1 46 Command Descriptions Rev A TM L 0II L601IP Information Manual ESC un Name Transmit peripheral device status Format ASCII ESC u n Hex 1B 75 H Decimal 27 117 n Range n 0 48 ESC u n transmits the status of drawer kick out connector pin 3 as 1 byte of data when n 0 or 48 This command allows the host to determine the status of a peripheral device GS r is preferred for checking the status because ESC u is not a recommended command Program Example PRINT 1 CHRS amp HIB p CHRS 0 CHR 25 CHRS 250 lt Generates a pulse PRINT 1 CHRS amp H1B u CHRS 0 Peripheral device status Bit Off On Hex Decimal Status Off 00 0 Drawer kick out connector pin 3 is LOW n On 01 1 Drawer kick out connector pin 3 is HIGH 1 3 Undefined 4 Off 00 0 ot used Fixed to Off 5 6 Undefined 7 Off 00 0 ot used Fixed to Off Rev A Command Descriptions 1 47 ESC v Name Transmit paper sensor status Format ASCII Hex Decimal ESC v 1B 76 27 118 ESC v transmits the status of a p
31. 0 00 00 03 CO 00 00 00 03 CF DATA FF FF FF F3 CF FF FF FF F3 CE FF FF FF F3 CF FF DATA FF FF F3 CF FF FF FF F3 CF FF FF FF F3 CF CO OF 1 40 Command Descriptions Rev A TM L 0II L601IP Information Manual Status Commands The TM L60II L60IP printers support the following status transmission commands These commands can be used to determine the status of the printer paper sensors and peripheral devices connected to the printer Command Name GSa Enable disable Automatic Status Back ASB GSr Transmit status DLE EOT Real time status transmission ESCu Transmit peripheral device status ESC v Transmit paper sensor status GSan Name Enable disable Automatic Status Back ASB Format ASCII GS a n Hex 1D 61 n Decimal 29 97 n Range 0 lt n lt 255 GS a n selects a status for ASB transmission ASB is enabled if any status item is selected The printer automatically transmits a 4 byte status message whenever the status changes Multiple status items can be selected When n 0 ASB is disabled The default n 0 or n 2 depends on the DIP switch settings If ASB is enabled when the printer is disabled by the ESC command the printer transmits a 4 byte status message whenever the status changes The status items are selected using n as follows Bit Off On Hex Decimal Status for ASB Off 00 0 Drawer kick out connector pin 3 status disabled 0 On 01 1 Drawer kick out con
32. 03 F3 CF E3 FE 03 F3 CF DATA FF FF F3 CF FF FF FF F3 CF FF FF FF F3 CF C0 FC DATA Cl FF 03 F3 CF C0 FF 83 F3 CF C0 7F C7 F3 CF CO DATA 03 F3 CF CO FC 03 F3 CF CO FC 03 F3 CF CO FC 03 DATA 3F FF F3 CF CO 1F FF F3 CF CO OF FF E3 CF CO 07 DATA F3 CF CO FC 03 F3 CF CO FC 03 F3 CF CO FC 03 F3 DATA FF E3 CF C0 03 FF C3 CO 00 00 FF C3 CO 00 00 00 DATA CF CO FC 03 F3 CF CO FC 03 F3 CF C0 00 03 F3 CO DATA 03 C0 00 00 00 03 FF FF FF FF FF FF FF FF FF FF DATA 00 00 00 03 CO FF 00 03 F3 C3 FF CO 03 F3 C7 FF DATA E0 03 F3 C7 FF F0 03 F3 CF FF F8 03 F3 CF FF FC DATA 03 F3 CF E3 FE 03 F3 CF C1 FF 03 F3 CF CO FF 83 DATA F3 CF CO 7F C7 F3 CF CO 3F FF F3 CF CO IF PE P Print Sample DATA CF CO 0F FF E3 CF C0 07 FF E3 CF CO 03 FF C3 CO DATA 00 00 FF 03 C0 00 00 00 03 CO 3F FF FC 03 CO FF DATA FF FF 03 C3 FF FF FF C3 C7 FF FF FF E3 C7 FF FF ESC 0 Gs 0 DATA FF E3 CF FF FF FF F3 CF FO 00 OF F3 CF CO 00 03 DATA F3 CF C0 00 03 F3 CF CO 00 03 F3 CF CO 00 03 F3 ESC PO SUA DATA CF CO 00 03 F3 CF C0 00 03 F3 CF C0 00 03 F3 CF DATA CO 00 03 F3 CF CO 00 03 F3 CO 00 00 00 03 CO 00 I di DATA 00 00 73 C0 00 00 03 C3 CO 00 00 1E 03 CO 00 00 DATA 70 03 C0 00 03 C0 03 C0 00 1E 00 03 CO 00 78 00 DATA 03 C0 03 C0 00 03 CO 0E 00 00 03 CO 78 00 00 03 DOS DATA C3 C0 00 00 03 CE 0
33. 10r GS C commands it is forced to convert to the minimum value In count down mode if the counter value set by this command goes out of the counter operation range set by the GS C 10r GS C commands it is forced to convert to the maximum value Program Example Print Sample PRINT 1 CHRS amp H1D CO CHR 3 CHRS 0 PRINT 1 AAAAA CHRS amp HI1D c CHR amp HA AAAAA 1 PRINT 1 BBBBB CHR amp HlD c CHR amp HA BBBBB 2 GSCOnm Name Select counter print mode Format ASCII GS C 0 n m Hex 1D 43 30 n m Decimal 29 67 48 n m Range 0 lt n lt 5 0 lt m lt 2 48 lt m lt 50 GS C 0 n m selects a print mode for the serial number counter n specifies the number of digits to be printed When 7 0 the printer prints the actual digits indicated by the number value When n 1 to 5 this command sets the number of digits to be printed If n or m is out of the defined range the previously set print mode is not changed The default setting is 1 0 m 0 Rev A Command Descriptions 1 63 m specifies the printing position within the entire range of printed digits as follows m Printing Position Processing of Digits Less Than Those Specified 0 48 Align right Adds spaces to the left 1 49 Align right Adds 0 to the left 2 50 Align left Adds spaces to the right Program Example PRINT 1 CHR amp H1D CO CHR 3 CHRS 0 PRINT 1 AAAAA CHRS am
34. 375 TM TM U950 TM TM 267M ren T80 T80M T85 L60 L60ll B D A B c p 270 TM U375M U925 TM U950M 215S 295 ESC R Select an Selects a country s international character set 0000 o e e e e e character set ESC S Select Switches from page standard mode to standard mode mode ESCT Select print Selects the print direction in direction and starting e e page mode position in page mode ESC U Turn Turns unidirectional unidirectional printing mode on or printing off eeeee e e e e mode on off ESC V Turn 90 Turns 90 clockwise clockwise rotation mode on or e e rotation mode off on off ESCW Set printing Sets the position and area in page the size of the e e mode printing area in page mode ESC Set relative Sets the print starting print position position based on e e e the current position ESC q Select Aligns oll the doto in justification one line to a e e e e specified position ESC c 0 Select print Selects paper type s paper s for printing eee e e e ESC c 1 Select paper Selects paper type s type s for for use with various command command settings e e e e settings The commands supported by each printer are marked by a or o O The functions of the commands marked by a O may differ depending on the printer model Lt Command Name Function Supported Command TM T Series TM L Series TM U200 TM 300 300M
35. A B c p 270 TM U375M U925 TM U950M 215S 295 GSa Enable Selects a status for disable ASB transmission Automatic e eee e e e e Status Back ASB GSb Turn Selects or cancels smoothing smoothing e e mode on off GS c Print counter Selects a serial counter value in the print buffer and increments or e e decrements the counter value GS f Select font Selects a font for the for HRI HRI characters used characters when printing a bar e e e e e e code GSh Set bar code Selects the height of height a bar code e e e e e e GSk Print bar Selects a bar code code system and prints e o o the bar code GS k Print bar Selects a bar code code system and prints e e the bar code GSr Transmit status Transmits a specified e e e e e e e status GSw Set bar code Selects the width horizontal size of the e o bar code GS z 0 Set on line Sets the on line recovery wait recovery wait time time The commands supported by each printer are marked by a or o O The functions of the commands marked by a O may differ depending on the printer model jonuvyy uoigvuiofup q1109 1 109 1 IW L SEIKO EPSON CORPORATION SYSTEM DEVICE DIVISION 2070 Kotobuki Koaka Matsumoto shi Nagano ken 399 Japan
36. B W CHRS 0 CHR 0 CHR 0 BBBBB CHR 0 CHR 60 CHR 0 CHR 180 CHRS 0 CCCCC PRINT 1 CHRS amp HIB T CHR 0 Select print direction PRINT 1 AAAAA CHRS amp HA Store characters for printing PRINT 1 BBBBB CHRS amp HA Store characters for printing PRINT 1 CCCCC PRINT 1 CHR amp H1B CHR amp HC Batch print PRINT 1 CHR amp HIB S Select standard mode Rev A Command Descriptions 1 61 GS lt Name Initialize printer mechanism Format ASCII GS Hex 1D 3C Decimal 29 60 GS feeds label paper to the printing start position This command is only effective when thermal label is selected with the paper selection DIP switch and does not initialize the values set by other commands Program Example PRINT 1 CHR amp H1D lt GSAmn Name Adjust print starting position Format ASCII GS A m n Hex 1D 41 m n Decimal 29 65 m n Range 0 m lt 255 Only the least significant bit of m is enabled 0 lt n lt 255 GS A m n adjusts the label print starting position in a selected direction and by a specified amount from the default position This command is effective only when Thermal Label is selected with the paper selection DIP switch This command will be ignored unless it is received just after feeding a label to the print starting position using the FF GS FF or GS lt commands or by pressing the PAPER
37. C 50 GGHH feries Mte PRINT 41 CHR amp H1B CHRS 24 DD TE Pet sae REDE with underline PRINT 41 CHRS amp H1B CHRS 32 EE PRINT 41 CHR amp H1B CHRS 40 FF PRINT 1 CHRS amp H1B CHRS 48 GG PRINT 1 CHR amp H1B CHRS 56 HH CHRS amp HA AA Normal PRINT 41 CHR amp H1B CHR 129 AA BB Emphasized PRINT 41 CHR amp H1B CHRS 137 BB CC Double height PRINT 1 CHRS amp H1B CHRS 145 CC DD Emphasized Double height PRINT 1 CHR amp H1B CHR 153 DD EE Double width PRINT 1 CHRS amp H1B CHRS 161 EE FF Emphasized Double width PRINT 1 CHRS amp H1B CHRS 169 FF GG Double height Double width PRINT 1 CHRS 1B CHRS 177 GG HH Emphasized Double height Double width PRINT 41 CHRS amp H1B CHRS 185 HH CHRS amp HA Rev A Command Descriptions 1 17 ESC n Name Format Range Turn underline mode on off ASCII ESC _ Hex 1B 2D Decimal 27 45 O lt ns2 48 lt n lt 50 ESC n turns underline mode on or off When n 1 or 49 underline mode one dot width is turned on when n 2 or 50 underline mode two dot width is turned on and when n 0 or 48 underline mode is turned off The underline mode is on 90 clockwise rotated characters and white black inverted characters cannot be underlined The default setting is n 0 Program Example Pr
38. H H H PRINT 1 CHR amp HA H ia GOSUB ht T t T PRINT 1 CHRS amp H1B D CHR 10 CHR 20 Tab Tab Tab PRINT 1 CHRS 30 CHRS 0 SE Position pa qat GOSUB ht END Default gt 8 16 24 32 hts FOR i l TO 4 PRINT 1 CHR amp H9 H EXT i PRINT 1 CHRS amp HA RE TURN Rev A Command Descriptions 1 31 GSLnLnH Name Set left margin Format ASCII GS L Hex 1D 4C Decimal 29 76 Range 0 lt nt lt 255 0 lt nH lt 255 GS W nLnH Name Set printing area width Format ASCII GS W Hex 1D 57 Decimal 29 87 Range 0 lt nL lt 255 0 lt nH lt 255 GS L nL nH sets the left margin to nL nH x 256 x horizontal motion unit inches from the nL nL nL nL nL nL nH nH nH nH nH nH beginning of a line The default setting is nL 0 nH 0 This command is enabled only at the beginning of a line in standard mode If this command is entered in page mode an internal flag is activated and the command is enabled when the printer returns to standard mode GS W nL nH sets the printing area width to nL nH x 256 x horizontal motion unit inches from the left margin The default setting is nL 0 nH 2 This command is enabled only at the beginning of a line in standard mode If this command is entered in page mode an internal flag is activated and the command is enabled when the printer returns to standard mode If the above commands set the printing area width
39. HR 60 CHRS 0 CH Program CHR amp H1D P CH CHR amp H1B L CHRS amp H1B W CH CHRS amp H1B T CH CHR amp H18 r cance Example R 180 CHRS 180 Select page mode R 0 CHR 0 CHRS 0 HRS 44 CHRS 1 R 0 Select print direction A NEXT i 60 CHR 0 CHR 90 R 120 CHRS 0 l print data CHRS amp HC Batch print and return standard mode Print Sample AAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAA AAAAA AAAAAAAAAA AAAAA AAAAAAAAAA AAAAA AAAAAAAAAA AAAAA AAAAAAAAAA AAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAA 1 24 Command Descriptions Rev A TM L601II L60IIP Information Manual Panel Button Command The TM L60II L60IIP printers support the following command for enabling and disabling the panel button PAPER FEED Command Name ESC c5 Enable disable panel buttons ESCc5n Name Enable disable panel buttons Format ASCII ESC c 5 n Hex 1B 63 35 n Decimal 27 99 53 n Range 0 lt n lt 255 Only the least significant bit of n is enabled ESC c 5 n enables or disables the PAPER FEED button When the LSB least significant bit of nis 1 this button is disabled when it is 0 this button is enabled To prevent problems caused by accidentally pressing the PAPER FEED button use this command to disable the button When the printer cover is open the b
40. L Series TM U200 TM 300 300M TM TM TM U375 TM TM U950 TM TM 2671 ren T80 T80M T85 L60 L60ll B D A B c p 270 TM U375M U925 TM U950M 215S 295 GS Print Prints a downloaded downloaded bit image using a e e eo e e e bit image specified mode GS Start end Starts or ends a macro macro definition e o o definition GS Initialize Feeds a label to the printer print starting position e e mechanism GSA Adjust label Sets the label print starting position relative to e posilion the default position GSB Turn white Turns white black black reverse reverse printing e e printing mode on or off mode on off GSCO Set counter Selects a print mode e e print mode for the serial counter GSC 1 Select count Selects a count mode A mode for the serial e counter GSC2 Set counter Sets the counter e e value GSC Select count Selects a count mode B mode for the serial counter and e e specifies the counter value GSE Select head Selects the print control speed and head eeee e e e method energizing time The commands supported by each printer are marked by a 6 or a O The functions of the commands marked by a O may differ depending on the printer model jonuvyy uoyvwaofu q1109 1 109 1 1 dt Supported Command Command Name Function
41. SC z Turn parallel printing mode on Mechanical extension off for receipt and journal The TM L60II L60IIP supports the commands marked with a in the Supported Command column 3 2 Command Reference Rev A TM L 0II L601IP Information Manual x Supported Function T mman Nam Matri t r unction Type Command ame atrix Category Command Character commands ESC Turn upside down printing mode Basic single e continued on off GS Select character size Software extension e GSB Turn white black reverse printing Software extension e mode on off GSb Turn smoothing mode on off Software extension e Printing paper ESC c 0 Select paper type s for printing Basic multiple commands ESCc 1 Select paper type s for Mechanical extension command settings ESC f Set cut sheet wait time echanical extension Paper sensor ESC c 3 Select paper sensor s to output Mechanical extension e commands poper end signals ESC c 4 Select paper sensor s to stop echanical extension e printing Print position HT Horizontal tab Software extension e commands RS Journal tab Mechanical extension ESC Set absolute print position Software extension ESCD Set horizontal tab positions Software extension ESCT Select print direction in page Software extension e mode ESCW Set printing area in page mode Software extension e ESC Set relative print position Soft
42. TM LGOII LGOIIP Using this online information guide The words on the left side of this screen are bookmarks for all the topics in this guide Use the scroll bar next to the bookmarks to find any topic you want Click a bookmark to instantly jump to its topic If you wish you can increase the size of the bookmark area by dragging the dividing bar to the right Use the zoom tools to magnity or reduce the page display Click the Find button if you want to search for a particular term However using the bookmarks is usually quicker Complete online documentation for Acrobat Reader is located in the Help directory for Acrobat Reader Return to main menu EPSON Information Manual Guide to TM L 0lI L 0IIP SEIKO EPSON CORPORATION The programming examples in this manual are provided for the sole purpose of illustrating the functions of the products Seiko Epson Corporation makes no warranty either expressed or implied as to their reliability and appropriateness for other uses All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise without the prior written permission of Seiko Epson Corporation No patent liability is assumed with respect to the use of the information contained herein While every precaution has been taken in the preparation of this book Seiko Epson Corpor
43. acter type selection commands Extension commands are defined as control codes for functions specific to individual printers These commands are further divided into mechanical extension commands that relate to additional mechanical functions such as stamp and auto cutter units hardware extension commands that relate to additional hardware functions such as panel button control and software extension commands that relate to additional software functions such as user defined and Bar code control The commands can also be classified by function which is how they are presented in Chapter 1 and the Function Type table in this chapter The function types such as Print Commands and Line Spacing Commands are briefly explained in the corresponding sections of Chapter 1 The illustration below shows the ESC POS command overview diagram for printers r Multiple sheet Multiple sheet commands Sheet Single sheet Single sheet commands Mechanical extension commands Hardware extension commands Software extension commands Basic commands Extension commands Grade Rev A Command Reference 3 1 Function Type Function Type Command Name Matrix Category SC Print commands LF Print and line feed Basic single o FF 1 Print and eject cut sheet in echanical exte
44. age return Format ASCII CR Hex 0D Decimal 13 When auto line feed is enabled the CR command functions in the same way as the LF command When auto line feed is disabled CR is ignored The DIP switch setting enables or disables auto line feed When using the serial interface CR is ignored Program Example PRINT 1 AAAAA CHRS amp HD PRINT 1 BBBBB CHRS amp HA ESCJn Name Print and feed paper Format ASCII ESC J Hex 1B 4A Decimal 27 74 Range 0 lt n lt 255 Print Sample AAAAA Auto line feed enabled BBBBB AAAAA BBBBB lt auto line feed disabled ESC J n prints the data in the print buffer and feeds the paper n x vertical or horizontal motion unit inches This command is used to temporarily feed a specific length without changing the line spacing set by other commands The maximum paper feed amount is 40 inches When standard mode is selected the vertical motion unit set by GS P is used When page mode is selected the vertical or horizontal motion unit set by GS P is used for the print direction set by ESC T Program Example PRINT 1 CHRS amp H1D P CHR 180 CHR 180 PRINT 1 AAAAA CHRS amp HA PRINT 1 BBBBB CHRS amp HlB J CHR 100 PRINT 1 CCCCC CHRS amp HA PRINT 1 DDDDD CHRS amp HA 1 6 Command Descriptions Print Sample AAAAA BBBBB ESC J used to print one line and then advance the paper by 100 180 inch CCCCC
45. al 180 DPI 180 DPI 1 49 Double width 180 DPI 90 DPI 2 50 Double height 90 DPI 180 DPI 3 51 Quadruple 90 DPI 90 DPI Rev A Command Descriptions 1 39 NEXT x 16 PRINT 1 CHR amp H1D CHRS x CHR y FOR i l TO x y 8 betine Program Example y 5 downloaded READ a d VAL amp H a bit image PRINT 1 CHR d i FOR m 0 TO 3 PRINT 1 CHR amp H1D CHRS m Print downloaded PRINT 1 CHRS amp HA bit image DATA DATA DATA DATA DATA DATA DATA DATA Program Example continued C0 03 CF CO OF CO 03 CF CO OF CO 03 CF CO OF CO 03 C0 OF CO 03 CF EO IF CO 03 CF FF FF CO 03 CR FE PR OO 03 C7 FF FF 80 03 C7 FF FF 80 03 C1 FF FF 00 03 C0 3F F0 00 03 C0 00 00 00 03 C0 OF FF F0 03 CO FF FF FF 03 C3 FF FF FF C3 C7 FF FF FF E3 C7 FF FF FF E3 CF FF FF FF F3 CF F3 CF C0 00 03 F3 CF C0 00 03 F3 CF CO CF C0 00 03 F3 CF C0 00 03 F3 CF CO 00 FO 00 OF 00 03 F3 03 F3 CF qe DATA CO 00 03 F3 CF F0 00 OF F3 CF FF FF FF F3 C7 FF END DATA FF FF E3 C7 FF FF FF E3 C3 FF FF FF C3 C0 FF FF DATA FF 03 CO OF FF FO 03 CO 00 00 00 03 CO FF 00 03 DATA FF FF FF FE PR PS PS PS PR PR CH 00 00 00 03 CO DATA F3 C3 FF C0 03 F3 C7 FF E0 03 F3 C7 FF F0 03 F3 DATA 00 00 00 03 CF FF FF FF F3 CF FF FF FF F3 CF FF DATA CF FF F8 03 F3 CF FF FC
46. al 29 0 n lt 255 21 33 GS n selects the character height using bits 0 to 3 and selects the character width using bits 4 to 7 Character width selection is as follows Hex Decimal Width 00 0 1 normal 10 16 2 double width 20 32 3 30 48 4 40 64 5 50 80 6 60 96 7 70 112 8 Character height selection is as follows Hex Decimal Width 00 0 1 normal 01 2 double width 02 2 3 03 3 4 04 4 5 05 5 6 06 6 7 07 7 8 PRINT 1 PRINT 1 PRINT 1 PRINT 1 Program Example CHRS amp H1D CHRS 68 BBBBB CHRS amp HA CHRS amp H1D CHRS 0 AAAAA CHRS amp HA Print Sample B B B B B Select tive times normal font height and five times normal font width AAAAA lt Normal 1 22 Command Descriptions Rev A GS Bn Name Format Range TM L 0II L601IP Information Manual Turn white black reverse printing mode on off ASCII Hex Decimal 0 n 255 GS B n 1D 42 n 29 66 n Only the least significant bit of n is enabled GS B n turns the white black reverse printing mode on or off When the LSB least significant bit of n is 1 white black reverse printing mode is turned on When it is 0 white black reverse printing mode is turned off The default setting is 1 0 In white black reverse printing mode characters are printed in white on a black background Prog
47. aper near end condition is detected during printing the PAPER OUT LED comes on but the printer does not stop printing and does not go off line The paper sensor s used to stop printing are selected by using n as follows Bit Off On Hex Decimal Function Off 00 0 Paper roll near end sensor disabled n On 01 1 Paper roll near end sensor enabled Off 00 0 Paper roll near end sensor disabled On 02 2 Paper roll near end sensor enabled 2 7 x Undefined Program Example PRINT 1 CHR amp H1B c4 CHRS 1 Paper roll near end sensor enabled 1 26 Command Descriptions Rev A TM L 0II L601IP Information Manual ESCc3n Name Select paper sensor s to output paper end signals Format ASCII ESC c 3 n Hex 1B 63 33 n Decimal 27 99 51 n Range O0 lt n lt 255 ESC c 3 n selects the paper sensor that outputs a paper end signal to the parallel interface when a paper end is detected The default setting is when all sensors are enabled n 15 It is possible to select multiple sensors to output signals Then if any of the sensors detects a paper end the paper end signal is output This command is available only with a parallel interface and is ignored with a serial interface The paper sensor s used to output paper end signals are selected by using n as follows Bit Off On Hex Decimal Function Off 00 0 Paper roll near end sensor disable
48. aper sensor as 1 byte of data When the paper roll end sensor detects a paper end the printer goes off line and does not execute this command Therefore bit 2 and 3 do not transmit paper end status GS r is preferred for checking the status because ESC v is not a recommended command Program Example PRINT 1 CHR amp H1B v Paper sensor status Bit OfffOn Hex Decimal Off 00 0 Status Paper roll near end sensor paper adequate 0 1 On 03 3 Paper roll near end sensor paper near end Off 00 0 2 3 Paper roll end sensor paper present On 0C 12 Paper roll end sensor paper not present Not used Fixed to Off 5 6 Undefined Not used Fixed to Off 1 48 Command Descriptions Rev A Bar Code Commands TM L601I L60IIP Information Manual The TM L60II L60IIP printers support the following bar code commands Command Name GSh Set bar code height GSw Set bar code width GSk Print bar code GSH Select printing position of Human Readable Interpretation HRI characters GSf Select font for HRI characters GS hn Name Set bar code height Format ASCI GS h n Hex 1D 68 n Decimal 29 104 n Range 1 lt ns255 GS hn sets the height of the bar code n specifies the number of dots in the vertical direction One dot corresponds to 1 180 inch The default setting is n 162 PRINT 1 CHR PRINT 1 C PRINT 1 C PRINT 1 CHR
49. ata following m as normal data After printing a bar code these commands set the print position to the beginning of the line LI These commands are not affected by print modes emphasized double strike underline or character size etc except for upside down mode The following apply to GS k m d1 dk NUL and GS k m n d1 dn in page mode LI These commands develop bar code data in the print buffer but do not print it After processing bar code data these commands move the print position to the right side dot of the bar code LI Ifdis out of the specified range the printer stops command processing and processes the following data as normal data In this case the data buffer position does not change PRINT PRINT PRINT PRINT PRINT 1 1 1 1 1 Program Example CHRS amp H1D k CHR 2 Print bar code 496595707379 CHRS 0 CHR amp HA CHRS amp H1D k CHRS 67 CHRS 12 496595707379 Print bar code Print Sample 1 52 Command Descriptions Rev A TM L601II L60IIP Information Manual GSHn Name Select printing position of HRI characters Format ASCII GS H n Hex 1D 48 H Decimal 29 72 n Range 0 lt n lt 3 48 lt n lt 51 GS fn Name Select font for HRI characters Format ASCII GS f H Hex 1D 66 H Decimal 29 102 H Range O lt n lt l 48 n lt 49 GS H nselects the printing position of HRI characters when printing a bar code n s
50. ation assumes no responsibility for errors or omissions Neither is any liability assumed for damages resulting from the use of the information contained herein Neither Seiko Epson Corporation nor its affiliates shall be liable to the purchaser of this product or third parties for damages losses costs or expenses incurred by purchaser or third parties as a result of accident misuse or abuse of this product or unauthorized modifications repairs or alterations to this product or excluding the U S failure to strictly comply with Seiko Epson Corporation s operating and maintenance instructions Seiko Epson Corporation shall not be liable against any damages or problems arising from the use of any options or any consumable products other than those designated as Original Epson Products or Epson Approved Products by Seiko Epson Corporation EPSON is a registered trademark of Seiko Epson Corporation ESC POS is a trademark of Seiko Epson Corporation NOTICE The contents of this manual are subject to change without notice Copyright 1996 by Seiko Epson Corporation Nagano Japan ESC POS Information Manual Guide to TM L60II L60IIP 9604 00 SEIKO EPSON CORPORATION SYSTEM DEVICE DIVISION 2070 Kotobuki Koaka Matsumoto shi Nagano ken 399 Japan Introduction ESC POS The market for store automation equipment is changing rapidly with the widespread introduction of POS point of sale terminals These terminals are now app
51. cel print data in page mode Command Descriptions 1 11 ESC SP n Name Format Range Set right side character spacing ASCII ESC SP n Hex 1B 20 n Decimal 27 32 n O lt n lt 255 ESC SP n sets the right side character spacing in n x vertical or horizontal motion unit inches It is used to change the spacing between characters The default setting is 1 0 When standard mode is selected the horizontal motion unit set by GS P is used When page mode is selected the vertical or horizontal motion unit set by GS P is used for the print direction set by ESC T PR PR PR PR PR PR PR NT NT NT NT NT NT NT dE de dE Hb b b od Program Example CHR amp H1D P CHR 180 CHRS 180 CHR amp H1B CHRS 0 Character spacing set to 0 AAAAA CHRS amp HA CHR amp H1B CHRS 6 Character spacing set to 6 BBBBB CHRS amp HA CHRS amp H1B CHRS 12 _ Character spacing set to 12 CCCCC CHRS amp HA Print Sample AAAAA 0 inch right side character spacing BBBBB 6 180 inch right side character spacing CCCCC lt 12 180 inch right side character spacing 1 12 Command Descriptions Rev A TM L601II L60IIP Information Manual ESC o n Name Select cancel user defined character set Format ASCII ESC 96 n Hex 1B 25 n Decimal 27 37 n Range 0 lt n lt 255 Only the least significant bit of n is enabled ESC amp y
52. cing 1 10 ESC Select peripheral device Miscellaneous function 1 60 ESC Cancel user defined characters Character 1 13 ESC nitialize printer Miscellaneous function 1 57 ESC D Set horizontal tab positions Print position 1 31 ESC E Turn emphasized mode on off Character 1 18 ESC G Turn double strike mode on off Character 1 19 ESC J Print and feed paper Print 1 6 ESCL Select page mode Miscellaneous function 1 61 ESC R Select an international character set Character 1 15 ESC S Select standard mode Miscellaneous function 1 61 ESC T Select print direction in page mode Print position 1 34 Rev A Command Descriptions 1 1 Command Name Function type s ESC V Turn 90 clockwise rotation mode on off Character 1 21 ESC W Set printing area in page mode Print position 1 33 ESC Set relative print position Print position 29 ESC a Select justification Print position 1 30 ESC c 3 aed paper sensor s to output paper end Paper sensor 1 27 ESC c 4 Select poper sensor s to stop printing Poper sensor 26 ESC c 5 Enable disable panel buttons Panel button 25 ESC d Print and feed n lines Print 1 7 ESC p Generate pulse Miscellaneous function 1 60 ESC t Select character code table Character 16 ESC u Transmit peripheral device status Status 1 47 ESC v Transmit paper sensor status Status 1 48 ESC Turn upside down printing mode on off
53. command is maintained This command is enabled only in page mode Program Example Print Sample PRINT 1 CHRS amp H1B L select page mode AAAAA PRINT 1 CHR amp H1B W CHR 0 CHR 0 CHR 0 BBBBB CHRS 0 CHRS 120 CHRS 0 CHRS 240 CHRS 0 PRINT 1 CHR amp H1B T CHRS 0 PRINT 1 AAAAA CHRS amp HA AAAAA PRINT 1 BBBBB CHRS amp HA BBBBB PRINT 1 CHRS amp H1B CHRS amp HC CCCCC PRINT 1 CCCCC CHRS amp HC 1 8 Command Descriptions Rev A TM L60II L60IIP Information Manual FF Name Print and feed label to print starting position on label Format ASCII FF Hex 0C Decimal 12 GS FF Name Print and eject label Format ASCII GS FF Hex 1D 0C Decimal 29 12 FF prints the data and feeds the next label to the print starting position when thermal label is selected in standard mode GS FF prints the data in the print buffer and ejects the label This command is effective only when thermal label is selected with the paper selection DIP switch When the printer label is advanced so that the label can be peeled off the PAPER LED blinks as it waits for the PAPER FEED switch to be pressed When the PAPER FEED switch is pressed the next label is fed to the print start position After advancing the label the line moves to the print start position This command is only effective when thermal label is selected with
54. cters Ei PRINT 41 CHRS amp H1D CHRS 1 Selects HRI characters PRINT 1 CHRS amp H1D h CHRS 35 Sets bar code height Prints bar code PRINT 1 CHR 5HID k CHRS 4 NOS ICHRS 0 PRINT 1 CHR amp H1B J CHRS 5 PRINT 41 CHRS amp H1B CHRS 2 Sets underline width to 2 dots i PRINT 1 NAME Wei Prints message B PRINT 41 CHRS amp H1B J CHRS 70 PRINT 41 CHRS amp HI1B CHRS 0 Cancels previous character print mode PRINT 1 CHRS amp H1B a CHRS 2 Selects right print position Prints the date and PRINT 41 CHRS amp H1B CHRS 1 Selects font B 9 x 24 feeds the label to the print starting PRINT 1 1996 4 10 position PRINT 41 CHRS amp H1D CHRS HC Prints and feeds the label print starting position VS INPUTS 1 Ready to input waiting to input RETURN 2 2 Application Rev A TM L601I L60IIP Information Manual Chapter 3 Command Reference Command Classification ESC POS printer commands in this chapter are classified by function and by sheet and grade The sheet and grade classification is called matrix classification The sheet classification is divided into single sheet commands and multiple sheet commands The grade classification is separated into basic commands and extension commands Basic commands are defined as fundamental printer controls including print commands and char
55. d On 01 1 Paper roll near end sensor enabled Off 00 0 Paper roll near end sensor disabled i On 02 2 Paper roll near end sensor enabled Off 00 0 Poper roll end sensor disobled On 02 4 Paper roll end sensor enabled Off 00 0 Paper roll end sensor disabled On 08 8 Poper roll end sensor enobled 4 7 z Undefined Program Example PRINT 1 CHR amp H1B c3 CHR 15 All sensors enabled Rev A Command Descriptions 1 27 Print Position Commands The TM L60II L60IIP printers support the following commands for setting the print position Command ESC ESC ESC a HT ESC D GSL GSW ESC W ESC T GS GS Name Set absolute print position Set relative print position Select justification Horizontal tab Set horizontal tab positions Set left margin Set printing area width Set printing area in page mode Set print direction in page mode Set absolute vertical print position in page mode Set relative vertical print position in page mode 1 28 Command Descriptions Rev A TM L 0II L601IP Information Manual ESC n nH Name Set absolute print position Format ASCII ESC HL HH Hex 1B 24 HL HH Decimal 27 36 HL HH Range O lt nL lt 255 0 lt nH lt 255 ESC nLnH Name Set relative print position Format ASCII ESC HL HH Hex 1B 5C HL HH Decimal 27 92 nL nH Range 0 lt nt lt 255 0 lt nH lt 255 ESC nt nH sets the print starting position to
56. data in the printer print buffer and resets mepemoselolele e e e e e e ee eo o o o oe e e The mode that was in effect when the power was turned on ESC C Set cut sheet Sets the eject length ejectlength for cut sheet toa e e e e e specified number of lines ESCD i i SC Set horizontol Sets the horizontal e e e e e e e o 00000909 e e e tab positions tab positions ESC E Tum Turns emphasized emphasized mode on or off e 09 oo e e e mode on off ESC F Set cancel Sets or cancels the cut sheet cut sheet reverse e reverse eject eject specified by FF ESC G Turn double Turns double strike strike mode mode on or off e 09 oo j e e e on off ESC J Print and Prints the data in the feed paper print buffer and e e e e e e e e e o oloo o e e e e e feeds the paper a specified distance ESC K Print and Prints the data in the reverse feed print buffer and feeds the paper a e e e e e specified distance in the reverse direction ESCL Select page Switches from mode standard mode to e e e e page mode The commands supported by each printer are marked by a 6 or a O The functions of the commands marked by a O may differ depending on the printer model jonuvyy uonpuutofu q1109 1 109 1 WW L OL Supported Command Command Name Function TM TM T Series TM L Series TM U200 TM 300 300M TM TM U
57. de not supported 1 Off 00 Auto cutter not equipped Non label thermal paper 0 Off 00 0 On 04 4 Label thermal paper 3 Ls es Undefined 4 Off 00 o 5 6 x ot used Fixed to Off Undefined 7 Off 00 0 ot used Fixed to Off Program Example PRINT 1 CHRS amp SH1D I CHRS 1 Transmits printer ID Rev A Command Descriptions 1 59 ESC p m t1 t2 Name Generate pulse Format ASCII ESC P m H t2 Hex 1B 70 t1 t2 Decimal 27 112 m tH t2 Range m 0 1 48 49 0 lt t1 lt 255 0 lt 12 lt 255 3 ESC p m t1 t2 sends a pulse on time t1 x 2 msec off time 2 x 2 msec to the specified connector pin When m 0 or 48 the pulse is sent to drawer kick out connector pin 2 when m 1 or 49 the pulse is sent to drawer kick out connector pin 5 Program Example PRINT 1 CHRS amp H1B p CHR 0 CHR 25 CHRS 250 ESC n Name Select peripheral device Format ASCII ESC S n Hex 1B 3D n Decimal 27 61 n Range 0 lt n lt 255 Only the least significant bit of n is enabled ESC n selects the device to which the host computer sends data When the LSB least significant bit of n is 1 the printer is enabled When it is 0 the printer is disabled The default setting is n 1 If ASB is enabled when the printer is disabled by the ESC the printer transmits a 4 byte status message whenever the status changes
58. e user defined characters are redefined the power is turned off or the printer is reset The downloaded bit image is canceled Rev A Command Descriptions 1 13 ESC n cancels the user defined characters defined for the character code n After the user defined characters are canceled the internal character set is printed Program Example y 3 PRINT 1 CHR amp H1B amp CHRS y AC x 9 PRINT 1 CHRS x FOR i 1 TO y x READ d PRINT 1 CHR d beries the NEXT i user defined x 11 PRINT 1 CHRS x DEER nd FOR i 1 TO y x READ d PRINT 1 CHR d NEXT i x 12 PRINT 1 CHR x FOR i 1 TO y x Wi READ d PRINT CHRS d NEXT i PRINT 1 CHR amp H1B CHR 0 Select the internal character set PRINT 1 A B C D E CHR amp HA PRINT 1 CHR amp H1B CHR 1 lt Select the user defined character set PRINT 1 A B C D E CHR amp H PRINT 1 CHR amp HIB A lt Cancel the user defined character set PRINT 1 A B C D E CHR amp HA DATA amp H00 amp H20 amp H00 amp H00 amp H20 amp H00 amp H00 amp H70 DATA amp H00 amp H00 amp HF8 amp H00 amp H07 amp HFF amp H00 amp H00 DATA amp HF8 amp H00 amp H00 amp H70 amp H00 amp H00 amp H20 amp H00 DATA amp H00 amp H20 amp H00 DATA amp H00 amp H20 amp H00 amp H00 SHF8 amp H00 amp H03 amp H8E DATA amp H00 a
59. earing even in small retail stores and specialty shops They occupy a secure position in the range of applications available for personal computers As more personal computers come to be used as POS terminals the demand for matching standardized peripheral devices is expected to rise At present however many of the competing POS terminal printer displays on the market employ mutually incompatible command sets This imposes limits on the expandability and range of applications possible with PC based systems There is a need for anew command set designed to provide the expandability and universal applicability demanded by the market To meet this need Seiko Epson Corporation proposes the adoption of a newly developed command set to standardize POS terminal peripheral devices ESC POS Epson Standard Code for Point of Sale The aim when developing ESC POS was to create a set of control codes that could be used to operate any output device connected to a POS terminal These new codes are intended to replace the mutually incompatible command sets previously in use TM DM series models already support ESC POS and they have been evaluated highly in the marketplace Seiko Epson Corporation plans to produce new models in the TM DM series offering ESC POS support and to continue to work for the standardization of the entire POS environment to promote the dissemination of ESC POS About This Manual LI Chapter 1 contains a table of supported com
60. elects the printing position as follows n Printing Position 0 48 Not printed 1 49 Above the bar code 2 50 Below the bar code 3 51 Both above and below the bar code The default setting is n 0 HRI characters are printed using the font specified by GS f GS f n selects a font for the HRI characters used when printing a bar code When n 0 or 48 the 12 x 24 font is selected When n 1 or 49 the 9 x 24 font is selected The default setting is n 0 HRI characters are printed at the position specified by GS H Rev A Command Descriptions 1 53 Program Example Print Sample PRINT 1 CHRS amp HID h CHR 80 Set height to 80 dots pe ki CARS GMD oP yes ILC s E TIT TIT FOR n 0 to 3 A PRINT 1 CHRS amp HID H CHR n Select print position FTIIT i EE UI PRINT 1 496595707379 CHRS 0 PRINT 1 CHRS GHA III Q NEXT n 595707379 font PRINT 1 CHR amp H1D f CHR 1 Select font SHEET a Eb as A Du ee eee nn HUE II lt c PRINT 1 CHRS amp H1D k CHRS 2 Print bar code 9520 9 1 E _ a QUIE WEE co e PRINT 1 CHRS amp HA 4965957073797 sapt 1 54 Command Descriptions Rev A TM L601II L60IIP Information Manual Macro Function Commands The TM L60II L60IIP printers support the following macro function commands Command Name GS Start end macro definition GS Execute macro GS Name Start end
61. ertical print starting position in page mode to nL nH x 256 x vertical or horizontal motion unit inches from the current position This command is ignored in standard mode Use the complement of N for setting pitch movement upward N pitch 65536 N where N nL nH x 256 The horizontal and vertical motion units set by GS P are used for the print direction set by ESC T PR PR PR PR PR PR PR PR PR PR PR PR NT NT NT NT NT NT NT NT NT NT NT NT dE dE db Hb db db db ck CHR 180 CHRS amp H1D P CHR 180 CHRS 180 CHRS amp H1B L Select page mode CHR amp H1B W CHR 0 CHR 0 CHR 0 CHR 0 CHRS 0 CHR 132 CHR 3 CHRS amp H1B T CHR 0 lt Select print direction AAAAA CHRS amp HA Store characters for printing BBBBB CHR amp H1D CHR 90 CHR 0 DD EE CHR PF Program Example CCCCC CHRS amp HA Store characters for printing DDD CHRS amp HA Store characters for printing EEE amp H1D N CHRS S 90 CHR 0 FFE CHRS amp HC Batch print and return to standard mode Print Sample Fa Nec mti aed Ae UR 90 180 inch CCCCC v I lt Printing l area set by ESC W I I 90 180 inch FFFFF O E ous oe Lu ld e uii re 1 36
62. h LF 2 Print bar code 3 Print message B GSH GS f GS h GS k ESC J ESC q ESC J Prints bor code after selecting the height of the bar code with GS h and the printing position of the HRI characters with GS H Prints message B using ESC J 4 Print date ESC a ESC GS FF Sets the print position to the right using ESC a selects font B 9 x 24 with ESC and prints the date with GS FF The paper LED blinks when the label is ejected from the position where the label can be peeled off Press the PAPER FEED switch and peel off the label The next label feeds to the starting position Print Sample EPSONRentad Video LARA 000 0 1 NAME V 1926210 EPSONREentoI Video DOIT 000 02 NAME 1996 4 10 Na p Rev A Application 2 1 Program Example PRINT 1 CHRS amp H1B Initializes the printer NOS 00001 GOSUB start NOS 00002 GOSUB start END start PRINT 1 CHRS amp H1B a CHRS 1 Selects center print position 2 PRINT 41 CHRS amp H1B CHRS 40 Selects character print mode emphasized double height double width Prints message A PRINT 1 EPSON PRINT 1 CHRS amp SHI1B CHR 8 cancels double width PRINT 1 Rental Video CHRS amp HA PRINT 1 CHRS amp H1B CHRS 0 cancels emphasized m PRINT 41 CHRS amp H1D H CHRS 2 Selects printing position for HRI chara
63. i i Wi PRINT 1 CHRS amp H1D k CHRS 2 Print bar code a WEB Ande PRINT 1 496595707379 CHRS 0 PRINT 1 CHR amp HA PRINT 1 CHRS amp H1D w CHRS 5 set width size to 5 dn AN Width size 5 PRINT 1 CHRS amp H1D k CHRS 2 Print bar code PRINT 1 496595707379 CHRS 0 PRINT 1 CHR amp HA 1 50 Command Descriptions Rev A TM L 0II L601IP Information Manual GS k m d1 dk NUL GS k m n dl dn Name Print bar code Format ASCII GS k m di dk NUL Hex 1D 6B m dl dk 00 Decimal 29 107 m dl dk ASCII GS k m n dl dn Hex 1D 6B m n dl dn Decimal 29 107 m n dl dn Range 0 lt m lt 6 k and d depend on the bar code system used specifies a bar code system as follows 65 lt m lt 73 n and d depend on the bar code system used GS km d1 dk NUL and Q GS k m n d1 dn select a bar code system and print the bar code m m Bar Code System Number of Characters Remarks 0 UPC A 11 lt k lt 12 48 lt q lt 57 1 UPC E 11 lt k lt 12 48 lt q lt 57 2 JAN13 EAN13 12 lt k lt 13 48 lt q lt 57 3 JAN8 EAN8 7 lt k lt 8 48 lt q lt 57 4 CODE39 1 lt k 48 lt d lt 57 65 lt d lt 90 d 32 36 37 43 45 46 47 5 ITF 1 k even number 48 lt q lt 57 6 CODABAR 1 lt k 48 lt d lt 57 65 lt q lt 68 d 36 43 45 46 47 58 65 UPC A 11 lt n lt 12 48 lt q lt 57 66 UPC E 11 lt n lt 12 48 lt q lt 57 67 JAN13
64. int Sample PRINT 1 CHR amp H1B CHR 1 select AAAAA Underline one dot width turned on PRINT 1 AAAAA CHRS amp HA BBBBB Underline turned off PRINT 1 CHR amp H1B CHR 0 lt cancel PRINT 1 BBBBB CHRS amp HA ESCEn Name Turn emphasized mode on off Format ASCII ESC E Hex 1B 45 Decimal 27 69 Range O0 lt n lt 255 Only the least significant bit of n is enabled ESC E n turns emphasized mode on or off When the LSB least significant bit of n is 1 emphasized mode is turned on when it is 0 emphasized mode is turned off The default setting is n 0 Emphasized and double strike printing appear the same PRINT PRINT PRINT PRINT 1 1 1 1 Program Example CHRS amp H1B E CHRS 1 Select AAAAA CHRS amp HA CHR amp H1B E CHRS 0 cancel BBBBB CHRS amp HA Print Sample AAAAA C Emphasi zed BBBBB lt Normal 1 18 Command Descriptions Rev A TM L 0II L601IIP Information Manual ESC Gn Name Turn double strike mode on off Format ASCII ESC G Hex 1B 47 Decimal 27 71 Range 0 lt n lt 255 Only the least significant bit of n is enabled ESC G n turns double strike mode on or off When the LSB least significant bit of n is 1 double strike mode is turned on when it is 0 double strike mode is turned off The default setting is n 0 Double strike and emphasized printing appear the same
65. mands descriptions of all the commands arranged by function with program examples and print samples and character code tables LI Chapter 2 contains an example showing several commands used in a program for issuing a coupon containing bar codes LI Chapter 3 contains a table of the commands listed by function type and a table showing which commands are supported by various EPSON printers Rev A i Features ii The TM L60II RS 232 serial interface and TM L6O0IIP parallel interface are line thermal printers that can print on roll paper and thermal labels The printers have the following features L O O C L L L L O D LE L L L D oO D L Light weight and ultra compact size High speed printing 12 lines per second Low noise thermal printing High reliability due to few moving parts Easy maintenance for tasks such as head cleaning Easy paper insertion with semi auto loading for both roll paper and labels Label ejection commands prevent extraneous label feeding Serial numbers can be printed on labels Command protocol based on the ESC POS standard Various layouts possible using page mode Font selection 12 x 24 or 9 x 24 possible using a command Character extension up to 64 times the standard size and character smoothing Four different print densities selectable via DIP switch settings Four way routing of the interface drawer control and power cables on either side underneath or from the back
66. mp HO0E amp H03 amp H80 amp H38 amp HO0 amp HEO amp HEO DATA amp H00 amp H38 amp H38 amp H00 HEO amp HOE amp H03 amp H80 DATA amp H03 amp H8E amp HO00 amp H00 amp HF8 amp HO0 amp H00 amp H20 DATA amp H00 DATA amp H00 amp H30 amp H00 amp H00 amp HF0 amp HO0 amp HO3 amp HF0 DATA amp H00 amp HOF amp H3F amp HF8 amp H3C amp H3F amp HF8 amp HFO DATA amp H00 amp H18 amp HF0 amp H00 amp H18 amp H3C amp H3F amp HF8 DATA amp HOF amp H3F amp HF8 amp H03 amp HF0 amp HO0 amp HO0 amp HF0 DATA amp H00 amp H00 amp H30 amp H00 Print Sample A B C D E Characters from internal character set Q T D E characters from user defined character set A Q T D E characters from user defined character set 1 character canceled 1 14 Command Descriptions Rev A TM L 0II L601IP Information Manual ESC Rn Name Select an international character set Format ASCII ESC R n Hex 1B 52 n Decimal 27 82 n Range 0 lt n lt 10 ESC R z selects an international character set n as follows The default value is U S A n 0 n Country 0 U S A 1 France 2 Germany 3 U K 4 Denmark I 5 Sweden 6 Italy 7 Spain 8 Japan 9 Norway 10 Denmark II Program Example Print Sample FOR n 0 TO 10 N n 0 Default setting PRINT 1 CHRS amp H1B R CHR n a c lt ml PRINT 1 N 1 CHR amp HA A 6 B
67. nce Toble Supported Command Command Name Function TM TM T Series TM L Series TM U200 TM 300 300M TM TM U375 TM TM U950 TM TM 267II T60 T80 T8OM T85 L60 L oll B D AIBIC D 270 TM U375M U925 TM U950M 215S 295 HT Horizontal tab Moves the printing position to the next horizontal tab 0000 e e e position LF Print and line Prints the data in the feed print buffer and feeds one line 0o00 o e e e e e based on the current line spacing FF 1 Print and Prints the data in the eject cut print buffer and sheet in ejects the cut sheet e e e e e standard mode 2 Print and Prints the data in the return to print buffer and standard returns to standard e e mode in mode page mode 3 Print and Prints the data in the feedlabel print buffer and to print feeds the next label starting to the print starting position on position label The commands supported by each printer are marked by a or a O The functions of the commands marked by a O may differ depending on the printer model ZE Supported Command Command Name Function TM TM T Series TM L Series TM U200 TM 300 300M TM TM U375 TM TM U950 TM TM 2671 ren T80 T80M T85 L60 L60ll B D A p c p 270 TM U375M U925 TM U950M 215S 295 CR Print and When auto line feed carriage is enabled this return command functions in
68. nd Descriptions Rev A TM L 0II L601IP Information Manual ESCVn Name Turn 90 clockwise rotation mode on off Format ASCII ESC V n Hex 1B 56 n Decimal 27 86 n Range 0 lt n lt 1 48 lt n 49 ESC V n turns the 90 clockwise rotation mode on or off When n 1 or 49 90 clockwise rotation mode is turned on when n 0 or 48 this mode is turned off This command is enabled only in standard mode If this command is entered in page mode an internal flag is activated and the command is enabled when the printer returns to standard mode Program Example Print Sample PRINT 1 CHR amp HID P CHRS 180 CHRS 180 Right side spacing PRINT 1 CHR amp HIB CHRS 20 Set right side spacing PRINT 1 CHRS amp H1B 3 CHRS 15 Set line spacing H EE Line f PRINT 1 CHRS amp H1B V CHRS 1 Turn on B D ue B a MB d UR ESC V 1 App oo QQA Q GOSUB printing Tine 2n AAAAAA Te ing PRINT 1 CHR amp H1B 2 Set line spacing BBBBBB SSC ESC V 0 PRINT 1 CHRS amp H1B V CHRS 0 Turn off C0 ccc GOSUB printing H END di Right side spacing printing PRINT 1 AAAAA CHRS amp HA PRINT 1 BBBBB CHR amp HA PRINT 1 CCCCC CHRS amp HA RETURN Rev A Command Descriptions 1 21 GS n Name Format Range Select character size ASCII GS Hex 1D Decim
69. nding on the printer model GA Supported Command Command Name Function TM TM T Series TM L Series TM U200 TM 300 300M TM TM U375 TM TM U950 TM TM 2671 ren T80 T80M T85 L60 L60ll B D A Bp c p 270 TM U375M U925 TM U950M 215S 295 FS amp Select Kanji Selects Kanji character character mode e O O OO O O mode FS Turn underline Turns underline mode mode on off jon or off for Kanji e olololo o o for Kanji characters characters FS Cancel Kanji Cancels Kanji character character mode e O O OO O O mode FS 2 Define user Defines user defined defined Kanji Kanji characters for characters specified character e S O O O H codes FSC Select Kanji Selects the Kanji character character code e O O OO O O code system system FSL Select double Switches from density page standard mode to O mode double density page mode FSS Setleft and Selects the right and right side left side Kanji Kanji character spacing e O O OO O O character spacing FS W Turn Turns quadruple size quadruple mode on or off for size mode on Kanji characters e O O OO O O off for Konji characters FSa0 Read check Selects the MICR paper function and reads O Q the check paper The commands supported by each printer are marked by a or a O The functions of the commands marked by a O may differ depending on the printer model
70. nector pin 3 status enabled Off 00 0 On line off line status disabled 1 On 02 2 On line off line status enabled Off 00 0 Error status disabled 2 On 04 4 Error status enabled Off 00 0 Paper roll sensor status disabled 3 On 08 8 Paper roll sensor status enabled 4 7 Undefined Program Example PRINT 1 CHRS amp H1D a CHRS 4 Enable Error status Rev A Command Descriptions 1 41 First byte printer information Bit Off On Hex Decimal Status for ASB O Off 00 0 Not used Fixed to Off 1 Off 00 0 Not used Fixed to Off Off 00 0 Drawer kick out connector pin 3 is LOW On 04 4 Drawer kick out connector pin 3 is HIGH Off 00 0 On line On 08 8 Off line 4 On 10 16 Not used Fixed to On Off 00 0 Cover is closed On 20 32 Cover is opened I Off 00 0 ps not being fed by the paper feed On 40 64 Paper is being fed by the paper feed button 7 Off 00 0 Not used Fixed to Off Second byte error information Bit Off On Hex Decimal Status for ASB 0 1 Undefined Off 00 0 o lobel detection error j On 04 4 Label detection error occured 3 Undefined 4 Off 00 0 ot used Fixed to Off Off 00 0 o unrecoverable error On 20 32 Unrecoveroble error occurred Off 00 0 o automatically recoverable error S On 40 64 Automatically recoverable error occurred 7 Off 00 0 ot used Fixed to Off
71. nsion standard mode 2 Print and return to standard echanical extension eo mode in page mode 3 Print and feed label to print echanical extension e starting position on label CR Print and carriage return Mechanical extension e ESC FF Print data in page mode Software extension eo ESC J Print and feed paper echanical extension e ESCK Print and reverse feed echanical extension ESC d Print and feed n lines Basic single e ESC e Print and reverse feed n lines echanical extension GS FF Print and eject label Hardware extension e Line soqcing ESC 2 Select default line spacing Mechanical extension e commands ESC 3 Set line spacing echanical extension e ESC C Set cut sheet eject length echanical extension Character commands CAN Cancel print data in page mode Software extension e ESC SP Set right side character spacing Basic single e ESC Select print mode s Basic single e ESC Select cancel user defined Software extension e character set ESC amp Define user defined characters Software extension e ESC Turn underline mode on off Software extension e ESC Cancel user defined characters Software extension e ESC E Turn emphasized mode on off Software extension e ESC G Turn double strike mode on off Software extension e ESC R Select an international Basic single e character set ESC V Turn 90 clockwise rotation mode Software extension e on off ESC r Select print color Mechanical extension ESCt Select character code table Basic single e E
72. nsor paper adequate 1 On 03 3 Paper roll near end sensor paper near end Off 00 0 Paper roll end sensor paper present ex On 0C 12 Paper roll end sensor paper not present 4 Off 00 0 Not used Fixed to Off 5 6 Undefined 7 Off 00 0 Not used Fixed to Off Drawer kick out connector status n 2 50 Bit Off On Hex Decimal Status Off 00 0 Drawer kick out connector pin 3 is LOW On 01 1 Drawer kick out connector pin 3 is HIGH 1 3 Undefined 4 Off 00 0 Not used Fixed to Off 5 6 m Undefined 7 Off 00 0 Not used Fixed to Off DLE EOT n Name Real time status transmission Format ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n Range 1 lt n lt 4 DLE EOT r transmits the specified status in real time This command is executed if the printer is off line the print buffer is full or an error occurs n indicates the status function as follows n Function 1 Transmit printer status 2 Transmit off line status 3 Transmit error status 4 Transmit paper roll sensor status 1 44 Command Descriptions Rev A TM L60II L60IIP Information Manual Program Example PRINT 1 CHRS amp H10 CHR amp H4 CHRS 2 Transmits off line status Printer status 1 1 Bit Off On Hex Decimal Function 0 Off 00 0 Not used Fixed to Off On
73. o A a 6 0110 Ga 150 7 jon besi si 1 sa t st 1600 136 152 168 184 200 216 d F 4 9 29017 pe Deal Del Daa oi D l r 1010 pa De 70 D i Dei 218 H T a B 1011 Des Gesi bai bel 203 219 d F C noo Po me 2 Daa 20 220 i D i 4 0 D uo nu Del Dal e Dei 22 Eig M lt i TIR 142 158 Dau 19o 206 222 238 254 e ui A 6 4 SP 143 baal 1 5 191 207 223 239 255 1 68 Command Descriptions Rev A TM L60II L60IIP Information Manual Page 4 PC863 Canadian French Page 5 PC865 Nordic Rev A Command Descriptions 1 69 International character set ASCII code hexadecimal Country Hex aa 24 4 Ian 5C 5D se 60 7B 7C 7D 7E Dec 35 36 64 91 92 93 94 96 123 124 125 126 U S A A i ji Fronce 8 Germany A A S 8 U K A I I 1 Denmark A ce o Sweden o a
74. of the case Controls on the front of the printer for easy operation without requiring access to the sides and back Water resistant operation panel Bar code printing possible both in the vertical direction fence bar code and horizontal direction ladder bar code in page mode using a command Repeated operation and copy printing possible using macro definitions Control capability for two drawers via the built in interface Bidirectional parallel interface based on the IEEE 1284 Nibble Byte Modes standard Thermal paper or thermal label can be selected via DIP switch settings Rev A The TM L60II can also be used as the following LI A one station printer for ECR and POS A ticket issuing device d LI Anoutput device for weighing and other types of measurement d A small scale label marker for stores Option D EPSON power supply unit PS 150 Specifications QO Printing specifications Printing method Thermal line printing Printing speed Approximately 12 lines second 1 6 inch feed Dot density 180 dpi x 180 dpi Printing width Thermal paper 54 19 mm 2 13 384 dot positions Thermal label 51 93 mm 2 04 368 dot positions D Character specifications Character fonts 12x24 9 x 24 Characters per line Thermal paper 32 42 Thermal label 30 40 Character size 1 41 W x 3 39 H mm 99 W x 3 39 H mm Character sets ASCII 95 characters International 32 characters Extended graphics 128 charac
75. opqrs tuvwxyz 7 C aa ce e115ACat o0Quy0 t YM f IOC DHA 14331933 H H FE Pert krekk K agr x ouc efl ngefizt2s s 7 1 ez 0123456789 22 8ABCDEFGHT JKLMNOPQRSTUVWXY7 X abcdefghijklmnopars tuvwxyz 7 _ man EHE r lia Ua U Ji Zeta 137132 740145127 39 23873 195 F3 233 SEET 1135705277 Hd A WHY 0 AAB8BB38078818A Page 1 1 16 Command Descriptions Rev A TM L 0II L601IP Information Manual ESC in Name Select print mode s Format ASCII ESC n Hex 1B 21 n Decimal 27 33 n Range 0 lt n lt 255 ESC n selects print modes using n as follows The default setting is n 0 Bit Off On Hex Decimal Function Off 00 0 Character font 12 x 24 selected 0 On 01 1 Character font 9 x 24 selected 1 2 Undefined Off 00 0 Emphasized mode not selected 3 On 08 8 Emphasized mode selected Off 00 0 Double height mode not selected 4 On 10 16 Double height mode selected Off 00 0 Double width mode not selected 5 On 20 32 Double width mode selected _ _ _ Undefined Off 00 0 Underline mode not selected 7 On 80 128 Underline mode selected Program Example Print Sample PRINT 41 CHRS amp H1B CHRS 0 AA PRINT 1 CHRS amp H1B CHR 8 BB Auge eer E GGHH ICTU ree PRINT 1 CHRS amp H1B CHRS 16 C
76. own mode is specified when aL aH x 256 gt bL bu x 256 and n is not equal to 0 and r is not equal to 0 In setting count down mode the maximum value of the counter is aL aH x 256 and the minimum value is bL bH x 256 If counting down reaches a value less than the minimum it is resumed with the maximum value Counting stops when aL aH x 256 bL bH x 256 or n 0 or r 0 GS C 2nL nH sets the serial number counter value nL and nH determine the value of the serial number counter set by nL nH x 256 The default setting is nL 1 nH 0 In count up mode if the counter value specified by this command goes out of the counter operation range specified by the GS C 1 or GS C commands it is forced to convert to the minimum value set by the GS c command In count down mode if the counter value specified by this command goes out of the counter operation range specified by the GS C 1 or GS C commands it is forced to convert to the maximum value set by the GS c command Program Example Print Sample PRINT 1 CHRS amp H1D C1 CHRS 1 CHRS 0 Line 010 CHRS 44 CHR 1 CHRS 1 CHRS 1 Line 011 PRINT 1 CHR amp HID C2 CHRS 10 CHRS 0 PRINT 1 CHR amp HID CO CHR 3 CHRS 1 PRINT 1 Line CHRS amp H1D C CHRS amp HA PRINT 1 Line CHRS amp H1D C CHRS amp HA Rev A Command Descriptions 1 65 GS C sa sb sn sr sc
77. p HlD c CHR amp HA PRINT 1 CHR amp H1D CO CHR 4 CHRS 1 PRINT 1 BBBBB CHR amp H1D c CHRS amp HA Print Sample AAAAA 1 Align right and adds spaces to the left BBBBB0002 lt Align right and adds 0 to the left GS C1 ar aH bL bu nr Name Format Select count mode A ASCII GS C Hex 1D 43 Decimal 29 67 0 aL lt 255 0 aH 255 0 lt bL lt 255 0 lt bH lt 255 0 lt n lt 255 0 lt r lt 255 Range GS C2 nL nH Name Format Set counter ASCII GS C Hex 1D 43 Decimal 29 67 0 lt nt lt 255 0 lt nH lt 255 Range 1 64 Command Descriptions 31 49 32 50 aL aHbL bH n r aL aHbL bH n r aL aHbL bH n r HL HH HL HH HL HH Rev A TM L 0II L601IP Information Manual GS C 1aL an bL bun r selects a count mode for the serial number counter aL aH bL or bH specify the counter range n indicates the stepping amount when counting up or down r indicates the repetition number when the counter value is fixed The default settings are as follows aL 1 aH 0 bL 255 bH 255 n 1 r 1 Count up mode is specified when aL aH x 256 lt bL bH x 256 and n is not equal to 0 and ris not equal to 0 In setting count up mode the minimum value of the counter is aL aH x 256 and the maximum value is bL bH x 256 If counting up reaches a value exceeding the maximum it is resumed with the minimum value Count d
78. page mode an internal flag is activated and the command is enabled when the printer returns to standard mode Program Example Print Sample FOR n 0 TO ABC PRINT 1 CHRS amp H1B a CHRS n ABCD Escta Q ABCDE PRINT 1 ABC CHRS amp HA ABC PRINT 1 ABCD CHR amp HA ABCD j ESC a 1 PRINT 1 ABCDE CHR amp HA ABCDE ABE NEXT n ESC a 2 ABCD ABCDE 1 30 Command Descriptions Rev A TM L 0II L601IP Information Manual HT Name Horizontal tab Format ASCII HT Hex 09 Decimal 10 ESC D n1 1k NUL Name Set horizontal tab positions Format ASCII ESC D n1 nk NUL Hex 1B 44 nl ak 00 Decimal 27 68 nl ak 0 Range 1 lt ns255 0 lt k lt 32 HT moves the print position to the next horizontal tab position This command is used to align the character columns The command is ignored unless the next horizontal tab position has been set ESC D n1 nk NUL sets the horizontal tab positions n specifies the column number counted from the left margin or the beginning of the line for setting a horizontal tab position This command deletes any previously set horizontal tab positions Up to 32 tab positions can be set The default tab positions are at intervals of 8 characters columns 9 17 25 etc for the 12 x 24 font Program Example Print Sample PRINT 1 0123456789012345678901234567890123456 0123456789012345678901234567890123456 H
79. ple PRINT 1 CHR amp HID P CHRS 180 CHRS 180 FOR n 25 TO 50 STEP 5 PRINT 1 CHRS amp HIB 3 CHR n set line spacing 1 AAAAA CHRS amp HA CHRS amp H1B 2 Set default line spacing BBBBB CHRS amp HA CCCCC CHRS amp HA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA BBBBB CCECE Print Sample WW 25 180 inch V 30 180 inch v 35 180 inch 40 180 inch 45 180 inch Y 50 180 inch MN 1 6 inch 30 dot 25 dot 30 dot 35 dot 40 dot 45 dot 50 dot line spacing line spacing line spacing line spacing line spacing line spacing line spacing 1 10 Command Descriptions Rev A TM L 0II L601IP Information Manual Character Commands The TM L60II L60IIP supports the following commands for setting character font and size Command ESC SP ESC ESC amp ESC ESCR ESC t ESC ESC ESC E ESCG ESC ESC V GS GSB GS b CAN Rev A Name Set right side character spacing Select cancel user defined character set Define user defined characters Cancel user defined characters Select an international character set Select character code table Select print mode s Turn underline mode on off Turn emphasized mode on off Turn double strike mode on off Turn upside down printing mode on off Turn 90 clockwise rotation mode on off Set character size Turn white black reverse printing mode on off Turn smoothing mode on off Can
80. r code 1 49 GSk Print bar code Bar code 1 51 GSr Transmit status Status 1 43 GSw Set bar code width Bar code 1 50 Rev A Command Descriptions 1 3 Using Bit Value Tables For each command that has a complex method of determining the variable n there isa table showing how to calculate the variable in three numbering systems binary hexadecimal and decimal When you look at the table first find the value of each component of the variable Then add the values of the components together to determine the value of the variable n For example here is how you would use the table below which sets the print mode to combine double height double width and underline In the table you see that bit 4 on or hex 10 or decimal 16 turns on double height bit 5 on or hex 20 or decimal 32 turns on double width and bit 7 on or hex 80 or decimal 128 turns on underline mode To combine all three turn on bits 4 5 and 7 which is 10110000 in binary Or you can add the hex values 10 20 and 80 for the hex sum of B0 or you can add the decimal values 16 32 and 128 for the decimal value of 176 Therefore you send the following to turn on double height double width and underline depending on the numbering system used ASCII ESC H Hex 1B 21 B0 Decimal 28 33 176 Bit Off On Hex Decimal Function Off 00 0 Character font A selected On 01 1 Character font B selected 2
81. ram Example Print Sample AA 333 C Reverse PRINT 1 CHR amp H1D B CHR 1 PRINT 1 AAAAA CHRS amp HA BBBBB lt Normal PRINT 1 CHRS amp H1D B CHRS 0 PRINT 1 BBBBB CHRS amp HA GSbn Name Turn smoothing mode on off Format ASCII GS b n Hex 1D 62 n Decimal 29 98 n Range 0 n 255 Only the least significant bit of n is enabled GS b n turns the smoothing mode on or off When the LSB least significant bit of n is 1 smoothing mode is turned on When it is 1 smoothing mode is turned off The default setting is 1 0 Smoothing is available for quadruple size or larger characters Program Example Print Sample PRINT 1 CHRS amp H1D CHRS 68 Select font size PRINT 1 CHR amp Hl1D b CHRS 1 Turn on AAAAA PRINT 1 AAAAA CHRS amp HA Rev A Command Descriptions 1 23 CAN Name Format Cancel print data in page mode ASCII Hex Decimal CAN 18 24 CAN deletes all the print data in the current printable area when the printer is in page mode If data that existed in the previously specified printable area also exists in the currently specified printable area it will also be deleted PR PR PR PR PR PR PR NT 4 NT 4 NT 4 NT 4 FOR i 1 NT 4 NT 4 NT 4 CHRS 0 CHR 240 CHRS 0 C to 200 PRINT 1 CHRS amp H1B W CHR CHRS 0 C
82. re extension e Macro function GS Start end macro definition Software extension e commands GS A Execute macro Software extension e Konji control FS Select print mode s for Kanji Software extension commands characters FS amp Select Kanji character mode Software extension FS Turn underline mode on off for Software extension Kanji characters FS Cancel Kanji character mode Software extension FS2 Define user defined Kanji Software extension characters FSC Select Kanji character code Software extension system FSS Set left and right side Kanji Software extension character spacing FSW Turn quaaruple size mode on Software extension off for Kanji characters Mechanism control ESC Return home echanical extension commands ESC F Set cancel cut sheet reverse Mechanical extension eject ESC U Turn unidirectional printing mode echanical extension on off ESCi Partial cut one point left uncut echanical extension ESC m Partial cut three points left echanical extension uncut ESC o Stamp echanical extension ESC q Paper release echanical extension GSV Select cut mode and cut paper echanical extension Panel button ESC c 5 Enable disable panel buttons Hardware extension e commands ESC c 6 Enable disable on line button Hardware extension The TM L6OII L6OIIP supports the commands marked with a in the Supported Command column 3 4 Command Reference Rev A TM L 0II L601IP Information Manual
83. t be fed with this button PR PR PR PR PR PR PR PR PR PR PR PR PR PR PR PR PR NT NT NT NT NT NT NT NT NT NT NT NT NT NT NT NT NT HE dE g Hb HE HB Hb j Hb dB o dB H dE oc Program Example CHR amp H1D CHR amp H1B a C We ka Hester CHR amp H1B C EPSON CHR amp H1B C World CHR amp H1B a C CHR amp H1B C No Name Address CHR amp H1B I CHR 0 CHR amp HA CHRS amp RS 1 R 48 RS 0 HA RS 0 R 128 n n CHR amp H1D CHRS amp HC CHR amp H1D CHRS amp HA CHRS amp HA Defines macro CHRS amp H1D CHR 2 CHR 0 CHRS 0 Helo EP SON Word No Name Address X Print Sample J Hello EPSON word No Name Address 1 56 Command Descriptions Rev A Miscellaneous Function Commands TM L601II L60IIP Information Manual The TM L60II L60IIP supports the following miscellaneous function commands Command Name ESC 9 Initialize printer GSP Set horizontal and vertical motion units GSI Transmit printer ID ESC p Generate pulse ESC Select peripheral device ESC L Select page mode ESC S Select standard mode GS lt Initialize printer mechanism GS A Adjust label print starting posi
84. t starting print position position from the e e e beginning of the line ESC Select Selects or cancels cancel user the user defined defined character set ee eee e e e e e character set ESC amp Define user Defines user defined defined characters for a characters specified character eeeeee e e e e e code ESC x Select bit Selects a bit image image mode mode for a specified CRL AIR e e e e e number of dots ESC Turn underline Turns underline mode eoooo e e e mode on off on or off ESC 2 Select default Sets the line spacing line spacing o 1 6 inch eeeeee e e e e e ESC 3 Set line Sets the line spacing e oo oo o e e e e e spacing o a specified value ESC Return home oves the print head o the home position e 0000 e e e ESC Select Selects the device peripheral o which the host device computer sends e e e e e data ESC Canceluser Cancels the user defined defined characters e e e e characters for a specified character code The commands supported by each printer are marked by a or a O The functions of the commands marked by a O may differ depending on the printer model GE Supported Command Command Name Function TM TM T Series TM L Series TM U200 TM 300 300M TM TM U375 TM TM U950 TM TM 2671 ren T80 T80M T85 L60 L60ll B D A B c p 270 TM U375M U925 TM U950M 215S 295 ESC Initialize Clears the
85. tarting position in page mode specified by n as shown below The default setting is n 0 This command is enabled only in page mode If this command is entered in standard mode an internal flag is activated and the command is enabled when the printer returns to page mode n Print Direction Starting Position gt 0 48 Left to right Upper left A in the figure 1 49 Bottom to top Lower left B in the figure 2 50 Right to left Lower right C in the figure 3 51 Top to bottom Upper right D in the figure A gt B V Printing area lt uor3qaoS arp pees z deda The parameters for the horizontal or vertical motion units x or y differ depending on the starting position of the printing area as follows If the starting position is the upper left or lower right of the printing area 1 0 2 48 or 50 If the starting position is the upper right or lower left of the printing area n 1 3 49 or 51 1 34 Command Descriptions LI These commands use horizontal motion units ESC SP ESC ESC L These commands use vertical motion units ESC 3 ESC J GS GS 1 These commands use horizontal motion units ESC 3 ESC J GS GS LI These commands use vertical motion units ESC SP ESC ESC Rev A TM L 0II L601IP Information Manual Program Example Print Sample
86. ters x 6 pages LI Paper size Thermal paper 59 0 60 5 W mm x 83 0 mm diameter Thermal label 59 5 61 0 W mm x 83 0 mm diameter Q Interface RS 232 serial interface Or IEEE 1284 parallel interface LI Receive buffer 4K or 45 bytes selectable by DIP switch Rev A iii Chapter 1 Command Descriptions TM L601I L60IIP Information Manual Following this table are all the commands organized by function and described with program examples and print samples Supported Commands Command Name Function type ES HT Horizontal tab Print position 1 31 LF Print and line feed Print 1 5 Print and return to standard mode in page mode Eh us d Q Print and feed label to print starting position e on label Print 1 9 CR Print and carriage return Print 1 6 CAN Cancel print data in page mode Character 24 DLE EOT Real time status transmission Status 44 ESC FF Print data in page mode Print 1 8 ESC SP Set right side character spacing Character 12 ESC Select print mode s Character 17 ESC Set absolute print position Print position 29 ESC Select cancel user defined character set Character 1 13 ESC amp Define user defined characters Character 1 13 ESC Select bit image mode Bit image 1 37 ESC Turn underline mode on off Character 1 18 ESC 2 Select defaut line spacing Line spacing 1 10 ESC 3 Set line spacing Line spa
87. the paper selection DIP switch and is enabled only in standard mode Program Example Print Sample PRINT 1 AAAAA CHR amp HA AARAA PRINT 1 BBBBB CHR amp H1D CHR amp HC BBBBB PRINT 1 CCCCC CHR amp HA V ccccc J Rev A Command Descriptions 1 9 Line Spacing Commands The TM L60II L60IIP printers support the following commands for setting line spacing These commands only set the line spacing they do not actually advance the paper The line spacing set using these commands affects the results of the LF and ESC d commands The paper is advanced using the paper feed button PAPER FEED Command Name ESC2 Select default line spacing ESC3 Set line spacing ESC2 Name Select default line spacing Format ASCII ESC 2 Hex 1B 32 Decimal 27 50 ESC3n Name Set line spacing Format ASCII ESC 3 Hex 1B 33 Decimal 27 51 Range 0 lt n lt 255 ESC 2 sets the line spacing to 1 6 inch This is equivalent to 30 dots ESC 3 n sets the line spacing to n x vertical or horizontal motion unit inches The default setting of the paper feed amount is 1 6 inch n 60 The maximum line spacing amount is 40 inches When standard mode is selected the vertical motion unit set by GS P is used When page mode is selected the vertical or horizontal motion unit set by GS P is used for the print direction set by ESC T PRINT NEXT n PRINT 1 PRINT 1 PRINT 1 Program Exam
88. the same way as Ee o o oleeleeeeo e e e e o feed is disobled This command prints the data in the print buffer and does not feed the paper CAN Cancel print Clears all the print data in page data in the printing e e e e mode area in page mode RS Journal tab Moves the print position to the e beginning of the journal paper DLE EOT Real time Transmits a specified status status in real time e e ee e e e e transmission DLE EOT BS Real time Transmits MICR MICR status status in real time O O transmission DLE ENQ Real time Responds to a request to request from the host printer computer upon e e Oo e e e receiving this command ESC FF Print data in Prints the data in the page mode print buffer in page e e mode ESC SP Set right side Sets the right side character character spacing elei e e e e spacing The commands supported by each printer are marked by a 6 or a O The functions of the commands marked by a O may differ depending on the printer model jonuvyy uoyvwaofu q1109 1 109 1 A L 8 Supported Command Command Name Function TM TM T Series TM L Series TM U200 TM 300 300M TM TM U375 TM TM U950 TM TM D A B c p 270 TM U375M U925 TM U950M 215S 295 ESC Select print Selects a print eo ooo o e e e e e mode s mode s ESC Set absolute Sets the prin
89. tion GSc Print counter GSC 0 Select counter print mode GSC1 Select count mode A GSC2 Set counter GSC Select count mode B ESC Name Initialize printer Format ASCII ESC Hex 1B 40 Decimal 27 64 ESC initializes the printer All settings including character font and line spacing settings are canceled Program Example Print Sample PRINT 1 CHR amp H1B CHRS 56 PRINT 1 AAAAA CHRS amp HA PRINT 1 CHRS amp H1B Q PRINT 41 BBBBB CHR S amp HA AAAAA BBBBB lt a11 settings are canceled after ESC is executed Rev A Command Descriptions 1 57 GSPxy Name Set horizontal and vertical motion units Format ASCII GS P x Hex 1D 50 x Decimal 29 80 x Range E 2 255 0 lt y lt 255 GS P x y sets the horizontal and vertical motion units to 1 x and 1 y inches respectively The horizontal and vertical motion units indicate the minimum pitch used for calculating the values of related commands shown below The default values are x 180 and y 360 The calculated result when using this command with other commands is truncated to the minimum value of the mechanical pitch 1 180 inch horizontal and 1 360 inch vertical or an exact multiple of that minimum value When x and y are set to 0 the default setting of each value is used Commands used with the horizontal motion unit 1 x in standard mode ESC SP ESC ESC N GS L and GS W Commands used with the vertical motion
90. to less than the width of one character the printing area width is extended to accommodate one character for the line The horizontal motion units use the horizontal value set by the GS P command The default setting of the horizontal motion unit is 1 180 inches PRINT PRINT PRINT PRINT PRINT 1 1 1 1 1 Program Example CHR amp H1D P CHRS 180 CHR 180 01234567890123456789 CHRS amp HA CHRS amp H1D L CHR 60 CHRS 0 CHR amp H1D W CHR 120 CHRS 0 01234567890123456789 CHRS amp HA Print Sample 01234567890123456789 0123456789 0123456789 Left Printing area margin width 1 32 Command Descriptions Rev A TM L 0II L601IP Information Manual ESC W xL xH yL yH dxL dxH dyL dyH Name Set printing area in page mode Format ASCII ESC W XL XH yL yH dxL dxH dyL dun Hex 1B 57 XL XH yL yH dxL dxH dyL dun Decimal 27 87 XL XH yL yH dxL dxH dyL dun Range 0 lt xL XH yL VH dxL dxH dyL dyH lt 255 except for dxL dxH 0 or dyL dun 0 ESC W xL xH yL yH dxL dxH dyL dun sets the size and position of the printing area in page mode as follows Horizontal starting position xL xH x 256 x horizontal motion unit inches Vertical starting position yL yH x 256 x vertical motion unit inches Printing area width dxL dxH x 256 x horizontal motion unit inches Printing area height dyL dyH x 256
91. unit 1 y in standard mode ESC 3 ESC J and GS A Commands used with the horizontal and vertical motion units 1 x and 1 y in page mode either x or y can be used depending on the print direction set with ESC T ESC SP ESC ESC ESC 3 ESC J ESC W GS and GS N Program Example Print Sample PRINT 1 CHR amp H1D P CHR 180 CHRS 180 AAAAA PRINT 1 CHR amp H1B 3 CHR 30 set line spacing BBBBB vo 30 180 inch line spacing PRINT 1 AAAAA CHRS amp HA CCCCC AN PRINT 1 BBBBB CHRS amp HA PRINT 1 CHR amp H1D P CHR 180 CHRS 90 DDDDD WW 30 90 inch line spacing PRINT 1 CHRS amp H1B 3 CHRS 30 lt Set line spacing PRINT 1 CCCCC CHRS amp HA EEEEE Y PRINT 1 DDDDD CHRS amp HA PRINT 1 EEEEE CHRS amp HA 1 58 Command Descriptions Rev A TM L 0II L601IP Information Manual GSIn Name Transmit printer ID Format ASCII GS I Hex 1D 49 Decimal 29 73 Range 1 lt n lt 3 49 lt n lt 51 GS In transmits the printer ID specified by n as follows Each printer ID consists of 1 byte of data n Printer ID 1 49 Printer model ID Specification ID hexadecimal TM L OII L6OIIP OBH 2 50 Type ID Seetable below 3 51 ROM version ID Depends on ROM version Type ID n 2 or 50 0 Off 00 0 Bit Off On Hex Decimal Function Two byte character co
92. utton is enabled regardless of the setting of this command When using the GS FF command or when the printer is in macro execution standby the PAPER FEED button is enabled regardless of the setting of this command Program Example PRINT 1 CHR amp H1B c5 CHR 1 Disable panel buttons Rev A Command Descriptions 1 25 Paper Sensor Commands The TM L60II L60IIP printers support the following commands for controlling the paper sensor s that stop printing and output paper end signals Command Name ESC c4 Select paper sensor s to stop printing ESC c3 Select paper sensor s to output paper end signals ESC c4n Name Select paper sensor s to stop printing Format ASCII ESC c 4 n Hex 1B 63 34 n Decimal 27 99 52 n Range 0 lt n lt 255 ESC c 4 n selects the paper sensor that stops printing when the paper runs out The default setting is when all paper sensors are disabled n 0 Bits 0 and 1 indicate the same sensor If one of the bits is enabled the paper roll near end sensor is selected to stop printing The paper roll sensor is always enabled and when a paper end is detected the printer stops printing When the paper roll near end sensor is enabled and if the sensor detects a near end condition during printing the printer stops printing and goes off line automatically after the current printing Replacing a new paper roll starts the printing again When the paper roll near end sensor is disabled and if a p
93. ware extension e ESC a Select justification Software extension e GS Set absolute vertical print Software extension e position in page mode GSL Set left margin Software extension e GSW Set printing area width Software extension GS N Set relative vertical print position Software extension in page mode Status commands DLE EOT Real time status transmission Hardware extension e DLE EOT BS Transmit real time MICR status Hardware extension ESCu Transmit peripheral device status Hardware extension e ESC v Transmit paper sensor status Hardware extension o GS ENQ Transmit real time printer status Hardware extension GSa Enable disable Automatic Hardware extension e Status Back ASB GSr Transmit status Hardware extension e The TM L60II L60IIP supports the commands marked with a in the Supported Command column Rev A Command Reference 3 3 Supported Function Type Command Name Matrix Category Command Bit image commands ESC Select bit image mode Basic single e GS K Define downloaded bit image Software extension e GS Print downloaded bit image Software extension e Bar code commands GSH Select printing position of HRI Software extension e characters GSf Select font for HRI characters Software extension e GSh Set bar code height Software extension e GSk Print bar code Software extension e GSw Set bar code width Softwa
Download Pdf Manuals
Related Search
Related Contents
ASUS K551LN-XX182H notebook EVALST7540-2 - STMicroelectronics UM0715 User manual APC Category 6 Patch Panel User`s Manual Sitecom Wireless Dualband USB Adapter ModelSim Tutorial DOSSIER RESSOURCE Crimzon RC Bullet Reference Design Kit v1.2 - Digi-Key Manual do Utilizador do telefone Nokia 2650 カタログの見方/品名索引 Copyright © All rights reserved.
Failed to retrieve file