background image

C O N F I D E N T I A L

Paper roll

 

Miscellaneous commands     GS C 1

Ver. 4.0

p. 1328

GS C 1 

[Name]

Select count mode (A) 

[Format]

ASCII

GS

C

1

a

L

a

H

b

L

b

H

n

r

Hex

1D

43

31

a

L

a

H

b

L

b

H

n

r

Decimal

29

67

49

a

L

a

H

b

L

b

H

n

r

[Range]

≤ 

 

a

L

 

 255, 0 

≤ 

 

a

H

 

 255 

≤ 

 

b

L

 

 255, 0 

≤ 

 

b

H

 

 255

≤ 

 

n

 

 255, 0 

≤ 

 

r

 

 255

[Default]

a

L

 

= 1, 

a

H

 = 0, 

b

L

 

= 255, 

b

H

 = 255, 

= 1, 

r

 = 1

[Printers not featuring this command]

TM-T88II,

 

TM-U200B/D,

 

TM-U300A/B

[Description]

Selects a count mode for the serial number counter.

aL

aH

 and 

bL

bH

 specify the counter ranges (maximum or minimum value).

n

 specifies the stepping amount when counting up or down.

r

 specifies the repetition number of printing for the same counter value.

Count mode Conditions

Minimum value Maximum value

Count-up

aL 

aH 

× 

256 < 

bL 

bH 

× 

256 and  

≠ 

0 and 

≠ 

0

aL 

aH 

× 

256

bL 

bH 

× 

256

Count-down

aL 

aH 

× 

256 > 

bL 

bH 

× 

256 and  

≠ 

0 and 

≠ 

0

bL 

bH 

× 

256

aL 

aH 

× 

256

Count-stop

aL 

aH 

× 

256 = 

bL 

bH 

× 

256 or  

0 or 

0

■ ■ ■

  

more

■ ■ ■

  

more

Summary of Contents for ESC/POS TM-L60II

Page 1: ...ESC POS Paper roll printers EPSON EPSON TM U200B D TM T88II TM L60II Features Technical Information Commands listed by function Commands listed in alphanumeric order Character code tables Usable application programs and tips Definitions TM U300A B CONFID CONFID CONFIDENTIAL ...

Page 2: ...ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS TM T88II Features Specifications Self test Hex dump Supported commands EPSON EPSON CONFID CONFID CONFIDENTIAL ...

Page 3: ...ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS TM L60II Features Specifications Self test Hex dump Supported commands EPSON EPSON CONFID CONFID CONFIDENTIAL ...

Page 4: ...ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS TM U200B D Features Specifications Self test Hex dump Supported commands EPSON EPSON CONFID CONFID CONFIDENTIAL ...

Page 5: ...ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS ESC POS TM U300A B Features Specifications Self test Supported commands EPSON EPSON CONFID CONFID CONFIDENTIAL ...

Page 6: ...ustrates ESC POS command functions and printing results It shows a receipt issue processing and its procedure using the TM U200B Print Sample USABLE APPLICATION PROGRAMS AND TIPS more more E P S O N Thank you January 14 1998 15 00 TM U200B TOTAL PAID CHANGE 20 00 58 00 60 00 2 00 Stamp Item A Cutting Position Item B Date and Time TM U200D PS 170 21 00 17 00 ...

Page 7: ...line data being continuous 2 Print date and time ESC a ESC d Specifies a print position to the left by using the ESC a command after printing the date and time in the center of the paper roll 3 Print Item A ESC t ESC LF Selects the 7 x 9 font by using the ESC command and prints the Item A 4 Print Item B ESC ESC U LF Specifies double height by using the ESC command and prints TOTAL in the unidirect...

Page 8: ...s the left print position PRINT 1 CHR H1B CHR 1 Selects 7 x 9 font PRINT 1 TM U200B 20 00 CHR HA PRINT 1 TM U200D 21 00 CHR HA PRINT 1 PS 170 17 00 CHR HA PRINT 1 CHR HA PRINT 1 CHR H1B CHR 17 Selects double height mode PRINT 1 CHR H1B U CHR 1 Selects uni directional printing PRINT 1 TOTAL 58 00 CHR HA PRINT 1 CHR H1B U CHR 0 Cancels uni directional printing PRINT 1 CHR H1B CHR 0 Cancels double he...

Page 9: ...ng PRINT 1 CHR H1B U CHR 1 Selects uni directional printing PRINT 1 CHR H1B a CHR 1 Selects center print position PRINT 1 CHR H1B CHR 48 Selects double height and double width modes For I 1 T0 14 2 READ d PRINT 1 CHR VAL H d NEXT I PRINT 1 CHR H1B CHR 0 Cancels double height and double width modes PRINT 1 Thank you CHR HD Printing with CR more more Prints stamp ...

Page 10: ...RINT 1 CHR H1B CHR 48 Selects double height and double width modes FOR I 1 TO 14 READ d PRINT 1 CHR VAL H d NEXT I PRINT 1 CHR H1B U CHR 0 Cancels uni directional printing PRINT 1 CHR HB 2 RETURN DATA C9 CD CD CD CD CD CD CD CD CD CD CD BB 0A DATA BA 20 20 20 45 50 53 4F 4E 20 20 20 BA 0A DATA BA 20 20 20 20 20 20 20 20 20 20 20 BA 0A DATA C8 CD CD CD CD CD CD CD CD CD CD CD BC 0A more more Prints...

Page 11: ... The program example shows a procedure for overwriting the previous line The program example illustrates printing with CR shown in lines 100 120 and 140 and if you do not have any corrections then you feed paper with LF shown in lines 110 and 150 When you have a correction transmitting character data LF to perform printing on the same line shown in line 130 Sending bit image data instead of charac...

Page 12: ... J Print and feed paper This command is used to adjust line spacing ESC J n has the same printing result as when transmitting LF after setting line spacing with ESC 3 If you use ESC 3 LF you need to reset line spacing when printing the next line If you use ESC J the current line spacing is not changed and it is possible to print the next line without resetting the line spacing Other print commands...

Page 13: ...88II Set DIP switch 2 1 of the TM T88 to On customer display connected insert the plug of the DM D102 firmly into the customer display connector DM D which is on the bottom of the printer and then turn on the printer power Refer to GS k for a bar code printing in detail Print Sample more more YOUR RECEIPT Thank you December 10 1997 15 00 TM T88 TOTAL PAID CHANGE 88 00 105 00 110 00 5 00 Stamp Item...

Page 14: ... for a stamp 3 Stamp ESC a GS ESC J LF ESC d After selecting the center justification for the printing position with ESC a print the stamp downloaded bit image date and time 4 Print an item ESC a HT LF GS ESC d After selecting the left justification for the printing position with ESC a print an item Align the character columns with HT 5 Print a bar code ESC a ESC J GS h GS H GS f GS k Print a mess...

Page 15: ...R 0 Justification left PRINT 1 TM T88 CHR H9 88 00 CHR HA PRINT 1 PS 170 CHR H9 17 00 CHR HA CHR HA PRINT 1 CHR H1D CHR 1 Select font size double height PRINT 1 TOTAL CHR H9 105 00 CHR HA PRINT 1 CHR H1D CHR 0 Select font size standard PRINT 1 CHR HA PRINT 1 PAID CHR H9 110 00 CHR HA PRINT 1 CHANGE CHR H9 5 00 PRINT 1 CHR H1B d CHR 3 Print and 3 line paper feed PRINT 1 CHR H1B a CHR 1 Justificatio...

Page 16: ... 55 55 55 42 4A AA AA AA A4 85 00 14 00 02 4A 80 2A 00 04 DATA 85 00 14 00 02 4A 80 2A 00 04 85 00 15 00 02 4A 80 2A 80 04 85 00 15 40 02 DATA 4A 80 2A AA A4 85 55 55 55 42 42 AA A8 AA A4 81 55 50 55 42 40 AA A0 2A A4 DATA 80 55 40 00 02 40 00 00 00 04 80 00 00 00 02 40 00 00 00 04 80 00 00 00 02 DATA 40 00 00 00 04 80 00 00 00 02 40 00 00 00 04 80 00 00 00 02 4A AA AA AA A4 DATA 85 55 55 55 42 4A...

Page 17: ...42 4A AA AA AA A4 DATA 85 00 14 00 02 4A 80 2A 00 04 85 00 14 00 02 4A 80 2A 00 04 85 00 14 00 02 DATA 4A 80 2A 00 04 85 00 14 00 02 4A 80 2A 00 04 85 55 54 00 02 42 AA A8 00 04 DATA 81 55 50 00 02 40 AA A0 00 04 80 55 40 00 02 40 00 00 00 04 80 00 00 00 02 DATA 4A 80 00 00 04 85 00 00 00 02 4A 80 00 00 04 85 00 00 00 02 4A 80 00 00 04 DATA 85 00 00 00 02 4A 80 00 00 04 85 00 00 00 02 4A AA AA AA ...

Page 18: ... is selected a character and a bar code can be overlapped but the bar code cannot be read Be sure to check data layout so that a bar code can be read Basic processing for bar code printing example Procedures 1 Select a bar code height with GS h The height of a HRI character cannot be selected by GS h 2 Select a bar code width with GS w 3 Select the printing position for HRI characters with GS H 4 ...

Page 19: ...be printed with a bar code set by GS k 4 The number of bar code data is few when selecting UPC A UPC E JAN13 EAN13 or JAN8 EAN8 with GS k 5 When selecting ITF bar code with GS k bar code data is odd number 6 When selecting CODE128 with GS k the first data is none of CODE A CODE B and CODE C There might be character data which is not included in the specified code set 7 When processing GS k in stan...

Page 20: ...and functions and printing results The example shows a coupon issue processing and its procedure using page mode function with the TM T88II You can use the page mode to rotate data so that you can print characters bar codes and bit images that would not fit in the printable area in the standard mode Print Sample more more Paper feed direction ...

Page 21: ...ng area for message data with ESC W and the printing direction with ESC T Select a character size with GS and transmit message data 4 Transmit data for symbols A and B ESC W ESC T ESC 3 ESC Select the printing area for symbol data with ESC W and the printing direction with ESC T Transmit data for symbols A and B as bit image 5 Transmit bar code data ESC W ESC T GS H GS f GS h GS w GS GS k Select t...

Page 22: ...om n 15 GOSUB Edge PRINT 1 CHR H1B W CHR 140 CHR 0 CHR 118 CHR 0 CHR 104 CHR 1 CHR 16 CHR 2 PRINT 1 CHR H1B T CHR 1 Select printing direction bottom to up PRINT 1 CHR H1D CHR 17 PRINT 1 CHR HA Merry Christmas CHR HA CHR HA PRINT 1 CHR H1D CHR 16 PRINT 1 10 OFF COUPON CHR H1B J CHR 200 PRINT 1 EPSON DEPARTMENT STORE PRINT 1 CHR H1B W CHR 50 CHR 0 CHR 76 CHR 2 CHR 72 CHR 0 CHR 68 CHR 0 PRINT 1 CHR H...

Page 23: ...RINT 1 CHR H1D H CHR 2 Select printing position of HRI characters bottom PRINT 1 CHR H1D f CHR 1 Select font for HRI characters font B PRINT 1 CHR H1D h CHR 40 Set bar code height PRINT 1 CHR H1D w CHR 2 Set bar code width PRINT 1 CHR H1D CHR 40 CHR 0 Set absolute vertical print position PRINT 1 CHR H1D k CHR 4 10 OFF CHR 0 PRINT 1 CHR H1B CHR HC Print data collectively PRINT 1 CHR H1D V CHR 66 CH...

Page 24: ...55 55 75 75 DATA 55 55 75 75 D5 D5 55 55 57 57 5C 5C 40 40 C0 C0 40 40 DATA 00 00 00 00 00 00 00 00 07 07 09 09 7D 7D 10 10 16 16 78 F8 FC 7C 3E 3E DATA 3E 3E 7C FC F8 78 16 16 10 10 7D 7D 09 09 07 07 00 00 00 00 00 00 00 00 DATA 1F 1F 24 24 41 41 42 42 F1 F1 29 29 49 49 AC AC 94 94 AC AC C4 C4 AC AC DATA 94 94 AC AC C4 C4 AC AC 94 94 69 69 49 49 F1 F1 42 42 41 41 24 24 1F 1F DATA F0 F0 48 48 24 2...

Page 25: ...d with ESC L In this mode the print commands other than FF or ESC FF such as LF CR or ESC J only move the printing position and do not execute actual printing Executing ESC S or FF returns to standard mode The page mode is the print mode which prints data one page at a time Basic processing procedure for the page mode 9 Select the page mode with ESC L standard mode is changed to page mode 10 Set t...

Page 26: ...rs at the same time Ladder bar code printing is possible Characters and bit images can be rotated 90 clockwise 180 clockwise upside down or 90 counterclockwise Data can be processed only in normal dot units Data cannot be processed in half dot units in the page mode Copy printing is possible Because printing with ESC FF enables storing of data in the print buffer executing ESC FF repeatedly result...

Page 27: ...r 4 0 p 964 System Processing This example illustrates ESC POS command functions and printing results The example shows how to issue a label containing bar codes Print Sample more more EPSON Rental Video 0 0 0 0 1 NAME Jan 10 1998 EPSON Rental Video 0 0 0 0 2 NAME Jan 10 1998 ...

Page 28: ...cting the height of the bar code with GS h the printing position of the HRI characters with GS H and the font with GS f 3 Print NAME ESC ESC J Prints NAME using ESC J Adds an underline to NAME 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 fed forward to the position ...

Page 29: ...ting position for HRI characters PRINT 1 CHR H1D f CHR 1 Selects HRI characters PRINT 1 CHR H1D h CHR 35 Sets bar code height PRINT 1 CHR H1D k CHR 4 NO CHR 0 PRINT 1 CHR H1B J CHR 5 PRINT 1 CHR H1B CHR 2 Sets underline width to 2 dots PRINT 1 NAME PRINT 1 CHR H1B J CHR 70 PRINT 1 CHR H1B CHR 0 Cancels previous character print mode PRINT 1 CHR H1B a CHR 2 Selects right print position PRINT 1 CHR H...

Page 30: ...r program The printer executes the following 1 Executes printing the last line on the label 2 Ejects the label to the position where it can be peeled off 3 Blinks the paper LED 4 Waits for the paper feed button to be pressed 5 After the paper feed button is pressed it feeds the label to the print starting position using reverse paper feed Be sure to press the paper feed button after peeling the la...

Page 31: ...6 Character data bit image data and serial counter can be printed on the same printing line Example for using the serial counter when making labels with a different number for each Procedures 1 GS C 0 sets print columns print position and print style for the serial counter 2 GS C 1 sets the minimum value maximum value and the number of the step amount for increment and decrement and the repetition...

Page 32: ...les Ver 4 0 p 969 Character code tables SP in a table represents space See Using the character code tables for information on how to read these tables Page 0 PC437 U S A Standard Europe International character set U S A CHARACTER CODE TABLES more more FS ...

Page 33: ...C O N F I D E N T I A L Paper roll Character code tables Ver 4 0 p 970 Page 1 Katakana more more ...

Page 34: ...C O N F I D E N T I A L Paper roll Character code tables Ver 4 0 p 971 Page 2 PC850 Multilingual more more ...

Page 35: ...C O N F I D E N T I A L Paper roll Character code tables Ver 4 0 p 972 Page 3 PC860 Portuguese more more ...

Page 36: ...C O N F I D E N T I A L Paper roll Character code tables Ver 4 0 p 973 Page 4 PC863 Canadian French more more ...

Page 37: ...C O N F I D E N T I A L Paper roll Character code tables Ver 4 0 p 974 Page 5 PC865 Nordic more more ...

Page 38: ...decimal value for the character A is 65 Follow its column straight up to find the digits Hexadecimal 4 Binary 0100 These numbers are the most significant bits of the ASCII code Follow its row to the left to find the digits Hexadecimal 1 Binary 0001 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 65 Hexade...

Page 39: ...e Bar code printing is possible by using a bar code command Bar codes can be printed both in the vertical direction fence bar code and in the horizontal direction ladder bar code Repeated operation and copy printing are possible by using macro definitions Character font size 12 24 font or 9 17 font can be selected using a command Easy paper roll setting Equipped with an autocutter The printer allo...

Page 40: ... lines second 1 6 inch feed Approximately 70mm second approximately 2 76 inches second When a ladder bar code is printed Approximately 42 mm second approximately 1 7 inches second Dot density 180 dpi W 180 dpi H the number of dots per 25 4 mm Printing width 72 mm 512 dot positions Character specifications Character fonts Font A 12 24 Font B 9 17 Characters per line 42 56 Character size 1 41 mm W 3...

Page 41: ...er feed using the FEED button self test printing and the error state Blinks when an error occurs PAPER OUT red Off when the paper roll is adequate On when paper roll is near end Blinks when the printer is waiting for the button to be pressed Interface RS 232 TM T88II serial interface IEEE 1284 TM T88IIP parallel interface RS 485 dealer option Receive buffer 4K or 45 bytes selectable by DIP switch ...

Page 42: ...NS FOR THE TM T88II SW Function ON OFF 1 1 Data receive error Ignored Convert data to 1 2 Receive buffer capacity 45 bytes 4K bytes 1 3 Handshaking XON XOFF DTR DSR 1 4 Data word length 7 bits 8 bits 1 5 Parity check Enabled Disabled 1 6 Parity selection Even Odd 1 7 Transmission speed 1 8 Transmission speed bits per second BPS SW 1 7 SW 1 8 2400 ON ON 4800 OFF ON 9600 ON OFF 19200 OFF OFF more mo...

Page 43: ...Do not change settings Fixed to Off 2 3 Selects print density Low power consumption mode 2 4 2 5 Reserved Do not change settings Fixed to Off 2 6 Reserved Do not change settings Fixed to Off 2 7 I F pin 6 reset signal Enabled Disabled 2 8 I F pin 25 reset signal Enabled Disabled Print density SW 2 3 SW 2 4 Low power consumption mode ON ON 1 Print density Normal OFF OFF 2 ON OFF 3 Print density Dar...

Page 44: ... 2 Receive buffer capacity 45 bytes 4K bytes 1 3 1 8 Undefined SW Function ON OFF 2 1 BUSY condition Receive buffer full or reading data Off line receive buffer full or reading data 2 2 Reserved Do not change settings Fixed to Off 2 3 Selects print density Low power consumption mode 2 4 2 5 2 7 Reserved Do not change settings Fixed to Off 2 8 I F pin 31 reset signal Do not change settings Fixed to...

Page 45: ...N T I A L Paper roll DIP switch functions for the TM T88II Ver 4 0 p 982 Print density Print density SW 2 3 SW 2 4 Low power consumption mode ON ON 1 Print density Normal OFF OFF 2 ON OFF 3 Print density Dark OFF ON ...

Page 46: ...ing Recoverable errors Auto cutter error Unrecoverable errors R W error in memory or gate array High voltage error Low voltage error CPU execution error Internal circuit connection error Data receive errors If the following errors occur with a serial interface the printer processes data depending on the setting of DIP switch 1 1 Parity error Framing error Overrun error ERRORS FOR THE TM T88II ...

Page 47: ... E N T I A L Paper roll Options for the TM T88II Ver 4 0 p 984 Options for the TM T88II EPSON power supply unit PS 170 Affixing tapes model DF 10 RS 485 interface board is a dealer option OPTIONS FOR THE TM T88II ...

Page 48: ...printer covers are closed properly 2 While holding down the FEED button turn on the printer using the power switch to begin the self test The self test prints the printer settings and then prints the following cuts the paper and pauses The PAPER OUT light blinks Self test printing Please press the Paper feed button 3 Press the FEED button to continue printing The printer prints a pattern using the...

Page 49: ...while you turn on the printer 3 Close the cover 4 Run any software program that sends data to the printer The printer prints Hexadecimal Dump and then all the codes it receives in a two column format The first column contains the hexadecimal codes and the second column gives the ASCII characters that correspond to the codes Hexadecimal Dump 1B 21 00 1B 26 02 40 40 1B 25 01 1B 63 34 00 1B c 4 41 42...

Page 50: ...O CR Print and carriage return Print O CAN Cancel print data in page mode Character O DLE EOT Real time status transmission Status O DLE ENQ Real time request to printer Miscellaneous O DLE DC4 Generate pulse at real time Miscellaneous O ESC FF Print data in page mode Print O ESC SP Set right side character spacing Character O ESC Select print mode s Character O ESC Set absolute print position Pri...

Page 51: ...laneous O O ESC D Set horizontal tab positions Print position O ESC E Turn emphasized mode on off Character O ESC G Turn double strike mode on off Character O ESC J Print and feed paper Print O ESC L Select page mode Miscellaneous O ESC M Select character font Character O ESC R Select an international character set Character O ESC S Select standard mode Miscellaneous O ESC T Select print direction...

Page 52: ... printing Paper sensor O ESC c 5 Enable disable panel buttons Panel button O ESC d Print and feed n lines Print O ESC p Generate pulse Miscellaneous O ESC t Select character code table Character O ESC Turn upside down printing mode on off Character O FS g 1 Write to user NV memory Miscellaneous O FS g 2 Read from user NV memory Miscellaneous O FS p Print NV bit image Bit image O FS q Define NV bit...

Page 53: ...ite black reverse printing mode on off Character O GS H Select printing position of HRI characters Bar code O GS I Transmit printer ID Miscellaneous O GS L Set left margin Print position O GS P Set horizontal and vertical motion units Miscellaneous O GS V Select cut mode and cut paper Mechanism control O GS W Set printing area width Print position O GS Set relative vertical print position in page ...

Page 54: ... Turn smoothing mode on off Character O GS f Select font for HRI characters Bar code O GS h Set bar code height Bar code O GS k Print bar code Bar code O GS r Transmit status Status O GS v 0 Print raster bit image Bit image O GS w Set bar code width Bar code O Command Name Function Type Classification Executing Cmds Setting Cmds more more ...

Page 55: ...s 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 font A 12 24 or font B 9 17 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 cont...

Page 56: ...capability for two drawers via the built in interface The power switch is on the front panel of the printer allowing easy operation Bidirectional parallel interface based on the IEEE 1284 Nibble Byte Modes standard Thermal paper or thermal label can be selected via DIP switch settings ...

Page 57: ...hermal label 30 40 Character size 1 41 mm W 3 39 mm H 99 mm W 3 39 mm H Character sets ASCII 95 characters International 32 characters Extended graphics 128 characters 6 pages Paper specifications Paper type Paper roll Specified thermal paper Nakagawa Seisakujo NTP080 80 Thermal label Specified thermal paper 1 inch long 25 4 mm label Nakagawa Seisakujo NTL 060 80 Paper size Paper roll 59 0 to 60 0...

Page 58: ...inter is waiting for the PAPER FEED button to be pressed in the following Self test standby state GS execution standby state GS FF execution standby state ERROR red Off when the printer is in normal operation On when the printer is off line except during paper feed using the PAPER FEED button and during the self test Blinks when an error occurs Interface RS 232 TM L60II serial interface IEEE 1284 ...

Page 59: ...NS FOR THE TM L60II SW Function ON OFF 1 1 Data receive error Ignored Convert data to 1 2 Receive buffer capacity 45 bytes 4K bytes 1 3 Handshaking XON XOFF DTR DSR 1 4 Data word length 7 bits 8 bits 1 5 Parity check Enabled Disabled 1 6 Parity selection Even Odd 1 7 Transmission speed 1 8 Transmission speed bits per second BPS SW 1 7 SW 1 8 2400 ON ON 4800 OFF ON 9600 ON OFF 19200 OFF OFF more mo...

Page 60: ...e buffer full Off line or receive buffer full 2 2 Selects print density 2 3 2 4 Reserved Setting must not be changed Fixed to Off 2 5 Fixed to On 2 6 Paper selection Thermal label Thermal paper 2 7 I F pin 6 reset signal Enabled Disabled 2 8 I F pin 25 reset signal Enabled Disabled Print density SW 2 2 SW 2 3 1 Light ON ON 2 OFF OFF 3 ON OFF 4 Dark OFF ON more more ...

Page 61: ...ed Always disabled 1 2 Receive buffer capacity 45 bytes 4K bytes 1 3 Handshaking BUSY condition Receive buffer full or reading data Off line receive buffer full or reading data 1 4 Select print density 1 5 1 6 Reserved Setting must not be changed Fixed to On 1 7 Paper selection Thermal label Thermal paper 1 8 Undefined Print density SW 1 2 SW 1 3 1 Light ON ON 2 OFF OFF 3 ON OFF 4 Dark OFF ON ...

Page 62: ...rable errors Label detection error Unrecoverable errors R W error in memory or gate array High voltage error Low voltage error CPU execution error Thermistor error Data receive errors If the following errors occur with a serial interface the printer processes data depending on the setting of DIP switch 1 1 Parity error Framing error Overrun error ERRORS FOR THE TM L60II ...

Page 63: ...C O N F I D E N T I A L Paper roll Options for the TM L60II Ver 4 0 p 1000 Options for the TM L60II EPSON power supply unit PS 150 OPTIONS FOR THE TM L60II ...

Page 64: ...ers are closed properly 2 While holding down the PAPER FEED button turn on the printer using the power switch to begin the self test The self test prints the printer settings and then prints the following and pauses The PAPER light blinks Self test printing Please press the Paper feed button 3 Press the PAPER FEED button to continue printing The printer prints a pattern using the resident characte...

Page 65: ...utton while you turn on the printer 3 Close the cover 4 Run any software program that sends data to the printer The printer prints Hexadecimal Dump and then all the codes it receives in a two column format The first column contains the hexadecimal codes and the second column gives the ASCII characters that correspond to the codes Hexadecimal Dump 1B 21 00 1B 26 02 40 40 1B 25 01 1B 63 34 00 1B c 4...

Page 66: ...mode in page mode 2 Print and feed label to print starting position on label Print O CR Print and carriage return Print O CAN Cancel print data in page mode Character O DLE EOT Real time status transmission Status O ESC FF Print data in page mode Print O ESC SP Set right side character spacing Character O ESC Select print mode s Character O ESC Set absolute print position Print position O ESC Sele...

Page 67: ...s O O ESC D Set horizontal tab positions Print position O ESC E Turn emphasized mode on off Character O ESC G Turn double strike mode on off Character O ESC J Print and feed paper Print O ESC L Select page mode Miscellaneous O ESC R Select an international character set Character O ESC S Select standard mode Miscellaneous O ESC T Select print direction in page mode Print position O ESC V Turn 90 c...

Page 68: ...anel button O ESC d Print and feed n lines Print O ESC p Generate pulse Miscellaneous O ESC t Select character code table Character O ESC u Transmit peripheral device status Status O ESC v Transmit paper sensor status Status O ESC Turn upside down printing mode on off Character O GS FF Print and eject label Print O GS Select character size Character O GS Set absolute vertical print position in pag...

Page 69: ...er print mode Miscellaneous O GS C 1 Select count mode A Miscellaneous O GS C 2 Select counter print mode Miscellaneous O GS C Select counter mode B Miscellaneous O GS H Select printing position of HRI characters Bar code O GS I Transmit printer ID Miscellaneous O GS L Set left margin Print position O GS P Set horizontal and vertical motion units Miscellaneous O GS W Set printing area width Print ...

Page 70: ...k ASB Status O O GS b Turn smoothing mode on off Character O GS c Print counter Miscellaneous O GS f Select font for HRI characters Bar code O GS h Set bar code height Bar code O GS k Print bar code Bar code O GS r Transmit status Status O GS w Set bar code width Bar code O Command Name Function Type Classification Executing Cmds Setting Cmds more more ...

Page 71: ...or both for moving the carriage and for paper feeding Flexible paper feed pitch setting permits printing in accordance with any user defined format Command protocol based on the ESC POS standard Built in drawer kick interface provides capability to drive two drawers Selectable character fonts 7 9 9 9 Semi automatic paper loading capability AC adapter provides compact power supply Automatic status ...

Page 72: ...16 13 3 with 3 half dots CPI 17 8 14 5 with 2 half dots CPI Character size ANK 1 2 mm W 3 1 mm H 1 6 mm W 3 1 mm H Graphics 1 7 mm W 3 1 mm H 2 0 mm W 3 1 mm H with 3 half dots spacing 1 6 mm W 3 1 mm H 1 9 mm W 3 1 mm H with 0 dots spacing Character sets ASCII 95 characters International 32 characters Extended graphics 128 characters 6 pages Paper specifications Paper type Paper roll Normal paper...

Page 73: ...he printer is turned on PAPER OUT red Off when the paper roll is adequate On when the paper roll is near end or at end Blinks when the printer is in the self test printing standby state or in the on line recovery wait time state after automatic paper feed ERROR red Off when the printer is in normal operation On when the printer is off line except during paper feed using the FEED button and during ...

Page 74: ...Function ON OFF 1 1 Data receive error Ignored Convert data to 1 2 Receive buffer capacity 40 bytes 1K bytes 1 3 Handshaking XON XOFF DTR DSR 1 4 Data word length 7 bits 8 bits 1 5 Parity check Enabled Disabled 1 6 Parity selection Even Odd 1 7 Baud rate selection 4800 bps 9600 bps 1 8 BUSY condition When the receive buffer is full When the receive buffer is full at an off line state more more ...

Page 75: ...the TM U200 Ver 4 0 p 1012 DIP switch 2 SW Function ON OFF 2 1 Selects number of characters per line CPL 7 9 font 9 9 font 42 CPL 35 CPL 40 CPL 33 CPL 2 2 Print head unit Ab type Ca type 2 3 Pin 6 reset signal Used Not used 2 4 Pin 25 reset signal Used Not used ...

Page 76: ...s Home position detection error Auto cutter error Unrecoverable errors High voltage error Low voltage error CPU execution error Print head temperature detection circuit error Data receive errors If the following errors occur with a serial interface the printer processes data depending on the setting of DIP switch 1 1 Parity error Framing error Overrun error ERRORS FOR THE TM U200 ...

Page 77: ... I A L Paper roll Options for the TM U200 Ver 4 0 p 1014 Options for the TM U200 EPSON power supply unit PS 170 Paper roll near end detector a dealer option Printer fastening tape Model No DF 10 OPTIONS FOR THE TM U200 ...

Page 78: ...printer is turned off and the printer covers are closed properly 2 While holding down the FEED button turn on the printer using the power switch to begin the self test The self test prints the printer settings and then pauses The PAPER OUT light blinks Self test printing Please press the Paper feed button 3 Press the FEED button to continue printing The printer prints a pattern using the resident ...

Page 79: ...while you turn on the printer 3 Close the cover 4 Run any software program that sends data to the printer The printer prints Hexadecimal Dump and then all the codes it receives in a two column format The first column contains the hexadecimal codes and the second column gives the ASCII characters that correspond to the codes Hexadecimal Dump 1B 21 00 1B 26 02 40 40 1B 25 01 1B 63 34 00 1B c 4 41 42...

Page 80: ...us transmission Status O DLE ENQ Real time request to printer Miscellaneous O ESC SP Set right side character spacing Character O ESC Select print mode s Character O ESC Select cancel user defined character set Character O ESC Define user defined characters Character O ESC Select bit image mode Bit image O ESC Turn underline mode on off Character O ESC 2 Select default line spacing Line spacing O ...

Page 81: ...rse feed Print O ESC R Select an international character set Character O ESC U Turn unidirectional printing mode on off Mechanism control O ESC a Select justification Print position O ESC c 3 Select paper sensor s to output paper end signals Paper sensor O ESC c 4 Select paper sensor s to stop printing Paper sensor O ESC c 5 Enable disable panel buttons Panel button O ESC d Print and feed n lines ...

Page 82: ...printing mode on off Character O GS A Execute test print Miscellaneous O GS I Transmit printer ID Miscellaneous O GS V Select cut mode and cut paper Mechanism control O GS a Enable disable Automatic Status Back ASB Status O O GS r Transmit status Status O GS z 0 Set on line recovery wait time Status O Command Name Function Type Classification Executing Cmds Setting Cmds more more ...

Page 83: ...paper feed Selectable paper feed pitch for various formats Command protocol based on the ESC POS standard The built in interface provides control capability for two drawers Selectable character font 7 9 or 9 9 Compact and light weight Semi automatic paper loading Compact AC adapter power supply With an autocutter executes a full cut or partial cut of the paper by selecting a command Full cut and p...

Page 84: ...aracters per line 40 33 Character size ANK 1 24 mm W 3 1 mm H 1 56 mm W 3 1 mm H with 3 half dots spacing Graphics 1 59 mm W 3 1 mm H 1 91 mm W 3 1 mm H Character sets ASCII 95 characters International 32 characters Extended graphics 128 characters 6 pages Paper specifications Paper type Paper roll Normal paper Pressure sensitive paper Number of copies maximum 1 original 2copies Paper size 75 5 to...

Page 85: ...ear end Blinks when the printer detects an error the printer is in the self test standby state or printing stops because of exceeding the allowable print duty cycle Interface RS 232 TM U300A and TM U300B serial interface Centronics compatible TM U300PA and TM U300PB parallel interface Receive buffer With a serial interface 1K or 40 bytes selectable by DIP switch With a parallel interface 1K or 0 b...

Page 86: ...tch 1 DIP SWITCH FUNCTIONS FOR THE TM U300 SW Function ON OFF 1 1 Data receive error Ignored Convert data to 1 2 Receive buffer capacity 40 bytes 1K bytes 1 3 Handshaking XON XOFF DTR DSR 1 4 Data word length 7 bits 8 bits 1 5 Parity check Enabled Disabled 1 6 Parity selection Even Odd 1 7 Transmission speed 1 8 1 9 Internal use Do not change the settings 1 10 more more ...

Page 87: ...TM U300PA and TM U300PB DIP switch 1 Transmission speed bits per second BPS SW 1 7 SW 1 8 1200 ON ON 2400 OFF ON 4800 ON OFF 9600 OFF OFF SW Function ON OFF 1 1 Auto line feed Always enabled Depends on AUTO FEED XT signal 1 2 Receive buffer capacity 0 byte 1K bytes 1 3 1 8 Internal use Do not use the settings of DIP switches ...

Page 88: ...the TM U300 Home position detection error Auto cutter position detection error Data receive errors If the following errors occur with a serial interface the printer processes data depending on the setting of DIP switch 1 1 Parity error Framing error Overrun error ERRORS FOR THE TM U300 ...

Page 89: ...C O N F I D E N T I A L Paper roll Options for the TM U300 Ver 4 0 p 1026 Options for the TM U300 No options OPTIONS FOR THE TM U300 ...

Page 90: ...turned off and the printer covers are closed properly 2 While holding down the FEED button turn on the printer using the power switch to begin the self test The self test prints the printer settings and then prints the following and pauses The PAPER light blinks Self test printing Please press the Paper feed button 3 Press the FEED button to continue printing The printer prints a pattern using the...

Page 91: ...de character spacing Character O ESC Select print mode s Character O ESC Select cancel user defined character set Character O ESC Define user defined characters Character O ESC Select bit image mode Bit image O ESC Turn underline mode on off Character O ESC 2 Select default line spacing Line spacing O ESC 3 Set line spacing Line spacing O ESC Return home Mechanism control O ESC Initialize printer ...

Page 92: ...Paper sensor O ESC c 4 Select paper sensor s to stop printing Paper sensor O ESC c 5 Enable disable panel buttons Panel button O ESC d Print and feed n lines Print O ESC e Print and reverse feed n lines Print O ESC i Partial cut one point left uncut Mechanism control O ESC m Partial cut three points left uncut Mechanism control O ESC p Generate pulse Miscellaneous O ESC r Select print color Charac...

Page 93: ...pported commands Ver 4 0 p 1030 ESC v Transmit paper sensor status Status O ESC Turn upside down printing mode on off Character O GS E Select head control method Miscellaneous O Command Name Function Type Classification Executing Cmds Setting Cmds ...

Page 94: ...Horizontal tab Print position LF Print and line feed Print FF 1 Print and return to standard mode in page mode Print 2 Print and feed label to print starting position on label CR Print and carriage return Print CAN Cancel print data in page mode Character DLE EOT Real time status transmission Status DLE ENQ Real time request to printer Miscellaneous DLE DC4 Generate pulse at real time Miscellaneou...

Page 95: ... peripheral device Miscellaneous ESC Cancel user defined characters Character ESC Initialize printer Miscellaneous ESC D Set horizontal tab positions Print position ESC E Turn emphasized mode on off Character ESC G Turn double strike mode on off Character ESC J Print and feed paper Print ESC K Print and reverse feed Print ESC L Select page mode Miscellaneous ESC M Select character font Character E...

Page 96: ...p printing Paper sensor ESC c 5 Enable disable panel buttons Panel button ESC d Print and feed n lines Print ESC e Print and reverse feed n lines Print ESC i Partial cut one point left uncut Mechanism control ESC m Partial cut three points left uncut Mechanism control ESC p Generate pulse Miscellaneous ESC r Select print color Character ESC t Select character code table Character ESC u Transmit pe...

Page 97: ...mage GS Start end macro definition Macro function GS Initialize printer mechanism Miscellaneous GS A Adjust label print starting position Miscellaneous GS B Turn white black reverse printing mode on off Character GS C 0 Select counter print mode Miscellaneous GS C 1 Select count mode A Miscellaneous GS C 2 Select counter print mode Miscellaneous GS C Select counter mode B Miscellaneous GS E Select...

Page 98: ...ition in page mode Print position GS Execute macro Macro function GS a Enable disable Automatic Status Back ASB Status GS b Turn smoothing mode on off Character GS c Print counter Miscellaneous GS f Select font for HRI characters Bar code GS h Set bar code height Bar code GS k Print bar code Bar code GS r Transmit status Status GS v 0 Print raster bit image Bit image GS w Set bar code width Bar co...

Page 99: ...C O N F I D E N T I A L Paper roll Command list Ver 4 0 p 1036 Command list Commands in alphanumeric order Commands arranged by function COMMAND LIST ...

Page 100: ...ookmarks on the left side of the screen COMMANDS ARRANGED BY FUNCTION The print samples are images of the printing results of the program examples they do not represent actual printing Print commands Line spacing commands Character commands Panel button command Paper sensor commands Print position commands Bit image commands Status commands Bar code commands Macro function commands Mechanism contr...

Page 101: ...t and return to standard mode in page mode 2 Print and feed label to print starting position on label CR Print and carriage return ESC FF Print data in page mode ESC J Print and feed paper ESC K Print and reverse feed ESC d Print and feed n lines ESC e Print and reverse feed n lines GS FF Print and eject label PRINT COMMANDS ...

Page 102: ...is based on the value set using the line spacing command ESC 2 or ESC 3 After printing the printing position moves the beginning of the line When a left margin is set in standard mode the position of the left margin is the beginning of the line When this command is processed in page mode only the printing position moves and the printer does not perform actual printing Model dependent variations No...

Page 103: ...ode prints the data in the print buffer collectively and returns to standard mode Notes This command is enabled only in page mode The data is deleted in the printing area after being printed This command returns the values set by ESC W to the default values The value set by ESC T is maintained After printing the printing position moves to the beginning of the line When a left margin is set the pos...

Page 104: ...ers Print Sample PRINT 1 CHR H1B L Select page mode PRINT 1 CHR H1D P CHR 180 CHR 180 PRINT 1 CHR H1B W CHR 0 CHR 0 CHR 0 CHR 0 CHR 60 CHR 0 CHR 90 CHR 0 PRINT 1 CHR H1B T CHR 0 PRINT 1 AAAAA CHR HA Store characters for printing PRINT 1 BBBBB CHR HA Store characters for printing PRINT 1 CCCCC CHR HC Batch print AAAAA BBBBB CCCCC ...

Page 105: ...eeds the next label to the print starting position Notes This command is enabled only when a label is selected in standard mode Printer operation differs when page mode is selected The data is deleted in the printing area after being printed This command returns the values set by ESC W to the default values The value set by ESC T is maintained After printing the printing position moves to the begi...

Page 106: ... O N F I D E N T I A L Paper roll Print commands FF Ver 4 0 p 1043 Model dependent variations TM L60II Program Example for all printers Print Sample PRINT 1 AAAAA CHR HA PRINT 1 BBBBB CHR HC AAAAA BBBBB ...

Page 107: ...T I A L Paper roll Print commands FF Ver 4 0 p 1044 TM L60II A thermal label is selected when DIP switch 2 6 is ON with a serial interface A thermal label is selected when DIP switch 1 7 is ON with a parallel interface ...

Page 108: ...ine feed After printing the printing position moves to the beginning of the line When a left margin is set in standard mode the position of the left margin is the beginning of the line When this command is processed in page mode only the printing position moves and the printer does not perform actual printing Print head When auto line feed is enabled When auto line feed is disabled Line thermal Ex...

Page 109: ... Example Line thermal Print Sample Line thermal AAAAA Auto line feed enabled PRINT 1 AAAAA CHR HD BBBBB PRINT 1 BBBBB CHR HA AAAAA BBBBB Auto line feed disabled Program Example Serial dot head Print Sample Serial dot head AAAAA PRINT 1 AAAAA CHR HD BBBBB Auto line feed enabled PRINT 1 BBBBB CHR HA AAAAABBBBB Auto line feed disabled ...

Page 110: ...C O N F I D E N T I A L Paper roll Print commands CR Ver 4 0 p 1047 TM T88II Auto line feed for a parallel interface is selected by DIP switch 1 1 This printer has only a line thermal head ...

Page 111: ...C O N F I D E N T I A L Paper roll Print commands CR Ver 4 0 p 1048 TM L60II Auto line feed for a parallel interface is selected by DIP switch 1 1 This printer has only a line thermal head ...

Page 112: ...C O N F I D E N T I A L Paper roll Print commands CR Ver 4 0 p 1049 TM U200B D Auto line feed for a parallel interface is selected by DIP switch 1 1 This printer has only a serial dot head ...

Page 113: ...ion In page mode prints all buffered data in the printable area collectively Notes This command is enabled only in page mode After printing the printer does not clear the buffered data the printing position or values set by other commands The printer returns to standard mode with FF ESC S and ESC When it returns to standard mode by ESC all settings are canceled This command is used when the data i...

Page 114: ... PRINT 1 CHR H1D P CHR 180 CHR 180 PRINT 1 CHR H1B W CHR 0 CHR 0 CHR 0 CHR 0 CHR 120 CHR 0 CHR 170 CHR 0 PRINT 1 CHR H1B T CHR 0 Select print direction PRINT 1 AAAAA CHR HA Store characters for printing PRINT 1 BBBBB CHR HA Store characters for printing PRINT 1 CCCCC CHR H1B CHR HC Batch print PRINT 1 CHR HC Batch print and return to standard mode AAAAA BBBBB CCCCC AAAAA BBBBB CCCCC ...

Page 115: ...cal motion unit is used When page mode is selected the vertical or horizontal motion unit is used for the print direction set by ESC T When the starting position is set to the upper left or lower right of the printing area using ESC T the vertical motion unit is used When the starting position is set to the upper right or lower left of the printing area using ESC T the horizontal motion unit is us...

Page 116: ...acing set by other commands Model dependent variations TM T88II TM L60II TM U200B D TM U300A B Program Example for all printers Print Sample PRINT 1 CHR H1D P CHR 180 CHR 180 PRINT 1 AAAAA CHR HA PRINT 1 BBBBB CHR H1B J CHR 100 PRINT 1 CCCCC CHR HA PRINT 1 DDDDD CHR HA AAAAA BBBBB CCCCC DDDDD ESC J used to print one line and advance the paper by 100 180 inch ...

Page 117: ...C O N F I D E N T I A L Paper roll Print commands ESC J Ver 4 0 p 1054 TM T88II The vertical or horizontal motion unit is specified by GS P ...

Page 118: ...Ver 4 0 p 1055 TM L60II The vertical or horizontal motion unit is specified by GS P When a label is selected in standard mode and a paper feed amount that exceeds the length of one label is set the printer feeds the label to the next print starting position ...

Page 119: ...ommands ESC J Ver 4 0 p 1056 TM U200B D The vertical motion unit is 1 144 inches the minimum movement amount This value equals a half dot pitch This command does not use the horizontal motion unit because the printer does not support Page mode ...

Page 120: ...ommands ESC J Ver 4 0 p 1057 TM U300A B The vertical motion unit is 1 144 inches the minimum movement amount This value equals a half dot pitch This command does not use the horizontal motion unit because the printer does not support Page mode ...

Page 121: ...feed amount depends on the printer model After printing the printing position moves to the beginning of the line When a left margin is set the position of the left margin is the beginning of the line This command is used to temporarily feed a specific length without changing the line spacing set by other commands Model dependent variations TM U200B D Program Example for all printers Print Sample A...

Page 122: ... continuously more than two times The vertical motion unit is 1 144 inches the minimum movement amount This value equals a half dot pitch In the reverse direction the maximum paper feed amount is 48 144 inches If the specified amount exceeds 48 144 inches the printer only prints the data and does not feed the paper ...

Page 123: ...nd ESC 2 or ESC 3 The maximum paper feed amount is 40 inches If the specified amount exceeds 40 inches the paper feed amount is automatically set to 40 inches After printing the printing position moves to the beginning of the line When a left margin is set in standard mode the position of the left margin is the beginning of the line When this command is processed in page mode only the printing pos...

Page 124: ...C d Ver 4 0 p 1061 Model dependent variations TM L60II Program Example for all printers Print Sample PRINT 1 AAAAA CHR HA PRINT 1 BBBBB CHR H1B d CHR 6 PRINT 1 CCCCC CHR HA AAAAA BBBBB CCCCC ESC d used to print one line and advance the paper by six lines ...

Page 125: ...Ver 4 0 p 1062 TM L60II The vertical or horizontal motion unit is specified by GS P When a label is selected in standard mode and a paper feed amount that exceeds the length of one label is set the printer feeds the label to the next print starting position ...

Page 126: ...lue set using the line spacing command ESC 2 or ESC 3 The maximum paper feed amount depends on the printer model After printing the printing position moves to the beginning of the line When a left margin is set the position of the left margin is the beginning of the line This command is used to temporarily feed a specific line without changing the line spacing set by other commands Model dependent...

Page 127: ... p 1064 TM U200B D This command must not be executed continuously more than two times In the reverse direction the maximum paper feed amount is 48 144 inches If the specified amount exceeds 48 144 inches the printer only prints the data and does not feed the paper ...

Page 128: ...cesses are performed After printing the label is advanced so that it can be peeled off The paper LED blinks waiting for the paper feed button to be pressed press the button after peeling the label off When the paper feed button is pressed the next label is fed in reverse direction to the print starting position When a left margin is set the printing position is set to the left margin When panel bu...

Page 129: ...A L Paper roll Print commands GS FF Ver 4 0 p 1066 Model dependent variations TM L60II Program Example for all printers Print Sample PRINT 1 AAAAA CHR HA PRINT 1 BBBBB CHR H1D CHR HC PRINT 1 CCCCC CHR HA AAAAA BBBBB CCCCC ...

Page 130: ...67 TM L60II Paper LED blinks waiting for a label being peeled off Paper feed button is used for feeding a label A thermal label is selected when DIP switch 2 6 is ON with a serial interface A thermal label is selected when DIP switch 1 7 is ON with a parallel interface ...

Page 131: ...C O N F I D E N T I A L Paper roll Line spacing commands Ver 4 0 p 1068 Line spacing commands Command Name ESC 2 Select default line spacing ESC 3 Set line spacing LINE SPACING COMMANDS ...

Page 132: ...ex 1B 32 Decimal 27 50 Range None Default None Printers not featuring this command None Description Sets the line spacing to 1 6 inch Notes The line spacing can be set independently in standard mode and in page mode Model dependent variations TM T88II TM L60II TM U200B D TM U300A B See program example and print sample for ESC 2 and ESC 3 ...

Page 133: ...C O N F I D E N T I A L Paper roll Line spacing commands ESC 2 Ver 4 0 p 1070 TM T88II 1 6 inch is equivalent to 30 dots ...

Page 134: ...C O N F I D E N T I A L Paper roll Line spacing commands ESC 2 Ver 4 0 p 1071 TM L60II 1 6 inch is equivalent to 30 dots ...

Page 135: ...C O N F I D E N T I A L Paper roll Line spacing commands ESC 2 Ver 4 0 p 1072 TM U200B D 1 6 inch is equivalent to 12 dots ...

Page 136: ...C O N F I D E N T I A L Paper roll Line spacing commands ESC 2 Ver 4 0 p 1073 TM U300A B 1 6 inch is equivalent to 12 dots ...

Page 137: ...automatically set to 40 inches When standard mode is selected the vertical motion unit is used When page mode is selected the vertical or horizontal motion unit is used for the print direction set by ESC T When the starting position is set to the upper left or lower right of the printing area using ESC T the vertical motion unit is used When the starting position is set to the upper right or lower...

Page 138: ...n 25 TO 50 STEP 5 PRINT 1 CHR H1B 3 CHR n Set line spacing PRINT 1 AAAAA CHR HA NEXT n PRINT 1 CHR H1B 2 Set the default PRINT 1 BBBBB CHR HA PRINT 1 CCCCC CHR HA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA BBBBB CCCCC 25 180 inch line spacing 30 180 inch line spacing 35 180 inch line spacing 40 180 inch line spacing 45 180 inch line spacing 50 180 inch line spacing 1 6 inch line spacing ...

Page 139: ...C O N F I D E N T I A L Paper roll Line spacing commands ESC 3 Ver 4 0 p 1076 TM T88II The vertical or horizontal motion unit is specified by GS P ...

Page 140: ...C O N F I D E N T I A L Paper roll Line spacing commands ESC 3 Ver 4 0 p 1077 TM L60II The vertical or horizontal motion unit is specified by GS P ...

Page 141: ...g commands ESC 3 Ver 4 0 p 1078 TM U200B D The vertical motion unit is 1 144 inches the minimum movement amount This value equals a half dot pitch This command does not use the horizontal motion unit because this printer does not support Page mode ...

Page 142: ...g commands ESC 3 Ver 4 0 p 1079 TM U300A B The vertical motion unit is 1 144 inches the minimum movement amount This value equals a half dot pitch This command does not use the horizontal motion unit because this printer does not support Page mode ...

Page 143: ...ESC Turn underline mode on off ESC Cancel user defined characters ESC E Turn emphasized mode on off ESC G Turn double strike mode on off ESC M Select character font ESC R Select an international character set ESC V Turn 90 clockwise rotation mode on off ESC r Select print color ESC t Select character code table ESC Turn upside down printing mode on off GS Select character size GS B Turn white blac...

Page 144: ... it is deleted Model dependent variations None Program Example for all printers Print Sample PRINT 1 CHR H1B L Select page mode PRINT 1 CHR H1D P CHR 180 CHR 180 PRINT 1 CHR H1B W CHR 0 CHR 0 CHR 0 CHR 0 CHR 240 CHR 0 CHR 44 CHR 1 PRINT 1 CHR H1B T CHR 0 Select print direction FOR i 1 TO 200 PRINT 1 A NEXT i PRINT 1 CHR H1B W CHR 60 CHR 0 CHR 90 CHR 0 CHR 60 CHR 0 CHR 120 CHR 0 PRINT 1 CHR H18 Can...

Page 145: ...haracters except for HRI characters When characters are enlarged the right side character spacing is n times normal value The right side character spacing for double width mode is twice the normal value When standard mode is selected the horizontal motion unit is used When page mode is selected the vertical or horizontal motion unit is used for the print direction set by ESC T When the starting po...

Page 146: ...tions TM T88II TM L60II TM U200B D TM U300A B Program Example for all printers Print Sample PRINT 1 CHR H1D P CHR 180 CHR 180 PRINT 1 CHR H1B CHR 0 Character spacing set to 0 PRINT 1 AAAAA CHR HA PRINT 1 CHR H1B CHR 6 Character spacing set to 6 PRINT 1 BBBBB CHR HA PRINT 1 CHR H1B CHR 12 Character spacing set to 12 PRINT 1 CCCCC CHR HA AAAAA 0 inch character spacing BBBBB 6 180 inch character spac...

Page 147: ...C O N F I D E N T I A L Paper roll Character commands ESC SP Ver 4 0 p 1084 TM T88II The vertical or horizontal motion unit is specified by GS P ...

Page 148: ...C O N F I D E N T I A L Paper roll Character commands ESC SP Ver 4 0 p 1085 TM L60II The vertical or horizontal motion unit is specified by GS P ...

Page 149: ... commands ESC SP Ver 4 0 p 1086 TM U200B D The horizontal motion unit is 1 160 inches the minimum movement amount This value equals a half dot pitch This command does not use the vertical motion unit because the printer does not support Page mode ...

Page 150: ... commands ESC SP Ver 4 0 p 1087 TM U300A B The horizontal motion unit is 1 160 inches the minimum movement amount This value equals a half dot pitch This command does not use the vertical motion unit because the printer does not support Page mode ...

Page 151: ...one Description Selects or cancels print modes collectively using n as follows Bit Off On Hex Decimal Function 0 Off 00 0 Character font A selected how to use this table On 01 1 Character font B selected 1 2 Undefined 3 Off 00 0 Emphasized mode not selected On 08 8 Emphasized mode selected 4 Off 00 0 Double height mode not selected On 10 16 Double height mode selected 5 Off 00 0 Double width mode ...

Page 152: ...ne are aligned at the baseline When double width mode is turned on the characters are enlarged to the right based on the left side of the character When both double height and double width modes are turned on quadruple size characters are printed In standard mode the character is enlarged in the paper feed direction when double height mode is selected and it is enlarged perpendicular to the paper ...

Page 153: ...am Example for all printers Print Sample PRINT 1 CHR H1B CHR 0 AA PRINT 1 CHR H1B CHR 8 BB PRINT 1 CHR H1B CHR 16 CC PRINT 1 CHR H1B CHR 24 DD PRINT 1 CHR H1B CHR 32 EE PRINT 1 CHR H1B CHR 40 FF PRINT 1 CHR H1B CHR 48 GG PRINT 1 CHR H1B CHR 56 HH CHR HA AA Normal PRINT 1 CHR H1B CHR 129 AA BB Emphasized PRINT 1 CHR H1B CHR 137 BB CC Double height PRINT 1 CHR H1B CHR 145 CC DD Emphasized Double hei...

Page 154: ...C O N F I D E N T I A L Paper roll Character commands ESC Ver 4 0 p 1091 TM T88II Character configurations Bit 0 Font A 12 24 Font B 9 24 ...

Page 155: ...C O N F I D E N T I A L Paper roll Character commands ESC Ver 4 0 p 1092 TM L60II Character configurations Bit 0 Font A 12 24 Font B 9 24 ...

Page 156: ...C O N F I D E N T I A L Paper roll Character commands ESC Ver 4 0 p 1093 TM U200B D Character configurations Bit 0 Font A 9 9 Font B 7 9 ...

Page 157: ...O N F I D E N T I A L Paper roll Character commands ESC Ver 4 0 p 1094 TM U300A B Character configurations Bit 0 Font A 9 9 Font B 7 9 Bit 3 is undefined This printer does not support the emphasized mode ...

Page 158: ...ing this command None Description Selects or cancels the user defined character set When the LSB of n is 0 the user defined character set is canceled When the LSB of n is 1 the user defined character set is selected Note When the user defined character set is canceled the resident character set is automatically selected Model dependent variations TM U200B D See program example and print sample for...

Page 159: ...C O N F I D E N T I A L Paper roll Character commands ESC Ver 4 0 p 1096 TM U200B D This command is effective only when the receive buffer capacity is 40 bytes when DIP switch 1 2 is ON ...

Page 160: ...xk Hex 1B 26 y c1 c2 x1 d1 d y x1 xk d1 d y xk Decimal 27 38 y c1 c2 x1 d1 d y x1 xk d1 d y xk Range TM T88II y 3 32 1 c2 126 0 x 12 Font A 12 24 0 x 9 Font B 9 24 0 d 255 k c2 c1 1 TM L60II y 3 32 c1 c2 126 0 x 12 Font A 12 24 0 x 9 Font B 9 24 0 d 255 k c2 c1 1 TM U200B D y 2 32 c1 c2 126 0 x 12 Font A 9 9 0 x 10 Font B 7 9 0 d1 d y x 255 k c2 c1 1 more more ...

Page 161: ...anumeric characters 20H decimal 32 to 7EH decimal 126 can be defined Data d specifies a bit printed to 1 and not printed to 0 The dot pattern is in the horizontal direction from the left side Any remaining dots on the right side are blank The data to define a user defined character is y x bytes When the value of y c1 c2 or x is out of the range this command is canceled and the following data is pr...

Page 162: ...vailable until ESC GS or ESC is executed the user defined characters are redefined the power is turned off or the printer is reset The user defined characters are not defined at the default and the resident characters are printed Model dependent variations TM U200B D TM U300A B See program example and print sample for ESC ESC and ESC ...

Page 163: ... The dots adjoining each other horizontally cannot be printed Only the MSB can be printed in the second byte for vertical direction This command is effective only when the receive buffer capacity is 40 bytes when DIP switch 1 2 is ON The maximum number of user defined characters is 19 ...

Page 164: ...tical direction The maximum number of user defined characters differs depending on the receive buffer capacity as described below When the maximum number of user defined characters is defined it is possible to redefine user defined characters for the defined ASCII code but not for the new ASCII code Receive buffer capacity Maximum number of user defined characters 1k bytes 9 40 bytes 44 0 bytes 44...

Page 165: ...de is effective for all characters except for HRI characters When underline mode is turned on 90 clockwise rotated characters and white black reverse characters cannot be underlined The printer cannot underline the space set by HT ESC and ESC Changing the character size does not affect the current underline thickness When underline mode is turned off the following data cannot be underlined but the...

Page 166: ...ode in the same way Some of the printer models support the 2 dot thick underline n 2 or 5 Model dependent variations None Program Example for all printers Print Sample PRINT 1 CHR H1B CHR 1 Select AAAAA Underline 1 dot thick turned on PRINT 1 AAAAA CHR HA BBBBB Underline turned off PRINT 1 CHR H1B CHR 0 Cancel PRINT 1 BBBBB CHR HA ...

Page 167: ...uring this command TM U300A B Description Cancels the user defined characters defined for the character code n Notes After the user defined characters are canceled the resident character set is printed This command can cancel user defined characters for each font independently To select a font use ESC or ESC M Model dependent variations TM U200B D See program example and print sample for ESC ESC a...

Page 168: ...D E CHR HA PRINT 1 CHR H1B CHR 1 Select user defined character PRINT 1 A B C D E CHR HA PRINT 1 CHR H1B A Cancel the user defined character PRINT 1 A B C D E CHR HA DATA H18 H00 H00 H00 H3C H00 H00 H00 DATA H7E H00 H00 H00 H3C H00 H00 H00 DATA H18 H00 DATA H18 H00 H00 H00 H24 H00 H00 H00 DATA H42 H00 H00 H00 H24 H00 H00 H00 DATA H18 H00 DATA H00 H00 H10 H00 H20 H00 H5F H00 DATA H00 H00 H81 H00 H00...

Page 169: ...C O N F I D E N T I A L Paper roll Character commands ESC Ver 4 0 p 1106 TM U200B D This command is effective only when the receive buffer capacity is 40 bytes when DIP switch 1 2 is ON ...

Page 170: ...f When the LSB of n is 0 emphasized mode is turned off When the LSB of n is 1 emphasized mode is turned on Notes The emphasized mode is effective for all characters except for HRI characters This command and bit 3 of ESC turn on and off emphasized mode in the same way Model dependent variations None Program Example for all printers Print Sample PRINT 1 CHR H1B E CHR 1 Select AAAAA Emphasized PRINT...

Page 171: ...on Turns double strike mode on or off When the LSB of n is 0 double strike mode is turned off When the LSB of n is 1 double strike mode is turned on Note The double strike mode is effective for all characters except for HRI characters Model dependent variations None Program Example for all printers Print Sample PRINT 1 CHR H1B G CHR 1 Select AAAAA Double strike PRINT 1 AAAAA CHR HA BBBBB Normal PR...

Page 172: ... not featuring this command TM L60II TM U200B D TM U300A B Description Selects a character font using n as follows Notes The character font set by this command is effective for all characters except for HRI characters Configurations of font A and font B depend on the printer model This command and bit 0 of ESC select character font A or B in the same way n Font 0 48 Font A 1 49 Font B more more ...

Page 173: ...ands ESC M Ver 4 0 p 1110 Model dependent variations TM T88II Program Example for all printers Print Sample PRINT 1 CHR H1B M CHR 0 Select font A AAAAA Font A PRINT 1 AAAAA CHR HA BBBBB Font B PRINT 1 CHR H1B M CHR 1 Select font B PRINT 1 BBBBB CHR HA ...

Page 174: ...C O N F I D E N T I A L Paper roll Character commands ESC M Ver 4 0 p 1111 TM T88II Character configurations Font A 12 x 24 Font B 9 x 17 ...

Page 175: ... Paper roll Character commands ESC R Ver 4 0 p 1112 ESC R Name Select an international character set Format ASCII ESC R n Hex 1B 52 n Decimal 27 82 n Range 0 n 10 Default n 0 Printers not featuring this command None more more ...

Page 176: ...lows n Country ASCII code Hex 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E Dec 35 36 64 91 92 93 94 96 123 124 125 126 0 U S A 1 France à ç é ù è 2 Germany Ä Ö Ü ä ö ü ß 3 U K 4 Denmark I Æ Ø Å æ ø å 5 Sweden É Ä Ö Å Ü é ä ö å ü 6 Italy é ù à ò è ì 7 Spain Pt Ñ ñ 8 Japan 9 Norway É Æ Ø Å Ü é æ ø å ü 10 Denmark II É Æ Ø Å Ü é æ ø å ü more more ...

Page 177: ...riations None Program Example for all printers Print Sample FOR n 0 TO 10 PRINT 1 CHR H1B R CHR n PRINT 1 CHR HA NEXT n n 0 Default setting à ç é ù è n 1 Ä Ö Ü ä ö ü ß n 2 n 3 Æ Ø Å æ ø å n 4 É Ä Ö Å Ü é ä ö å ü n 5 é ù à ò è ì n 6 Pt Ñ ñ n 7 n 8 É Æ Ø Å Ü é æ ø å ü n 9 É Æ Ø Å Ü é æ ø å ü n 10 ...

Page 178: ...I characters in standard mode When underline mode is turned on the printer does not underline 90 clockwise rotated characters When character orientation changes in 90 clockwise rotation mode the relationship between vertical and horizontal directions is reversed The 90 clockwise rotation mode has no effect in page mode If this command is processed in page mode an internal flag is activated and thi...

Page 179: ...s Print Sample PRINT 1 CHR H1D P CHR 180 CHR 180 PRINT 1 CHR H1B CHR 20 Set character spacing PRINT 1 CHR H1B 3 CHR 15 Set line spacing PRINT 1 CHR H1B V CHR 1 Select PRINT 1 AAAAA CHR HA PRINT 1 BBBBB CHR HA PRINT 1 CCCCC CHR HA PRINT 1 CHR H1B 2 Set line spacing PRINT 1 CHR H1B V CHR 0 Cancel PRINT 1 AAAAA CHR HA PRINT 1 BBBBB CHR HA PRINT 1 CCCCC CHR HA ABC ABC ABC ABC ABC ABC Character spacing...

Page 180: ...00A B n 0 1 Default n 0 Printers not featuring this command TM T88II TM L60II Description Selects a print color using n as follows Notes When standard mode is selected this command is enabled only when processed at the beginning of the line When page mode is selected the color setting is the same for all data collectively printed by FF or ESC FF n Print color 0 48 Black 1 49 Red more more ...

Page 181: ...ommands ESC r Ver 4 0 p 1118 Model dependent variations TM U200B D Program Example for all printers Print Sample PRINT 1 CHR H1B r CHR 1 Select red AAAAA Red PRINT 1 AAAAA CHR HA BBBBB Black PRINT 1 CHR H1B r CHR 0 Select black PRINT 1 BBBBB CHR HA ...

Page 182: ...C O N F I D E N T I A L Paper roll Character commands ESC r Ver 4 0 p 1119 TM U200B D This command is enabled with the two color model ...

Page 183: ...n 5 n 255 TM U200B D 0 n 5 n 254 255 Default n 0 Printers not featuring this command None Description Selects a page n from the character code table as follows n Character Code Table 0 Page 0 PC437 U S A Standard Europe 1 Page 1 Katakana 2 Page 2 PC850 Multilingual 3 Page 3 PC860 Portuguese 4 Page 4 PC863 Canadian French 5 Page 5 PC865 Nordic 254 Page 254 Space page 255 Page 255 Spave page more mo...

Page 184: ...ers 80H decimal 128 to FFH decimal 255 are different for each page Model dependent variations None Program Example for all printers Print Sample PRINT 1 CHR H1B t CHR 0 Select page 0 GOSUB printing PRINT 1 CHR H1B t CHR 1 Select page 1 GOSUB printing END printing FOR i H20 TO H7F PRINT 1 CHR i NEXT i PRINT 1 CHR HA FOR i H80 TO HFF PRINT 1 CHR i NEXT i PRINT 1 CHR HA RETURN Page 0 Page 1 ...

Page 185: ...ng mode is turned on Notes When standard mode is selected this command is enabled only when processed at the beginning of the line The upside down printing mode is effective for all data in standard mode The upside down printing mode has no effect in page mode If this command is processed in page mode an internal flag is activated and this flag is enabled when the printer returns to standard mode ...

Page 186: ...el dependent variations None Program Example for all printers Print Sample PRINT 1 CHR H1B CHR 0 Cancel PRINT 1 ABCDE CHR HA PRINT 1 BCDEF CHR HA PRINT 1 CHR H1B CHR 1 Select PRINT 1 ABCDE CHR HA PRINT 1 BCDEF CHR HA Normal printing ABCDE BCDEF Upside down printing ABCDE BCDEF ...

Page 187: ... B Description Selects the character height vertical number of times normal font size using bits 0 to 2 and selects the character width horizontal number of times normal font size using bits 4 to 6 as follows Character width selection Character height selection Bit6 Bit5 Bit4 Hex Decimal Width Bit2 Bit1 Bit0 Hex Decimal Height Off Off Off 00 0 1 normal Off Off Off 00 0 1 normal Off Off On 10 16 2 ...

Page 188: ...r off In standard mode the character is enlarged in the paper feed direction when double height mode is selected and it is enlarged perpendicular to the paper feed direction when double width mode is selected However when character orientation changes in 90 clockwise rotated mode the relationship between double height and double width is reversed In page mode double height and double width are on ...

Page 189: ...ommands GS Ver 4 0 p 1126 Model dependent variations None Program Example for all printers Print Sample PRINT 1 CHR H1D CHR 17 AAAAA Select quadruple double height x double width PRINT 1 AAAAA CHR HA BBBBB PRINT 1 CHR H1D CHR 0 PRINT 1 BBBBB CHR HA ...

Page 190: ...urned off When the LSB of n is 1 white black reverse printing mode is turned on Notes The white black reverse printing mode is effective for all characters except for HRI characters When white black reverse printing mode is turned on it also affects the right side character spacing set by ESC SP When white black reverse printing mode is turned on it does not affect the space between lines When und...

Page 191: ...S B Ver 4 0 p 1128 Model dependent variations None Program Example for all printers Print Sample PRINT 1 CHR H1D B CHR 1 Select PRINT 1 AAAAA CHR HA PRINT 1 CHR H1D B CHR 0 Cancel PRINT 1 BBBBB CHR HA BBBBB Normal printing AAAAA White black reverse printing ...

Page 192: ... B Description Turns smoothing mode on or off When the LSB of n is 0 smoothing mode is turned off When the LSB of n is 1 smoothing mode is turned on Note The smoothing mode is effective for all quadruple size or larger characters except for HRI characters Model dependent variations None Program Example for all printers Print Sample AAAAA PRINT 1 CHR H1D CHR 68 Select font size PRINT 1 CHR H1D b CH...

Page 193: ...C O N F I D E N T I A L Paper roll Panel button command Ver 4 0 p 1130 Panel button command Command Name ESC c 5 Enable disable panel buttons PANEL BUTTON COMMAND ...

Page 194: ...printer cover is open there are buttons that are always enabled or disabled regardless of this command The buttons are different depending on the printer model When the LED blinks to indicate that the printer is waiting for the paper feed button to be pressed in the following status but paper cannot be fed When GS is executed When GS FF is executed During the recovery confirmation time set by GS z...

Page 195: ...E N T I A L Paper roll Panel button command ESC c 5 Ver 4 0 p 1132 Model dependent variations TM T88II TM L60II TM U200B D TM U300A B Program Example for all printers PRINT 1 CHR H1B c5 CHR 1 Disable panel buttons ...

Page 196: ...er roll Panel button command ESC c 5 Ver 4 0 p 1133 TM T88II The panel button is FEED When the cover is open and the paper roll end sensor detects a paper end the FEED button is disabled regardless of the setting of this command ...

Page 197: ...er 4 0 p 1134 TM L60II The panel button is PAPER FEED When the cover is open the PAPER FEED is enabled regardless of the settings of this command When the paper roll end sensor detects a paper end the PAPER FEED is disabled regardless of the settings of this command ...

Page 198: ...C O N F I D E N T I A L Paper roll Panel button command ESC c 5 Ver 4 0 p 1135 TM U200B D The panel button is PAPER FEED ...

Page 199: ... O N F I D E N T I A L Paper roll Panel button command ESC c 5 Ver 4 0 p 1136 TM U300A B The panel button is FEED When the cover is open this button is enabled regardless of the settings of this command ...

Page 200: ...T I A L Paper roll Paper sensor commands Ver 4 0 p 1137 Paper sensor commands Command Name ESC c 3 Select paper sensor s to output paper end signals ESC c 4 Select paper sensor s to stop printing PAPER SENSOR COMMANDS ...

Page 201: ...output paper end signals to a parallel interface or not when a paper end is detected by the sensor selected using n as follows Bit Off On Hex Decimal Function 0 Off 00 0 Paper roll near end sensor disabled how to use this table On 01 1 Paper roll near end sensor enabled 1 Off 00 0 Paper roll near end sensor disabled On 02 2 Paper roll near end sensor enabled 2 Off 00 0 Paper roll end sensor disabl...

Page 202: ...either bit 2 or bit 3 is on or both are on It is possible to select multiple sensors to output signals When any of the sensors detects a paper end the paper end signal is output When all sensors are disabled the paper end signal is always paper present Some sensors are not present depending on the printer model The names of some sensors differ depending on the printer model Model dependent variati...

Page 203: ... I A L Paper roll Paper sensor commands ESC c 3 Ver 4 0 p 1140 TM U200B D The paper roll near end sensor is an option If the paper roll near end sensor is not equipped this printer does not detect a paper roll near end ...

Page 204: ...C O N F I D E N T I A L Paper roll Paper sensor commands ESC c 3 Ver 4 0 p 1141 TM U300A B Bits 1 and 3 are undefined ...

Page 205: ...r runs out using n as follows Notes It is possible to select multiple sensors to stop printing When any sensor detects a paper end printing stops Bit Off On Hex Decimal Function 0 Off 00 0 Paper roll near end sensor disabled how to use this table On 01 1 Paper roll near end sensor enabled 1 Off 00 0 Paper roll near end sensor disabled On 02 2 Paper roll near end sensor enabled 2 Off 00 0 Paper rol...

Page 206: ...ing the current line and feeding the paper The printer goes off line and Paper LED comes on after printing stops To resume printing cancel the paper roll near end status by replacing the paper roll If the paper roll near end sensor is disabled and a paper near end is detected printing does not stop and the printer does not go off line but the Paper LED comes on When a paper roll end is detected th...

Page 207: ...ands ESC c 4 Ver 4 0 p 1144 TM T88II Bits 2 and 3 are undefined The paper roll end sensor is always enabled and when it detects a paper end the printer stops printing When a paper roll near end or a paper roll end are detected the PAPER OUT LED comes on ...

Page 208: ...mmands ESC c 4 Ver 4 0 p 1145 TM L60II Bits 2 and 3 are undefined The paper roll end sensor is always enabled and when it detects a paper end the printer stops printing When a paper roll near end or a paper roll end are detected the PAPER LED comes on ...

Page 209: ...fined When a paper roll near end or a paper roll end is detected the PAPER OUT LED comes on The paper roll end sensor is always enabled and when it detects a paper end the printer stops printing The paper roll near end sensor is an option When the paper roll near end sensor is not equipped this command is ignored ...

Page 210: ... O N F I D E N T I A L Paper roll Paper sensor commands ESC c 4 Ver 4 0 p 1147 TM U300A B Bits 1 and 3 are undefined When a paper roll near end or a paper roll end is detected the PAPER OUT LED comes on ...

Page 211: ...tion ESC D Set horizontal tab positions ESC T Select print direction in page mode ESC W Set printing area in page mode ESC Set relative print position ESC a Select justification GS Set absolute vertical print position in page mode GS L Set left margin GS W Set printing area width GS Set relative vertical print position in page mode PRINT POSITION COMMANDS ...

Page 212: ...b positions are set by ESC D If the next horizontal tab position exceeds the printing area the printer sets the printing position to Printing area width 1 If this command is processed when the printing position is at Printing area width 1 the printer executes print buffer full printing of the current line and horizontal tab processing from the beginning of the next line In this case in page mode t...

Page 213: ...C O N F I D E N T I A L Paper roll Print position commands HT Ver 4 0 p 1150 TM U200B D This command is effective only when the receive buffer capacity is 40 bytes when DIP switch 1 2 is ON ...

Page 214: ...a When standard mode is selected the horizontal motion unit is used When page mode is selected the horizontal or vertical motion unit is used for the print direction set by ESC T When the starting position is set to the upper left or lower right of the printing area using ESC T the horizontal motion unit is used When the starting position is set to the upper right or lower left of the printing are...

Page 215: ...C O N F I D E N T I A L Paper roll Print position commands ESC Ver 4 0 p 1152 TM T88II The vertical or horizontal motion unit is specified by GS P ...

Page 216: ...C O N F I D E N T I A L Paper roll Print position commands ESC Ver 4 0 p 1153 TM L60II The vertical or horizontal motion unit is specified by GS P ...

Page 217: ... stored as a value of character width n measured from the beginning of the line The character width includes the right side character spacing and double width characters are selected with twice the width of normal characters A maximum of 32 horizontal tab positions can be set Data exceeding 32 horizontal tab positions are processed as normal data This command cancels any previous horizontal tab se...

Page 218: ...C O N F I D E N T I A L Paper roll Print position commands ESC D Ver 4 0 p 1155 Model dependent variations TM U200B D See program example and print sample for HT and ESC D ...

Page 219: ...C O N F I D E N T I A L Paper roll Print position commands ESC D Ver 4 0 p 1156 TM U200B D This command is effective only when the receive buffer capacity is 40 bytes when DIP switch 1 2 is ON ...

Page 220: ...89012345678901234567890123456 PRINT 1 CHR HA FOR i 1 TO 4 PRINT 1 CHR H9 H Execute HT NEXT i PRINT 1 CHR HA PRINT 1 CHR H1B D CHR 10 CHR 20 PRINT 1 CHR 30 CHR 0 Set HT positions FOR i 1 TO 4 PRINT 1 CHR H9 H Execute HT NEXT i PRINT 1 CHR HA 0123456789012345678901234567890123456 H H H H H H HH 8 16 24 32 Tab position 10 Default Tab position 30 Tab position 20 ...

Page 221: ...d is effective only in page mode This command setting has no effect in standard mode If this command is processed in standard mode an internal flag is activated and this flag is enabled when the printer selects page mode The parameters for the horizontal or vertical motion unit differ depending on the starting position of the printing area as follows n Print Direction Starting Position 0 48 Left t...

Page 222: ...mmands use vertical motion units ESC SP ESC ESC Model dependent variations None Program Example for all printers Print Sample PRINT 1 CHR H1B L Select page mode PRINT 1 CHR H1D P CHR 180 CHR 180 PRINT 1 CHR H1B W CHR 0 CHR 0 CHR 0 CHR 0 CHR 240 CHR 0 CHR 200 CHR 0 Set printing area PRINT 1 CHR H1B T CHR 0 Select print direction PRINT 1 AAAAA CHR HA PRINT 1 BBBBB CHR HA PRINT 1 CHR H1B T CHR 1 Sele...

Page 223: ...xL 0 dxH 2 dyL 126 dyH 6 TM L60II dxL 128 dxH 1 when thermal paper is selected dxL 112 dxH 1 when thermal label is selected dyL 126 dyH 6 Printers not featuring this command TM U200B D TM U300A B Description In page mode sets the size and the logical origin of the printing area as follows Horizontal logical origin xL xH 256 horizontal motion unit from absolute origin Vertical logical origin yL yH ...

Page 224: ...area and the logical origin set by this command is effective only in page mode This command setting has no effect in standard mode If this command is processed in standard mode the logical origin and the printing area are set and they are enabled when the printer selects page mode Model dependent variations TM T88II TM L60II Program Example for all printers Print Sample PRINT 1 CHR H1B L Select pa...

Page 225: ... A L Paper roll Print position commands ESC W Ver 4 0 p 1162 TM T88II The vertical or horizontal motion unit is specified by GS P The printable area width is 512 180 inches and the printable area height is 1662 360 inches ...

Page 226: ...0 p 1163 TM L60II The vertical or horizontal motion unit is specified by GS P The printable area height is 2216 360 inches and the printable area width is as follows When a thermal paper is selected it is 384 180 inches When a thermal label is selected it is 368 180 inches ...

Page 227: ...number specifies movement to the right and a negative number specifies movement to the left N pitch movement to the right nL nH 256 N Use the complement of N for setting N pitch movement to the left nL nH 256 65536 N When standard mode is selected the horizontal motion unit is used When page mode is selected the horizontal or vertical motion unit is used for the print direction set by ESC T When t...

Page 228: ...C O N F I D E N T I A L Paper roll Print position commands ESC Ver 4 0 p 1165 Model dependent variations TM T88II TM L60II See program example and print sample for ESC and ESC ...

Page 229: ...le for ESC and ESC Program Example Print Sample PRINT 1 CHR H1D P CHR 180 CHR 180 PRINT 1 ABCD PRINT 1 CHR H1B CHR 90 CHR 0 Set absolute position PRINT 1 EFGH CHR HA PRINT 1 ABCD PRINT 1 CHR H1B CHR 90 CHR 0 Set relative position PRINT 1 EFGH CHR HA ABCD EFGH 90 180 inch 90 180 inch ABCD EFGH ...

Page 230: ...C O N F I D E N T I A L Paper roll Print position commands ESC Ver 4 0 p 1167 TM T88II The vertical or horizontal motion unit is specified by GS P ...

Page 231: ...C O N F I D E N T I A L Paper roll Print position commands ESC Ver 4 0 p 1168 TM L60II The vertical or horizontal motion unit is specified by GS P ...

Page 232: ...is selected this command is enabled only when processed at the beginning of the line in standard mode The justification has no effect in page mode If this command is processed in page mode an internal flag is activated and this flag is enabled when the printer returns to standard mode This command executes justification in the printing area set by GS L and GS W This command justifies printing data...

Page 233: ... Ver 4 0 p 1170 Model dependent variations None Program Example for all printers Print Sample FOR n 0 TO 2 PRINT 1 CHR H1B a CHR n PRINT 1 ABC CHR HA PRINT 1 ABCD CHR HA PRINT 1 ABCDE CHR HA NEXT n ABC ABCD ABCDE ABC ABCD ABCDE ABC ABCD ABCDE ESC a 0 ESC a 1 ESC a 2 ...

Page 234: ...C T Notes This command is enabled only in page mode If this command is processed in standard mode it is ignored The printer ignores any setting that exceeds the printing area set by ESC W The horizontal or vertical motion unit is used for the print direction set by ESC T When the starting position is set to the upper left or lower right of the printing area using ESC T the vertical motion unit is ...

Page 235: ...C O N F I D E N T I A L Paper roll Print position commands GS Ver 4 0 p 1172 TM T88II The vertical or horizontal motion unit is specified by GS P ...

Page 236: ...C O N F I D E N T I A L Paper roll Print position commands GS Ver 4 0 p 1173 TM L60II The vertical or horizontal motion unit is specified by GS P ...

Page 237: ...his command is enabled only when processed at the beginning of the line The left margin has no effect in page mode If this command is processed in page mode the left margin is set and it is enabled when the printer returns to standard mode If the setting exceeds the printable area the left margin is automatically set to the maximum value of the printable area If this command and GS W set the print...

Page 238: ...C O N F I D E N T I A L Paper roll Print position commands GS L Ver 4 0 p 1175 TM T88II The horizontal motion unit is specified by GS P ...

Page 239: ...C O N F I D E N T I A L Paper roll Print position commands GS L Ver 4 0 p 1176 TM L60II The horizontal motion unit is specified by GS P ...

Page 240: ...dth to nL nH 256 horizontal motion unit Notes When standard mode is selected this command is enabled only when processed at the beginning of the line The printing area width has no effect in page mode If this command is processed in page mode the printing area width is set and it is enabled when the printer returns to standard mode If the left margin printing area width exceeds the printable area ...

Page 241: ...C O N F I D E N T I A L Paper roll Print position commands GS W Ver 4 0 p 1178 Model dependent variations TM T88II TM L60II See program example and print sample for GS L and GS W ...

Page 242: ...C O N F I D E N T I A L Paper roll Print position commands GS W Ver 4 0 p 1179 TM T88II The horizontal motion unit is specified by GS P ...

Page 243: ...zontal motion unit is specified by GS P When DIP switch 2 6 is off with a serial interface or DIP switch 1 7 is off with a parallel interface a thermal paper is selected When DIP switch 2 6 is on with a serial interface or DIP switch 1 7 is on with a parallel interface a thermal label is selected ...

Page 244: ... Program Example Print Sample PRINT 1 CHR H1D P CHR 180 CHR 180 PRINT 1 01234567890123456789 CHR HA PRINT 1 CHR H1D L CHR 60 CHR 0 Set left margin PRINT 1 CHR H1D W CHR 120 CHR 0 Set printing area width PRINT 1 01234567890123456789 CHR HA 01234567890123456789 0123456789 0123456789 Left Printing area margin width ...

Page 245: ... standard mode it is ignored The printer ignores any setting that exceeds the printing area set by ESC W A positive number specifies movement to the downward and a negative number specifies movement to the upward N pitch movement to the downward nL nH 256 N Use the complement of N for setting N pitch movement to the upward nL nH 256 65536 N The horizontal or vertical motion unit is used for the pr...

Page 246: ...C O N F I D E N T I A L Paper roll Print position commands GS Ver 4 0 p 1183 Model dependent variations TM T88II TM L60II See program example and print sample for GS and GS ...

Page 247: ...0 CHR 0 CHR 180 CHR 0 CHR 144 CHR 1 Set printing area PRINT 1 CHR H1B T CHR 0 Select print direction PRINT 1 AAAAA CHR HA PRINT 1 BBBBB PRINT 1 CHR H1D CHR 90 CHR 0 Set absolute position PRINT 1 CCCCC CHR HA PRINT 1 DDDDD CHR HA PRINT 1 EEEEE PRINT 1 CHR H1D CHR 90 CHR 0 Set relative position PRINT 1 FFFFF CHR HC Batch print and return to standard mode AAAAA BBBBB CCCCC DDDDD EEEEE FFFFF Printing ...

Page 248: ...C O N F I D E N T I A L Paper roll Print position commands GS Ver 4 0 p 1185 TM T88II The vertical or horizontal motion unit is specified by GS P ...

Page 249: ...C O N F I D E N T I A L Paper roll Print position commands GS Ver 4 0 p 1186 TM L60II The vertical or horizontal motion unit is specified by GS P ...

Page 250: ...ge commands Ver 4 0 p 1187 Bit image commands Command Name ESC Select bit image mode FS p Print NV bit image FS q Define NV bit image GS Define downloaded bit image GS Print downloaded bit image GS v 0 Print raster bit image BIT IMAGE COMMANDS ...

Page 251: ...CII ESC m nL nH d1 dk Hex 1B 2A m nL nH d1 dk Decimal 27 42 m nL nH d1 dk Range TM T88II m 0 1 32 33 0 nL 255 0 nH 3 0 d 255 TM L60II m 0 1 32 33 0 nL 255 0 nH 3 0 d 255 TM U200B D m 0 1 0 nL 255 0 nH 3 0 d 255 TM U300A B m 0 1 0 nL 255 0 nH 3 0 d 255 Default None Printers not featuring this command None more more ...

Page 252: ... mode emphasized double strike underline character size white black reverse printing or 90 clockwise rotated except for upside down printing mode After printing a bit image the printer processes normal data When printing multiple line bit images selecting unidirectional printing mode with ESC U enables printing patterns in which the top and bottom parts are aligned vertically This command is used ...

Page 253: ...ram Example for all printers Print Sample m 0 GOSUB bitimage8 8 dot single density m 1 GOSUB bitimage8 8 dot double density END bitimage8 PRINT 1 CHR H1B CHR m CHR 70 CHR 0 FOR i 1 TO 5 PRINT 1 CHR 1 CHR 2 CHR 4 CHR 8 PRINT 1 CHR 16 CHR 32 CHR 64 CHR 128 PRINT 1 CHR 64 CHR 32 CHR 16 CHR 8 PRINT 1 CHR 4 CHR 2 NEXT i PRINT 1 CHR HA RETURN m 0 m 1 ...

Page 254: ...lectable by m are as follows m Mode Vertical Dot Density Horizontal Dot Density Amount of Data k 0 8 dot single density 60 DPI 90 DPI nL nH 256 1 8 dot double density 60 DPI 180 DPI nL nH 256 32 24 dot single density 180 DPI 90 DPI nL nH 256 3 33 24 dot double density 180 DPI 180 DPI nL nH 256 3 ...

Page 255: ...lectable by m are as follows m Mode Vertical Dot Density Horizontal Dot Density Amount of Data k 0 8 dot single density 60 DPI 90 DPI nL nH 256 1 8 dot double density 60 DPI 180 DPI nL nH 256 32 24 dot single density 180 DPI 90 DPI nL nH 256 3 33 24 dot double density 180 DPI 180 DPI nL nH 256 3 ...

Page 256: ...modes selectable by m are as follows Amount of data k is nL nH 256 m Mode Vertical Dot Density Horizontal Direction Dot Density Set Adjacent Dots Maximum Number of Dots in standard mode 0 8 dot single density 72 DPI 80 DPI Permitted 200 1 8 dot double density 72 DPI 160 DPI Prohibited 400 ...

Page 257: ...modes selectable by m are as follows Amount of data k is nL nH 256 m Mode Vertical Dot Density Horizontal Direction Dot Density Set Adjacent Dots Maximum Number of Dots in standard mode 0 8 dot single density 72 DPI 80 DPI Permitted 200 1 8 dot double density 72 DPI 160 DPI Prohibited 400 ...

Page 258: ...ective when the NV bit image specified by n has not been defined In standard mode this command is effective only when there is no data in the print buffer In page mode the NV bit image is only stored in the print buffer and is not printed If the NV bit image which exceeds one line of printing area the printer does not print it This command is not affected by print modes emphasized underline charac...

Page 259: ...eed setting command After printing the bit image this command sets the print position to the beginning of the line When printing the NV bit image selecting unidirectional printing mode with ESC U enables printing patterns in which the top and bottom parts are aligned vertically The NV bit image is defined by FS q Model dependent variations TM T88II See program example and print sample for FS q and...

Page 260: ...p Ver 4 0 p 1197 TM T88II In standard mode the modes specified are as follows m Mode Dot density in vertical Dot density in horizontal 0 48 Normal 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 ...

Page 261: ... 01 44 8A 80 00 02 A2 DATA 45 00 00 01 44 8A 80 00 02 A2 40 00 00 00 04 DATA 80 00 00 00 02 40 00 00 00 04 80 00 00 00 62 DATA 40 00 00 03 84 80 00 00 1C 02 40 00 00 60 04 DATA 80 00 03 80 02 40 00 1C 00 04 80 00 60 00 02 DATA 40 03 80 00 04 80 0C 00 00 02 40 70 00 00 04 DATA 83 80 00 00 02 4C 00 00 00 04 80 00 00 00 02 DATA 40 00 00 00 04 80 00 00 00 02 4A AA AA AA A4 DATA 85 55 55 55 42 4A AA AA...

Page 262: ...xL xH x 256 1023 0 yH 1 0 d 255 k xL xH x 256 x yL yH x 256 x 8 Total defined data area is 2M bits 256K bytes Description Define NV bit image specified n specifies the number of defined NV bit images xL xH specifies xL xH x 256 bytes in the horizontal direction for the NV bit image you defined yL yH specifies yL yH x 256 bytes in the vertical direction for the NV bit image you defined d specifies ...

Page 263: ...his command At this time the macro becomes undefined k bytes data of d1 dk is processed as a defined data of a NV bit image The defined data d specifies a bit printed to 1 and not printed to 0 All NV bit images previously defined are cancelled After processing this command the printer executes a software reset Therefore processing this command enables the printer to be in the status when the power...

Page 264: ... roll Bit image commands FS q Ver 4 0 p 1201 Bit image data and print result are as follows Model dependent variations TM T88II See program example and print sample for FS q and FS p d1 dY 1 Y yL yH 256 d2 dY 2 dk 2 dk 1 dY dY 2 dk ...

Page 265: ...0 p 1202 TM T88II Frequent use of this command may damge the non volatile memory more than 10 times a day The printer is in BUSY when writing the data to the non volatile memory In this case do not transmit data from the host because the printer does not receive data ...

Page 266: ...55 Default None Printers not featuring this command TM U200B D TM U300A B Description Defines a downloaded bit image using x 8 dots in the horizontal direction and y 8 dots in the vertical direction d indicates the bit image data Notes Data d specifies a bit printed to 1 and not printed to 0 If the value of x y or x y is out of the range this command is canceled and the following data is processed...

Page 267: ...on is made ESC or ESC is executed the printer is reset or the power is turned off Downloaded bit image and a user defined character cannot be defined simultaneously When this command is executed the user defined character is cleared The downloaded bit image is printed by GS Model dependent variations None See program example and print sample for GS and GS ...

Page 268: ...s ignored if a downloaded bit image has not been defined When standard mode is selected this command is enabled only when there is no data in the print buffer If data exists in the print buffer the printer processes m as normal data When page mode is selected this command develops the downloaded bit image data in the print buffer but the printer does not print the downloaded bit image data If a do...

Page 269: ...print mode emphasized double strike underline character size white black reverse printing or 90 clockwise rotated except for upside down printing mode When printing a downloaded bit image selecting unidirectional printing mode with ESC U enables printing patterns in which the top and bottom parts are aligned vertically The downloaded bit image is defined by GS Model dependent variations TM T88II T...

Page 270: ...ommands GS Ver 4 0 p 1207 TM T88II The modes selectable m are as follows m Mode Vertical Dot Density Horizontal Dot Density 0 48 Normal 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 ...

Page 271: ...ommands GS Ver 4 0 p 1208 TM L60II The modes selectable m are as follows m Mode Vertical Dot Density Horizontal Dot Density 0 48 Normal 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 ...

Page 272: ... 45 00 00 01 44 8A 80 00 02 A2 40 00 00 00 04 DATA 80 00 00 00 02 40 00 00 00 04 80 00 00 00 62 DATA 40 00 00 03 84 80 00 00 1C 02 40 00 00 60 04 DATA 80 00 03 80 02 40 00 1C 00 04 80 00 60 00 02 DATA 40 03 80 00 04 80 0C 00 00 02 40 70 00 00 04 DATA 83 80 00 00 02 4C 00 00 00 04 80 00 00 00 02 DATA 40 00 00 00 04 80 00 00 00 02 4A AA AA AA A4 DATA 85 55 55 55 42 4A AA AA AA A4 85 55 55 55 42 DATA...

Page 273: ...255 0 yH 8 0 d 255 k xL xH 256 yL yH 256 except for k 0 Default None Printers not featuring this command TM L60II TM U200B D TM U300A B Description Prints a raster bit image using the mode specified by m as follows Prints a raster bit image using xL xH 256 bytes in the horizontal direction Prints a raster bit image using yL yH 256 dots in the vertical direction d indicates the bit image data m Mod...

Page 274: ...o 1 and not printed to 0 If a raster bit image exceeds one line the excess data is not printed The raster bit image is not affected by print modes emphasized double strike underline character size white black reverse printing upside down printing or 90 clockwise rotated This command feeds as much paper as is required to print the raster bit image regardless of the line spacing specified by ESC 2 o...

Page 275: ... FF C7 F8 07 E0 00 04 1F 81 FB F0 07 E7 F8 03 DATA CF FF C7 FC 07 E0 00 0C 1F 81 FB F0 07 E7 FC 03 DATA CF FF C3 FE 07 E0 00 08 1F 81 FB F0 07 E3 FE 03 DATA CF FF C1 FF 07 E0 00 18 1F 83 FB F0 07 E1 FF 03 DATA CF FF C0 FF 87 E0 00 18 1F FF F3 F0 07 E0 FF 83 DATA CF FF C0 7F C7 E0 00 10 1F FF F3 F0 07 E0 7F C3 DATA CF 80 00 3F E7 E0 00 30 1F FF F3 F0 07 E0 3F E3 DATA CF 80 00 1F E7 E0 00 20 1F FF E...

Page 276: ...ands GS v 0 Ver 4 0 p 1213 TM T88II The modes selectable by m are as follows m Mode Vertical Dot Density Horizontal Dot Density 0 48 Normal 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 ...

Page 277: ...14 Status commands Command Name DLE EOT Real time status transmission ESC u Transmit peripheral device status ESC v Transmit paper sensor status GS a Enable disable Automatic Status Back ASB GS r Transmit status GS z 0 Set on line recovery wait time STATUS COMMANDS ...

Page 278: ...tatus data specified in real time using n as follows Notes The printer executes this command upon receiving it The printer transmits the status without confirming whether the host computer can receive data With a serial interface model this command is executed even when the printer is off line the receive buffer is full or an error occurs n Function 1 Transmit printer status 2 Transmit off line st...

Page 279: ... is off line an error occurs or receive buffer is full when DIP switch is set to Off The real time status to be transmitted is as follows Printer status n 1 Bit Off On Hex Decimal Status 0 Off 00 0 Not used Fixed to Off how to use this table 1 On 02 2 Not used Fixed to On 2 Off 00 0 Drawer kick out connector pin 3 is LOW On 04 4 Drawer kick out connector pin 3 is HIGH 3 Off 00 0 On line On 08 8 Of...

Page 280: ... 0 Off 00 0 Not used Fixed to Off how to use this table 1 On 02 2 Not used Fixed to On 2 Off 00 0 Cover is closed On 04 4 Cover is open 3 Off 00 0 Paper is not being fed by the paper feed button On 08 8 Paper is being fed by the paper feed button 4 On 10 16 Not used Fixed to On 5 Off 00 0 No paper end stop On 20 32 Printing stops due to a paper end 6 Off 00 0 No error On 40 64 Error occurred 7 Off...

Page 281: ...omatically recoverable error bit 6 occurs If an unrecoverable error bit 5 occurs turn off the power as soon as possible Bit Off On Hex Decimal Status 0 Off 00 0 Not used Fixed to Off how to use this table 1 On 02 2 Not used Fixed to On 2 Off 00 0 No mechanical error On 04 4 Mechanical error occurred 3 Off 00 0 No auto cutter error On 08 8 Auto cutter error occurred 4 On 10 16 Not used Fixed to On ...

Page 282: ...60II TM U200B D Bit Off On Hex Decimal Status 0 Off 00 0 Not used Fixed to Off how to use this table 1 On 02 2 Not used Fixed to On 2 3 Off 00 0 Paper roll near end sensor paper adequate On 0C 12 Paper roll near end sensor paper near end 4 On 10 16 Not used Fixed to On 5 6 Off 00 0 Paper roll end sensor paper present On 60 96 Paper roll end sensor paper not present 7 Off 00 0 Not used Fixed to Off...

Page 283: ...status n 1 Bit 5 of the printer status is undefined Error status n 3 Bit 2 of the error status is undefined Automatically recoverable error indicates the high head temperature error or paper roll cover open error during printing Paper roll sensor status n 4 When the paper roll cover is open paper detection detected by the paper roll end sensor may be incorrect ...

Page 284: ... for a parallel interface is selected by DIP switch 1 3 Printer status n 1 Bit 5 of the printer status is undefined Error status n 3 Bit 3 of the error status is undefined Mechanical error indicates the label detection error Automatically recoverable error indicates the high head temperature error ...

Page 285: ...of the off line status is undefined Error status n 3 Mechanical error indicates the home position detection error Automatically recoverable error indicates the high head temperature error Paper roll sensor status n 4 The paper roll near end sensor is an option If the printer is not equipped with the paper near end sensor bits 0 and 1 of the third byte are always ON Paper adequate ...

Page 286: ...lso be used to check the status GS r is recommended for transmitting the peripheral device status ESC u is not a recommended command When DTR DSR control set by DIP switch Handshaking is selected with a serial interface the printer transmits the status after confirming that the host is ready to receive data If the host computer is not ready to receive data the printer waits until the host becomes ...

Page 287: ...dependent variations TM U300A B TM L60II Bit Off On Hex Decimal Status 0 Off 00 0 Drawer kick out connector pin 3 is LOW how to use this table 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 Undefined 7 Off 00 0 Not used Fixed to Off Program Example for all printers PRINT 1 CHR H1B u CHR 0 ...

Page 288: ...C O N F I D E N T I A L Paper roll Status commands ESC u Ver 4 0 p 1225 TM U300A B Handshaking for a serial interface is selected by DIP switch 1 3 With the TM U300PA PB this command is ignored ...

Page 289: ...C O N F I D E N T I A L Paper roll Status commands ESC u Ver 4 0 p 1226 TM L60II Handshaking for a serial interface is selected by DIP switch 1 3 ...

Page 290: ...not a recommended command When DTR DSR control is selected by DIP switch Handshaking with a serial interface the printer transmits the status after confirming that the host is ready to receive data If the host computer is not ready to receive data the printer waits until the host becomes ready When XON XOFF control is selected by DIP switch Handshaking with a serial interface the printer transmits...

Page 291: ...t Off On Hex Decimal Status 0 1 Off 00 0 Paper roll near end sensor paper adequate how to use this table On 03 3 Paper roll near end sensor paper near end 2 3 Off 00 0 Paper roll end sensor paper present 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 Program Example for all printers PRINT 1 CHR H1B v ...

Page 292: ...ng for a serial interface is selected by DIP switch 1 3 The paper sensor status information of this command for this printer is different from the standard ESC POS paper sensor status information as follows Bits 1 and 3 of the status are undefined With the TM U300PA PB this command is ignored ...

Page 293: ...C O N F I D E N T I A L Paper roll Status commands ESC v Ver 4 0 p 1230 TM L60II Handshaking for a serial interface is selected by DIP switch 1 3 ...

Page 294: ... B Description Enable or disable ASB and specifies the status items to include using n as follows Bit Off On Hex Decimal Function 0 Off 00 0 Drawer kick out connector pin 3 status disabled how to use this table On 01 1 Drawer kick out connector pin 3 status enabled 1 Off 00 0 On line off line status disabled On 02 2 On line off line status enabled 2 Off 00 0 Error status disabled On 04 4 Error sta...

Page 295: ...anges The disabled status items may change because each status transmission represents the current status Multiple status items can be selected When n 0 ASB is disabled The 4 byte status are transmitted without confirming whether the host computer is ready to receive data The 4 byte status must be consecutive except for the XOFF code If ASB is enabled when the printer is disabled by ESC the printe...

Page 296: ...status Bit 5 of the first byte Cover status Bit 6 of the first byte Paper is being fed by paper feed button status Bit 0 of the second byte Waiting for on line recovery status 2 Error status Bit 2 of the second byte Mechanical error status Bit 3 of the second byte Auto cutter error status Bit 5 of the second byte Unrecoverable error status Bit 6 of the second byte Automatically recoverable error s...

Page 297: ... to use this table 1 Off 00 0 Not used Fixed to Off 2 Off 00 0 Drawer kick out connector pin 3 is LOW On 04 4 Drawer kick out connector pin 3 is HIGH 3 Off 00 0 On line On 08 8 Off line 4 On 10 16 Not used Fixed to On 5 Off 00 0 Cover is closed On 20 32 Cover is open 6 Off 00 0 Paper is not being fed by the paper feed button On 40 64 Paper is being fed by the paper feed button 7 Off 00 0 Not used ...

Page 298: ...ror bit 6 occurs If an unrecoverable error bit 5 occurs turn off the power as soon as possible Bit Off On Hex Decimal Status for ASB 0 Off 00 0 Not waiting for on line recovery how to use this table On 01 1 Waiting for on line recovery 1 Undefined 2 Off 00 0 No mechanical error On 04 4 Mechanical error occurred 3 Off 00 0 No auto cutter error On 08 8 Auto cutter error occurred 4 Off 00 0 Not used ...

Page 299: ... Decimal Status for ASB 0 1 Off 00 0 Paper roll near end sensor paper adequate how to use this table On 03 3 Paper roll near end sensor paper near end 2 3 Off 00 0 Paper roll end sensor paper present 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 Bit Off On Hex Decimal Status for ASB 0 3 Undefined how to use this tab...

Page 300: ...te printer information Bits 0 and 2 of the second byte are undefined Automatically recoverable error indicates the high head temperature error or the paper roll cover open error during printing Third byte paper sensor information When the paper roll cover is open paper detection detected by the paper roll end sensor may be incorrect ...

Page 301: ...efault value is set by DIP switch 2 1 With a parallel interface the default value is set by DIP switch 1 3 Second byte printer information Bits 0 and 3 of the second byte are undefined Mechanical error indicates the label detection error Automatically recoverable error indicates the high head temperature error ...

Page 302: ...is undefined Second byte printer information Mechanical error indicates the home position detection error Automatically recoverable error indicates the high head temperature error Third byte paper sensor information The paper roll near end sensor is an option If the printer is not equipped with the paper near end sensor bits 0 and 1 of the third byte are always ON Paper adequate ...

Page 303: ...dshaking with a serial interface the printer transmits the status after confirming that the host is ready to receive data If the host computer is not ready to receive data the printer waits until the host becomes ready When XON XOFF control is selected by DIP switch Handshaking with a serial interface the printer transmits the status without confirming whether the host computer can receive data Th...

Page 304: ... near end sensor paper adequate how to use this table On 03 3 Paper roll near end sensor paper near end 2 3 Off 00 0 Paper roll end sensor paper present 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 Bit Off On Hex Decimal Status 0 Off 00 0 Drawer kick out connector pin 3 is LOW how to use this table On 01 1 Drawer k...

Page 305: ...F I D E N T I A L Paper roll Status commands GS r Ver 4 0 p 1242 Model dependent variations TM T88II TM L60II TM U200B D Program Example for all printers PRINT 1 CHR H1D r CHR 1 Transmits paper sensor status ...

Page 306: ...witch 1 3 Paper sensor status n 1 49 When the paper roll end sensor detects a paper end the printer goes off line and does not execute this command Therefore bits 2 and 3 of the paper sensor status do not transmit a paper end status When the paper roll cover is open paper detection detected by the paper roll end sensor may be incorrect ...

Page 307: ...dshaking for a serial interface is selected by DIP switch 1 3 Paper sensor status n 1 49 When the paper roll end sensor detects a paper end the printer goes off line and does not execute this command Therefore bits 2 and 3 of the paper sensor status do not transmit a paper end status ...

Page 308: ...n 1 49 The paper roll near end sensor is an option If the printer is not equipped with the paper near end sensor bits 0 and 1 of the third byte are always ON Paper adequate When the paper roll end sensor detects a paper end the printer goes off line and does not execute this command Therefore bits 2 and 3 of the paper sensor status do not transmit a paper end status ...

Page 309: ...he paper wait time to t1 500msec When t1 0 the paper wait time is set to 0 This command sets the recovery confirmation time to t2 500msec When t2 0 the recovery confirmation time is canceled Notes The printer is in the paper wait time status after loading the paper During this time the printer performs the followings The paper out LED is off Paper can be fed by pressing the paper feed button The t...

Page 310: ...e set on line by DLE ENQ 0 In the recovery confirmation time the paper cannot be fed by pressing the paper feed button When the recovery confirmation time is cancelled t2 0 the printer recovers on line by executing DLE ENQ 0 or pressing the paper feed button During the paper wait time and recovery confirmation time if a paper end is detected the printer restarts processing from loading a paper rol...

Page 311: ... out LED is off The printer starts a counter for the paper to be inserted The paper out LED remains off The printer starts a counter for the recovery confirmation time The paper out LED blinks The printer recovers on line The paper out LED is off User Operation Open the printer cover and insert a new paper roll Adjust the paper position Close the printer cover Confirm that the paper out LED blinks...

Page 312: ...rinter is in the recovery confirmation status Printer status Normal operation When the on line recovery wait time the printer status is elapsed when the paper feed button is pressed during the recovery confirmation time or when DLE ENQ 0 is executed the paper out LED is off the printer recovers on line and it executes normal processing User Operation Operation When the printer stops printing due t...

Page 313: ... Bar code commands Ver 4 0 p 1250 Bar code commands Command Name GS H Select printing position of HRI characters GS f Select font for HRI characters GS h Set bar code height GS k Print bar code GS w Set bar code width BAR CODE COMMANDS ...

Page 314: ...ult n 0 Printers not featuring this command TM U200B D TM U300A B Description Selects the printing position for Human Readable Interpretation HRI characters when printing a bar code using n as follows Note HRI characters are printed using the font specified by GS f 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 more more ...

Page 315: ...ependent variations None Program Example for all printers Print Sample PRINT 1 CHR H1D h CHR 80 Set height FOR n 0 to 3 PRINT 1 CHR H1D H CHR n Select print position PRINT 1 CHR H1D k CHR 2 Print bar code PRINT 1 496595707379 CHR 0 PRINT 1 CHR HA NEXT n GS H 0 GS H 1 GS H 2 GS H 3 ...

Page 316: ...ommand TM U200B D TM U300A B Description Selects a font for the Human Readable Interpretation HRI characters when printing a bar code using n as follows Notes The font set by this command is effective only for HRI character Configurations of font A and font B are different depending on the printer model HRI characters are printed at the position specified by GS H n Font of HRI characters 0 48 Font...

Page 317: ...t Sample PRINT 1 CHR H1D h CHR 80 Set height PRINT 1 CHR H1D H CHR 2 Select print position PRINT 1 CHR H1D f CHR 0 Select font PRINT 1 CHR H1D k CHR 2 Print bar code PRINT 1 496595707379 CHR 0 PRINT 1 CHR HA PRINT 1 CHR H1D f CHR 1 Select font PRINT 1 CHR H1D k CHR 2 Print bar code PRINT 1 496595707379 CHR 0 Font A GS H 3 Font B 4 9 6 5 9 5 7 0 7 3 7 9 7 ...

Page 318: ...C O N F I D E N T I A L Paper roll Bar code commands GS f Ver 4 0 p 1255 TM T88II Character configurations Font A 12 24 Font B 9 24 ...

Page 319: ...C O N F I D E N T I A L Paper roll Bar code commands GS f Ver 4 0 p 1256 TM L60II Character configurations Font A 12 24 Font B 9 24 ...

Page 320: ...B Description Sets the height of a bar code n specifies number of dots in the vertical direction of a bar code Model dependent variations TM T88II TM L60II Program Example for all printers Print Sample PRINT 1 CHR H1D h CHR 50 Set height to 50 PRINT 1 CHR H1D k CHR 2 Print bar code PRINT 1 496595707379 CHR 0 PRINT 1 CHR HA PRINT 1 CHR H1D h CHR 100 Set height to 100 PRINT 1 CHR H1D k CHR 2 Print b...

Page 321: ...C O N F I D E N T I A L Paper roll Bar code commands GS h Ver 4 0 p 1258 TM T88II One dot corresponds to 1 180 inch ...

Page 322: ...C O N F I D E N T I A L Paper roll Bar code commands GS h Ver 4 0 p 1259 TM L60II One dot corresponds to 1 180 inch ...

Page 323: ... m n d1 dn Range 0 m 6 k and d depend on the bar code system used 65 m 73 n and d depend on the bar code system used Default None Printers not featuring this command TM U200B D TM U300A B Description Select a bar code system and print the bar code k of indicates the number of the bar code data to be printed n of indicates the number of the bar code data d indicates the character code of the bar co...

Page 324: ...0 9 48 d 57 1 UPC E Fixed 11 k 12 0 9 48 d 57 2 JAN13 EAN13 Fixed 12 k 13 0 9 48 d 57 3 JAN8 EAN8 Fixed 7 k 8 0 9 48 d 57 4 CODE39 Can be changed 1 k 0 9 A Z SP start stop character 48 d 57 65 d 90 d 32 36 37 43 45 46 47 d 42 start stop character 5 ITF Interleaved 2 of 5 Can be changed 1 k even number 0 9 48 d 57 6 CODABAR NW7 Can be changed 1 k 0 9 A Z 48 d 57 65 d 68 d 36 43 45 46 47 58 more mor...

Page 325: ...1 n 255 0 9 A Z SP start stop character 48 d 57 65 d 90 d 32 36 37 43 45 46 47 d 42 start stop character 70 ITF Interleaved 2 of 5 Can be changed 1 n 255 even number 0 9 48 d 57 71 CODABAR NW7 Can be changed 1 n 255 0 9 A Z 48 d 57 65 d 68 d 36 43 45 46 47 58 72 CODE93 Can be changed 1 n 255 NUL SP 7FH 0 d 127 73 CODE128 Can be changed 2 n 255 NUL SP 7FH 0 d 127 m Bar Code System Number of Data Nu...

Page 326: ...bar code width exceeds the printing area the printer only feeds paper When page mode is selected if the bar code width exceeds the printing area the printer does not print the bar code but moves the printing position to printing area 1 This command feeds as much paper as is required to print the bar code regardless of the line spacing specified by ESC 2 or ESC 3 When page mode is selected this com...

Page 327: ...l data For the bar code CODE39 m 4 the printer processes ASCII code 42 as follows When the first bar code d1 is the printer processes the data as a start character If the first bar code d1 is not the printer adds a start character automatically When data dk just before NUL code is the printer processes as a stop character If data just before NUL is not the printer adds a stop character automatical...

Page 328: ...matically When is processed during bar code data processing the printer processes as a stop character The printer prints data preceding and finishes command processing Therefore data following are processed as normal data When CODE93 bar code m 72 is used The printer prints an HRI character as start and stop character The printer prints HRI characters an alphabetic character as a control character...

Page 329: ...ecific character Transmit data ASCII Hex Decimal SHIFT S 7B 53 123 83 CODE A A 7B 41 123 65 CODE B B 7B 42 123 66 CODE C C 7B 43 123 67 FNC1 1 7B 31 123 49 FNC2 2 7B 32 123 50 FNC3 3 7B 33 123 51 FNC4 4 7B 34 123 52 7B 7B 123 123 Program Example for all printers Print Sample PRINT 1 CHR H1D h CHR 80 Set height PRINT 1 CHR H1D k CHR 2 Print bar code PRINT 1 496595707379 CHR 0 PRINT 1 CHR HA PRINT 1...

Page 330: ...its for n depend on the printer model Model dependent variations TM T88II TM L60II Program Example for all printers Print Sample PRINT 1 CHR H1D h CHR 80 Set height PRINT 1 CHR H1D w CHR 3 Set width size to 3 PRINT 1 CHR H1D k CHR 2 Print bar code PRINT 1 496595707379 CHR 0 PRINT 1 CHR HA PRINT 1 CHR H1D w CHR 4 Set width size to 4 PRINT 1 CHR H1D k CHR 2 Print bar code PRINT 1 496595707379 CHR 0 ...

Page 331: ...level bar codes are UPC A UPC E JAN13 EAN13 JAN8 EAN8 CODE93 and CODE128 The binary level bar codes are CODE39 ITF and CODABAR n Module Width mm for Multilevel Bar Code Binary Level Bar 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 6 0 847 0 847 2 258 ...

Page 332: ...level bar codes are UPC A UPC E JAN13 EAN13 JAN8 EAN8 CODE93 and CODE128 The binary level bar codes are CODE39 ITF and CODABAR n Module Width mm for Multilevel Bar Code Binary Level Bar 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 6 0 847 0 847 2 258 ...

Page 333: ...C O N F I D E N T I A L Paper roll Macro function commands Ver 4 0 p 1270 Macro function commands Command Name GS Start end macro definition GS Execute macro MACRO FUNCTION COMMANDS ...

Page 334: ...finition While the macro is defined the printing is also executed The maximum number of data to be defined as a macro is different depending on the printer model If the macro definition exceeds the maximum number of data the excess data is not stored If the printer processes this command again immediately after previously processing it the printer clears the definition If GS is processed during ma...

Page 335: ...C O N F I D E N T I A L Paper roll Macro function commands GS Ver 4 0 p 1272 Model dependent variations TM T88II TM L60II See program example and print sample for GS and GS ...

Page 336: ...C O N F I D E N T I A L Paper roll Macro function commands GS Ver 4 0 p 1273 TM T88II The maximum number of data to be defined is 2048 bytes ...

Page 337: ...C O N F I D E N T I A L Paper roll Macro function commands GS Ver 4 0 p 1274 TM L60II The maximum number of data to be defined is 2048 bytes ...

Page 338: ...ly at the interval specified by t When m 1 the printer waits for the period specified by t blinks the LED 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 Notes If a macro is not defined or if r is 0 this command is ignored If this command is processed while a macro is being defined th...

Page 339: ...ly To define a macro definition send GS just before and after the data desired to be repeated And then execute macro by using GS to print the same data repeatedly Macro function eliminates the need for sending all the print data every time Model dependent variations TM T88II TM L60II See program example and print sample for GS and GS ...

Page 340: ...Hello PRINT 1 CHR H1D CHR 17 PRINT 1 EPSON PRINT 1 CHR H1D CHR 0 PRINT 1 World PRINT 1 CHR HA CHR HA PRINT 1 CHR H1B a CHR 0 PRINT 1 CHR H1B CHR 1 PRINT 1 No CHR HA PRINT 1 Name CHR HA PRINT 1 Address CHR HA PRINT 1 CHR H1B d CHR 5 PRINT 1 CHR H1B CHR 0 PRINT 1 CHR H1D PRINT 1 CHR H1D CHR 2 CHR 0 CHR 0 Defines a macro Hello EPSONWorld No Name Address Hello EPSONWorld No Name Address ...

Page 341: ...C O N F I D E N T I A L Paper roll Macro function commands GS Ver 4 0 p 1278 TM T88II When m 1 the PAPER OUT LED indicator blinks during a macro waiting state When m 1 the FEED can be Paper feed button ...

Page 342: ... O N F I D E N T I A L Paper roll Macro function commands GS Ver 4 0 p 1279 TM L60II When m 1 the PAPER LED indicator blinks during a macro waiting state When m 1 the PAPER FEED can be Paper feed button ...

Page 343: ...s Ver 4 0 p 1280 Mechanism control commands Command Name ESC Return home ESC U Turn unidirectional printing mode on off ESC i Partial cut one point left uncut ESC m Partial cut three points left uncut GS V Select cut mode and cut paper MECHANISM CONTROL COMMANDS ...

Page 344: ... 1B 3C Decimal 27 60 Range None Default None Printers not featuring this command TM T88II TM L60II Description Moves the print head to the standby position Note The standby position is different depending on the printer model Model dependent variations TM U200B D TM U300A B Program Example for all printers PRINT 1 CHR H1B ...

Page 345: ...C O N F I D E N T I A L Paper roll Mechanism control commands ESC Ver 4 0 p 1282 TM U200B D The standby position is in the left ...

Page 346: ...C O N F I D E N T I A L Paper roll Mechanism control commands ESC Ver 4 0 p 1283 TM U300A B The standby position is in the left ...

Page 347: ...ng mode is turned off When the LSB of n is 1 unidirectional printing mode is turned on Notes This mode can be set independently in standard mode and in page mode When unidirectional printing mode is turned off bidirectional printing mode is automatically turned on When page mode is selected the printer performs unidirectional printing for all data that is to be collectively printed using FF or ESC...

Page 348: ...N F I D E N T I A L Paper roll Mechanism control commands ESC U Ver 4 0 p 1285 Model dependent variations None Program Example for all printers PRINT 1 CHR H1B U CHR 1 Unidirectional printing mode turned on ...

Page 349: ...t of the paper roll with one point left uncut Notes GS V can also be used to cut paper GS V is recommended for cutting paper ESC i is not a recomemded command When standard mode is selected this command is enabled only when processed at the beginning of the line If an auto cutter is not provided this command is ignored When using this command there is a gap between the auto cutter and printing pos...

Page 350: ...t of the paper roll with three points left uncut Notes GS V can also be used to cut paper GS V is recommended for cutting paper ESC m is not a recommended command When standard mode is selected this command is enabled only when processed at the beginning of the line If an auto cutter is not provided this command is ignored When using this command there is a gap between the auto cutter and printing...

Page 351: ...ram example for ESC i and ESC m Program Example Print Sample PRINT 1 AAAAA PRINT 1 CHR H1B d CHR 5 PRINT 1 CHR H1B m Cut paper PRINT 1 BBBBB PRINT 1 CHR H1B d CHR 5 PRINT 1 CHR H1B i Cut paper AAAAA ESC m leaves paper joined in three places ESC i leaves paper joined in one place B BB B B ...

Page 352: ...Default None Printers not featuring this command TM L60II TM U300A B Description Select a paper cutting mode using m and then cut the paper as follows m Function 0 48 Executes a full cut cuts the paper completely 1 49 Executes a partial cut one point left uncut 65 Feeds paper to cutting position n vertical motion unit and executes a full cut cuts the paper completely 66 Feeds paper to cutting posi...

Page 353: ...ition and the printing position Note for If an auto cutter is not provided this command is ignored Notes for When n 0 the printer feeds the paper to the cutting position and cut it If an auto cutter is not provided the printer only feeds the paper to manual cutter position Model dependent variations TM T88II TM U200B D Program Example for all printers Print Sample PRINT 1 AAAAA CHR HA PRINT 1 CHR ...

Page 354: ...C O N F I D E N T I A L Paper roll Mechanism control commands GS V Ver 4 0 p 1291 TM T88II The vertical motion unit is specified by GS P ...

Page 355: ...ntrol commands GS V Ver 4 0 p 1292 TM U200B D The vertical motion unit is 1 144 inches the minimum movement amount This value equals a half dot pitch TM U200D does not have the auto cutter therefore the cutting position is the manual cutter position ...

Page 356: ...elect standard mode ESC p Generate pulse FS g 1 Write to user NV memory FS g 2 Read from user NV memory GS A Execute test print GS Initialize printer mechanism GS A Adjust label print starting position GS C 0 Select counter print mode GS C 1 Select count mode A GS C 2 Select counter print mode GS C Select counter mode B GS E Select head control method GS I Transmit printer ID GS P Set horizontal a...

Page 357: ...ription Responds to a request in real time from the host computer using n as follows Notes The printer executes this command upon receiving it With a serial interface model this command is executed even when the printer is off line or the receive buffer is full n Request 0 Recovers to on line state 1 Restarts printing from the beginning of the line where an error occurred after recovering from the...

Page 358: ...led only when a recoverable error occurs with the exception of an automatically recovered error and is ignored in other cases Errors recoverable by DLE ENQ 1 or DLE ENQ 2 depend on the printer model DLE ENQ 1 or DLE ENQ 2 is also executed to recover from a recoverable error when the printer is disabled by ESC In page mode if the printer recovers from a recoverable error by using DLE ENQ 2 the prin...

Page 359: ...C O N F I D E N T I A L Paper roll Miscellaneous commands DLE ENQ Ver 4 0 p 1296 Program Example for all printers PRINT 1 CHR H10 CHR H5 CHR 2 ...

Page 360: ...N F I D E N T I A L Paper roll Miscellaneous commands DLE ENQ Ver 4 0 p 1297 TM T88II BUSY condition for a parallel interface is selected by DIP switch 2 1 Recoverable error indicates the auto cutter error ...

Page 361: ... Paper roll Miscellaneous commands DLE ENQ Ver 4 0 p 1298 TM U200B D BUSY condition for the parallel interface is selected by DIP switch 1 8 Recoverable error indicates a home position detection error or the auto cutter error ...

Page 362: ...tion Outputs the pulse specified by t to connector pin m as follows The pulse ON time is t x 100 ms and the OFF time is t x 100 ms Notes The printer executes this command when receiving it This command is ignored in the following statuses In error status When the pulse is being output to the connector pin during processing of ESC p and DLE DC4 During transmission of block data Header NUL m Connect...

Page 363: ...nterface if the printer is in BUSY condition this command cannot be used in the following statuses When DIP switch BUSY condition is on receive buffer full When DIP switch BUSY condition is off off line receive buffer full or error status This command is effective when the printer is disabled by ESC select peripheral device Model dependent variations None Program Example PRINT 1 CHR H10 CHR H14 CH...

Page 364: ...A B Description Selects the device to which the host computer sends data using n as follows When the LSB of n is 0 the printer is disabled When the LSB of n is 1 the printer is enabled Notes When the printer is disabled it ignores all received data with the exception of DLE ENQ 1 and DLE ENQ 2 If ASB is enabled when the printer is disabled by this command the printer transmits 4 byte status messag...

Page 365: ... commands ESC Ver 4 0 p 1302 Program Example for all printers Print Sample AAAAA CCCCC PRINT 1 CHR H1B CHR 1 Printer enabled PRINT 1 AAAAA PRINT 1 CHR H1B CHR 2 Printer disabled PRINT 1 BBBBB PRINT 1 CHR H1B CHR 3 Pinter enabled PRINT 1 CCCCC CHR HA ...

Page 366: ... s is reset to the mode that was in effect when the power was turned on Notes The DIP switch settings are not checked again The data in the receive buffer is not cleared Any macro definitions are not cleared GS A settings are not cleared When this command is processed in page mode the printer deletes the data in the printing areas initializes all settings and selects standard mode This command can...

Page 367: ...ple for all printers Print Sample PRINT 1 CHR H1D P CHR 180 CHR 180 AAAAA BBBBB All settings are canceled after ESC is executed PRINT 1 CHR H1B 3 CHR 60 PRINT 1 CHR H1B U CHR 1 PRINT 1 CHR H1B E CHR 1 PRINT 1 CHR H1B CHR 1 PRINT 1 CHR H1D CHR 17 PRINT 1 AAAAA CHR HA PRINT 1 CHR H1B Initialize printer PRINT 1 BBBBB CHR HA ...

Page 368: ... starting position specified by ESC T within the printing area defined by ESC W The following commands switch the settings for page mode Because these commands can be set independently in standard mode and in page mode ESC SP ESC 2 ESC 3 and ESC U The following commands are not effective in page mode If these commands are processed in page mode an internal flag is activated and this flag is enable...

Page 369: ...t buffer for the printing area specified by ESC W collectively by FF or ESC FF When executing the print and paper feed commands such as LF CR ESC J and ESC d only the printing position moves and the printer does not perform actual printing Model dependent variations None See program example and print sample for ESC L FS L and ESC S ...

Page 370: ...inting areas are cleared the printing area set by ESC W returns to the default value but the value set by ESC T is maintained The following commands switch the settings for standard mode Because these commands can be set independently in standard mode and in page mode ESC SP ESC 2 ESC 3 and ESC U In standard mode CAN ESC FF GS and GS are ignored The settings of ESC T and ESC W are not effective in...

Page 371: ... for all printers Print Sample PRINT 1 CHR H1B L Select page mode PRINT 1 CHR H1D P CHR 180 CHR 180 AAAAA PRINT 1 CHR H1B W CHR 0 CHR 0 CHR 0 CHR 0 CHR 240 CHR 0 CHR 200 CHR 0 BBBBB CCCCC PRINT 1 CHR H1B T CHR 0 Select print direction PRINT 1 AAAAA CHR HA PRINT 1 BBBBB CHR HA PRINT 1 CCCCC PRINT 1 CHR H1B CHR HC Batch print PRINT 1 CHR H1B S Select standard mode ...

Page 372: ... not featuring this command None Description Outputs the pulse specified by t1 and t2 to the specified connector pin m as follows The pulse for ON time is t1 2msec and for OFF time is t2 2msec Notes If m is out of range this command is canceled and the following data is processed as normal data If t2 t1 the OFF time is equal to the ON time m Connector pin 0 48 Drawer kick out connector pin 2 1 49 ...

Page 373: ...C O N F I D E N T I A L Paper roll Miscellaneous commands ESC p Ver 4 0 p 1310 Model dependent variations TM U200B D Program Example for all printers PRINT 1 CHR H1B p CHR 0 CHR 25 CHR 250 ...

Page 374: ...C O N F I D E N T I A L Paper roll Miscellaneous commands ESC p Ver 4 0 p 1311 TM U200B D If t2 50 t2 is supposed to be 50 ...

Page 375: ...ption Writes data to user NV memory a1 a2 a3 and a4 specify the stored data starting address to a1 a2 x 256 a3 x 65536 a4 x 16777216 nL and nH select the number of stored data bytes nL nH x 256 d specifies the stored data k indicates the number of stored data k is an explanation parameter therefore it is not necessary to be transmitted Notes User NV memory means the memory area which is used for s...

Page 376: ...ed All the previously stored data in the specified area is replaced with new data The user NV memory data can be read by FS g 2 The user NV memory can be used for memorizing definitions of NV bit images and maintenance information ink ribbon replacement date telephone numbers of repair companies and so on Model dependent variations TM T88II Program Example PRINT 1 CHR H1C g1 CHR 0 PRINT 1 CHR 0 CH...

Page 377: ... T88II Frequent use of this command may damage the non volatile memory more than 10 times a day The printer will become BUSY during writing data to the non volatile memory In this case the printer does not receive and transmit data therefore be sure not to transmit data from the host ...

Page 378: ...V memory a1 a2 a3 and a4 specify starting address of transmission data to a1 a2 x 256 a3 x 65536 a4 x 16777216 nL and nH specify the number of transmission data to nL nH x 256 bytes Notes User NV memory means the memory area which is used for storing character font data in non volatile memory Transmission data consists of Header data NUL as follows Header Hexadecimal 5FH Decimal 95 Data User NV me...

Page 379: ...ith the other transmission data except for ASB status When the host becomes Reverse Mode the data is transmitted in order from the beginning Data which exceeds the transmission buffer size 99 bytes is ignored When using the command the host should be Reverse Mode immediately and execute receive processing of status When using this command space for the receive buffer of the host should be more tha...

Page 380: ...mission data can be differentiated as follows Transmission data Bits 1st byte of ASB status 0 1 00 Real time status DLE EOT 0 1 10 Normal status GS r 0 0 Printer ID GS I 0 0 Head of block data 0101 1111 XON code 0001 0001 XOFF code 0001 0011 Program Example PRINT 1 CHR H1C g2 CHR 0 CHR 0 CHR 0 CHR 0 CHR 0 CHR 14 CHR 0 ...

Page 381: ...M U300A B Range pL pH x 256 2 pL 2 pH 0 0 n 2 48 n 50 1 m 3 49 m 51 Description Execute a specified test print pL and pH specify the number of parameters following n to pL pH x 256 bytes n specifies paper used for the test print as follows m specifies a type of the test print as follows n Paper 0 48 Basic sheet paper roll 1 49 2 50 Paper roll m Type 1 49 Hexadecimal dump 2 50 Printer status printi...

Page 382: ...s command At that time the macro becomes undefined After processing this command the printer performs software resetting The printer is in the status when the power is turned on by executing this command When processing the printer status printing m 2 50 and the rolling pattern printing m 3 51 the printer does not process data reception and transmission between the host ASB status and real time co...

Page 383: ...ult None Printers not featuring this command TM T88II TM U200B D TM U300A B Description Feeds label paper to the print starting position This command is effective only when a thermal label is selected with the paper selection DIP switch This command does not initialize the values set by other commands Model dependent variations TM L60II Program Example PRINT 1 CHR H1D ...

Page 384: ... I D E N T I A L Paper roll Miscellaneous commands GS Ver 4 0 p 1321 TM L60II With a serial interface the paper selection DIP switch is SW 2 6 With a parallel interface the paper selection DIP switch is SW 1 7 ...

Page 385: ... follows When the LSB of m is 0 the label position is adjusted in the normal direction When the LSB of m is 1 the label position is adjusted in the reverse direction n specifies the adjustment amount The adjustment amount formula is n vertical motion unit Notes This command is ignored unless it is received just after feeding a label to the print starting position by pressing the paper feed button ...

Page 386: ...ust the print starting position of the current label The default and adjustment amounts for the print starting position differ depending on the printer model A setting exceeding the maximum adjustment amount is set to the maximum adjustment amount Model dependent variations TM L60II Program Example PRINT 1 CHR H1D A CHR 0 CHR 18 ...

Page 387: ...parallel interface the paper selection DIP switch is SW 1 7 The vertical motion unit is set by GS P The default print starting position is approximately 1 5 mm below the top edge of the label The maximum adjustment amount in the paper feed direction is label length 1 5 mm top edge 1 5 mm bottom edge 18 mm 255 360 inches and in the reverse direction is 0 5 mm ...

Page 388: ...number of printed digits and the print position within the entire range of printed digits n specifies the number of digits to be printed When n 0 the printer prints the actual digits indicated by the number value When n 0 the printer prints the last n digits of the serial number m specifies the printing position within the entire range of printed digits as follows m Print position Processing of Di...

Page 389: ... stored in the print buffer by GS c Model dependent variations TM L60II Program Example Print Sample PRINT 1 CHR H1D C0 CHR 3 CHR 0 PRINT 1 AAAAA CHR H1D c CHR HA AAAAA 1 3 digits right alignment adding spaces to the left PRINT 1 CHR H1D C0 CHR 4 CHR 1 BBBBB0002 4 digits right alignment adding 0 to the left PRINT 1 BBBBB CHR H1D c CHR HA ...

Page 390: ... D E N T I A L Paper roll Miscellaneous commands GS C 0 Ver 4 0 p 1327 TM L60II With a serial interface the paper selection DIP switch is SW 2 6 With a parallel interface the paper selection DIP switch is SW 1 7 ...

Page 391: ... command TM T88II TM U200B D TM U300A B Description Selects a count mode for the serial number counter aL aH and bL bH specify the counter ranges maximum or minimum value n specifies the stepping amount when counting up or down r specifies the repetition number of printing for the same counter value Count mode Conditions Minimum value Maximum value Count up aL aH 256 bL bH 256 and n 0 and r 0 aL a...

Page 392: ... bL bH 256 and the maximum value of the counter is aL aH 256 In a count stop setting when executing GS c the counter value is not changed When this command is executed the internal counter which counts the repetition number of printing is 0 This command does not change the counter value The counter value is set by GS C 2 The settings for a range of a counter set by GS C stepping amount of incremen...

Page 393: ...by this command goes out of the counter operation range it is forced to convert to the minimum value by GS c In count down mode if the counter value specified by this command goes out of the counter operation range it is forced to convert to the maximum value by GS c The setting of the counter value set by GS C is disabled by processing this command The range of the counter value is set by GS C 1 ...

Page 394: ...s command TM T88II TM U200B D TM U300A B Description Selects a count mode for the serial number counter by using character strings sa and sb specify the counter ranges maximum and minimum values for the serial number counter sn specifies the stepping amount for counting up or down sr specify the repetition number of printing for the counter value sc specifies the serial number counter value Count ...

Page 395: ...ment cannot be omitted Setting value for the omitted argument is not changed Example When changing only a stepping amount for a count up or count down and a counter value the setting value is GS C 5 100 The internal counter value which counts the repetition number of printing by processing this command is 0 The settings for GS C 1 and GS C 2 are disabled by processing this command Program Example ...

Page 396: ...rgizing time using n as follows Notes When standard mode is selected this command is enabled only when processed at the beginning of the line In page mode the setting for this command is effective for all data to be printed collectively by FF or ESC FF Model dependent variations TM U300A B Bit Off On Hex Decimal Function 0 Off 00 0 Head energizing time Copy how to use this table On 01 1 Head energ...

Page 397: ...C O N F I D E N T I A L Paper roll Miscellaneous commands GS E Ver 4 0 p 1334 Program Example for all printers PRINT 1 CHR H1D E CHR 16 Select printing speed to Low ...

Page 398: ... F I D E N T I A L Paper roll Miscellaneous commands GS E Ver 4 0 p 1335 TM U300A B Bit 4 is undefined When multi ply roll paper is used Head energizing time Copy should be selected for a long enegizing time ...

Page 399: ...Decimal 29 73 n Range 1 n 3 49 n 51 Default None Printers not featuring this command TM U300A B Description Transmits 1 byte of printer ID using n as follows Notes Printer model ID depends on the printer model n Printer ID Specification 1 49 Printer model ID Printer model 2 50 Type ID Printer type 3 51 Version ID Firmware version more more ...

Page 400: ...dy When XON XOFF control is selected by DIP switch Handshaking with a serial interface the printer transmits the ID data without confirming whether the host computer can receive data Model dependent variations TM T88II TM L60II TM U200B D Bit Off On Hex Decimal Function 0 Off 00 0 Two byte character code not supported how to use this table 1 Off 00 0 Not auto cutter equipped On 02 2 Auto cutter eq...

Page 401: ...C O N F I D E N T I A L Paper roll Miscellaneous commands GS I Ver 4 0 p 1338 Program Example for all printers PRINT 1 CHR H1D I CHR 1 Transmits printer ID ...

Page 402: ...aper roll Miscellaneous commands GS I Ver 4 0 p 1339 TM T88II Handshaking for a serial interface is selected by DIP switch 1 3 Printer model ID n 1 49 Hex 20H Decimal 32 Type ID n 2 50 Bit 1 is fixed to On auto cutter equipped ...

Page 403: ... 1 is fixed to Off not auto cutter equipped Bit 2 of the Type ID is different from the standard ESC POS as follows Paper selection for a serial interface is selected by DIP switch 2 6 Paper selection for a parallel interface is selected by DIP switch 1 7 Bit Off On Hex Decimal Function 2 Off 00 0 Select thermal paper DIP switch Paper selection is Off On 04 4 Select thermal label DIP switch Paper s...

Page 404: ...GS I Ver 4 0 p 1341 TM U200B D Handshaking for a serial interface is selected by DIP switch 1 3 Printer model ID n 1 49 Hex 0D Decimal 13 Type ID n 2 50 TM U200B Bit 1 is fixed to On auto cutter equipped TM U200D Bit 1 is fixed to Off not auto cutter equipped ...

Page 405: ...1 x and 1 y inches respectively When x 0 the default setting of horizontal value is used When y 0 the default setting of vertical value is used Notes The horizontal direction is perpendicular to the paper feed direction and the vertical direction is the paper feed direction The horizontal and vertical motion units indicate the minimum pitch used for calculating the values of related commands shown...

Page 406: ... x ESC 3 ESC J ESC W GS and GS Commands using y ESC SP ESC ESC W ESC GS A and GS V The calculated result from combining this command with others is truncated to the minimum value of the mechanical pitch This command does not affect the current setting values Model dependent variations TM T88II TM L60II Program Example for all printers Print Sample PRINT 1 CHR H1D P CHR 180 CHR 180 AAAAA PRINT 1 CH...

Page 407: ...C O N F I D E N T I A L Paper roll Miscellaneous commands GS P Ver 4 0 p 1344 TM T88II The default values equal a normal dot pitch in horizontal and 1 2 dot pitch in vertical ...

Page 408: ...C O N F I D E N T I A L Paper roll Miscellaneous commands GS P Ver 4 0 p 1345 TM L60II The default values equal a half dot pitch in horizontal and 1 2 dot pitch in vertical ...

Page 409: ...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 is the maximum of the specified counter value it is forced to convert to the minimum value by this command In count down mode if the counter value is the minimum o...

Page 410: ... I D E N T I A L Paper roll Miscellaneous commands GS c Ver 4 0 p 1347 Model dependent variations None Program Example Print Sample PRINT 1 AAAAA CHR H1D c CHR HA AAAAA 1 PRINT 1 BBBBB CHR H1D c CHR HA BBBBB 2 ...

Reviews: