
TSP200 Series
Programmer’s Manual




The TSP200 series is ideal for printing text, bar code and graphics.
The TSP200 series has the following features: 1. extremely quiet and fast printing (maximum 50 mm/sec.) using the direct line thermal printing method 2. support many bar code types (UPC-A, UPC-E, JAN/EAN-8, JAN/EAN-13, CODE 39, IFT 2 OF 5, CODE
128, CODE 93, NW-7) 3. dual interfaces (RS232C, Parallel) 4. memory switches that enable wide selection of printer default settings
The printer has two different software modes which can be selected using the DIP switch. (Factory setting: Star Mode)
This mode is compatible with Star Receipt printers, such as the SP300 and SP200 series.
This mode is compatible with the printers supporting ESC/POS command.
ESC/POS is a trademark of Seiko Epson Corporation.
For improvement purposes, the descriptions and specifications in this manual are subject to change without notice.

Be sure to turn off the power of the printer before changing the setting of the DIP switches.
OFF DIP switch 1
Power off · DIP switch · DIP switch 2

DIP switch #1 The factory settings of DIP switch 1 are all on.
DIP Switch #2 Factory settings: 2-1 and 2-2 are on; 2-3 and 2-4 are off.

2) ON LINE + POWER ON (Turn the power on while holding the ON LINE switch depressed.) Each of the signals sent from the computer to the printer will be printed out in hexadecimal code. This function allows you to check if a control code sent to the printer by the program being used is correct or not. The last line is not printed if its data is less than one full line. However, if the ON LINE switch is pressed to set the off line mode, the last line will be printed. To turn off the mode, it is necessary to turn off the printer completely.

Transmission type Asynchronous serial interface
Baud rate (bps) 2400, 4800, 9600, or 19200
(Selected by DIP switch)
Start bit: 1 Data bits: 7 or 8 (Selected by DIP switch) Parity: Odd, Even, or None
(Selected by DIP switch) Stop bit: 1
RS-232C Mark = Logic “1” (–3V to –15V)
Space = Logic “0” (+3V to +15V) Handshaking DTR or XON/XOFF mode (Selected by DIP
b0 b1 b2 b3 b4 b5 b6 (b7)
A: Start bit B: Data bits C: Vertical parity bit D: Stop bit

SERIAL
Output (DTR, FAULT, TXD, RTS)

4-3-1. RS-232C Interface


Refer to the host computer’s interface specifications for details of how to connect the interface. The following illustrations show typical connection configura- tions.
[RS-232C]
Printer side IBM PC side (25 pin)
F-GND
RXD
TXD
TXD
RXD
DTR
RTS
S-GND
CTS
DSR
6 DSR
RTS
S-GND
INIT
DCD
FAULT
DTR
Printer side IBM PC side (9 pin)
DCD
RXD
RXD
TXD
TXD
DTR
DTR
S-GND
S-GND
6 DSR
DSR
RTS
RTS
INIT
CTS
FAULT

SERIAL
This mode is accessed when the DIP switch 1-6 is set to ON. Signals are controlled using the DTR line as a BUSY flag.
Buffer full Buffer empty
Immediately after power on (provided that no error occurs), the printer sets DTR to “SPACE” to indicate that it is ready to receive data. When the host detects that DTR is in “SPACE” condition, it begins sending text data over the RXD line.
When the printer’s remaining buffer space falls to *256 bytes or less, the printer sets DTR to “MARK.” The host responds by halting the data transfer. However, note that the printer remains capable of receiving data until the buffer becomes full.
Available buffer space increases as the printer prints the buffered data. When the printer has cleared all but the last *256 bytes of data, it sets DTR back to “SPACE” to indicate that it is ready to receive more data.
Data buffer full Nearly full Nearly empty Empty
*256 bytes remaining *256 bytes
DTR “SPACE”
* 16 bytes when the buffer size is set to 45 bytes
Data Data Data · Printing · Power ON

Upon detecting an error, the printer immediately sets DTR to “MARK” and goes offline. If the error was caused by a paper-out condition, you can clear it by loading new paper and then pressing the ON LINE switch (Star mode) or closing the cover (ESC/POS mode).
When paper is out
OFF LINE ON LINE
DTR
Paper out Press the ON LINE switch after loading paper (Star mode).

This mode is accessed when DIP switch 1-6 is set to OFF.
X–ON X–OFF X–OFF X–ON X–OFF X–OFF X–OFF
X–ON X–OFF
TXD
RXD
PAPER OUT
ON
ON LINE
OFF
Paper out Power ON Load paper and press the ON LINE switch (Star mode).
Immediately after power on (provided that no error occurs), the printer informs the host that it is ready to receive data by outputting the X-ON signal (control code DC1; value = 11H) over the TXD line. If necessary the printer repeats the signal every three seconds until the host begins sending text data over the RXD line.
When the printer’s remaining buffer space falls to *256 bytes or less, the printer begins to output X-OFF signals (DC3, value = 13H) over the TXD line. The host responds by halting the data transfer. Note that the printer remains capable of receiving data until the buffer becomes full.
Available buffer space increases as the printer prints the buffered data. When the printer has cleared all but the last *256 bytes of data, it again outputs the X-ON signal.
Data buffer full Nearly full Nearly empty Empty
Printer outputs X-OFF.
Pinter outputs X-ON.
* 16 bytes when the buffer size is set to 45 bytes

Interface: Conforms with Centronics parallel interface standard Data transfer speed: 1000 ~ 5000 CPS Synchronization: External strobe pulse Handshaking: Using ACK and BUSY Logic level: TTL-level compatible
5-2. Interface Timing
A C K
Approx. 9ms
STROBE
T T T
BUSY
T: At least 0.5ms

Signal Name Sample Circuit
4.7kW
DATA 8
PARALLEL
STROBE
100W
1.8kW
ACK
5-3. Connectors and Signal Names
Conforms to Amphenol connector 57-30360

Pin no Signal name Direction Function 1 STROBE IN Strobe pulse for data read. Usually HIGH; goes LOW to trigger data read. 2-9 DATA 1~8 IN Parallel data lines for eight-bit data. HIGH is “1”; LOW is “0”. 10 ACK OUT Printer outputs this pulse for approxi- mately 9µs to indicate that data read is completed. Printer becomes ready to receive new data at the moment the ACK pulse ends. 11 BUSY OUT DC-level signal indicating printer’s cur- rent status. LOW indicates that printer is ready to receive the next data; HIGH indicates that printer is unable to receive. 12 PAPER OUT OUT DC-level signal indicating whether printer has paper. The signal stays LOW while paper is present; it goes HIGH to indicate that paper has run out. 13 SELECTED OUT DC-level signal; stays HIGH while printer is online. 14-15 N/C Not used 16 SIGNAL GND Signal ground 17 CHASSIS GND Printer-frame ground 18 +5V Outputs +5V (Max. 50mA) 19-30 TWISTED Return pins for various signals. Each pin is connected to the corresponding signal line by twisted pair line. 31 RESET IN LOW level causes printer to reset its control circuitry and return to its initial state. 32 ERROR OUT Goes LOW to indicate that printer is unable to print. 33 EXT GND Ground terminal for external connection 34-35 N/C Not used 36 – – Fixed “HIGH” at printer side
PAIR RETURN

A drive circuit for driving peripheral units (such as cash drawers) is featured on the main logic board of this printer. A modular connector for driving peripheral units is featured on the output side on the drive circuit. When using this circuit, connect the cable for the peripheral unit. (Cables must be prepared by the user.)
Use cables which meet the following specifications. 1. Use the modular plug as shown in Figure 6-1. 2. Separate ground wire is required for Europe only. 3. If the printer is to be used in Europe, the noise filter should be attached to the cable, as shown in Figure 6-2.
Modular plug MOLEX 90075-0007, AMP641337 or JAPAN BURNDY B-66-4
Separated Ground wire connected to shield (Europe only).
Figure 6-1. Cable specifications for peripheral unit.
Shield · Wire lead

Screw M3×4
Peripheral unit drive circuit connector
Figure 6-2. Separate ground wire and noise filter are required for Europe.

I Drive circuit The recommended drive circuit is shown.
[Drive output 24V, max. 1.0 A]
TR1
D1
+24V
M-GND
R3 4.7kΩ 1/4W
D2
M-GND
+5V
R1
TR3
R2
NOTES: 1. Peripheral units #1 and #2 cannot be driven simultaneously. When driving a device continuously, do not use drive duty above 20%. 2. Compulsion switch status is available as status data. 3. Resistance for coils L1 and L2 is not less than 24 ohms. 4. Absolute maximum ratings for diodes D1 and D2 (at Ta=25˚C): Average rectified current Io = 1A Maximum forward surge current (60Hz,1-cycle sine wave) IFSM=40A 5. Absolute maximum rating for transistors TR1 and TR2 (at Ta = 25˚C): Collector current Ic = 2A

The various types of errors can be identified by the buzzer’s sound and the lit LEDs. Buzzer: The circled numbers refer to “7-4. Type of buzzer sound”.
Power Lamp Flashing Pattern Recovery Conditions
Automatic recovery after head temperature lowers Approx. 1 Sec Approx. 1 Sec
Power Lamp Flashing Pattern Recovery Conditions
Insert paper and press on-line switch.
Approx. 1 Sec Approx. 1 Sec
Insert paper and close cover.
Lower head and press on-line switch.
Approx. 250 ms Approx. 250 ms
Lower head and close cover.
Paper near end of roll
Press on-line switch and printing will continue. Both lamps light when printing and power lamp flashes and on-line lamp lights when on line.
Approx. 2 Sec Approx. 2 Sec
Same as no paper
Close cover and press on-line switch.
Approx.
500 ms Approx.
Close cover.
Error during paper cutting
If the blade is at the home position, press the on-line switch for printing to continue. If the blade is not at the home position, it is not a recover- able error.
Approx. 125 ms Approx. 125 ms

The unit will have to be repaired.
1 Online, Offline P 2 No Paper PPPP PPPP 3 Head Up PiPiPi 4 Near End PP PP 5 Cover Open PPPP 6 Cutter Error Pi PPP PPiPiP PPPPPi PiPiPiPiPi PiPiPiPiPi 7 Buzzer by command Pi

The details of each command are shown in the following sections.
Control codes Hexadecimal Function Page codes
“R” n 1B 52 n Select international character set 25
“/” “1” 1B 2F 31 Select slash zero 25 “/” 1B 2F 01
“/” “0” 1B 2F 30 Select normal zero 25 “/” 1B 2F 00
“b” n1 n2 n3 n4 1B 62 n1 n2 n3 n4 Select bar code printing 26 d1... d1... 1E
“M” 1B 4D Select 12-dot pitch printing 30
“p” 1B 70 Select 14-dot pitch printing 30
“P” 1B 50 Select 15-dot pitch printing 30
“:” 1B 3A Select 16-dot pitch printing 30
n 1B 20 n Set character spacing 30
0E Sets the printing magnified double in 31 character width.
14 Resets the printing magnified in 31 character width.
“W” n 1B 57 n Sets the magnification rate in character width. 31
1B 0E Sets the printing magnified double in 31 character height.
1B 14 Resets the printing magnified in character 31 height.
“h” n 1B 68 n Sets the magnification rate in character height. 32
“i” n1 n2 1B 69 n1 n2 Sets the magnification rates in character 32 width and height.
“–” “1” 1B 2D 31 Select underlining 32 “–” 1B 2D 01
“–” “0” 1B 2D 30 Cancel underlining 32 “–” 1B 2D 00
“_” “1” 1B 5F 31 Select upperlining 33 “_” 1B 5F 01
“_” “0” 1B 5F 30 Cancel upperlining 33 “_” 1B 5F 00

Control codes Hexadecimal Function Page codes
“4” 1B 34 Select highlight printing 33
“5” 1B 35 Cancel highlight printing 33
0F Inverted printing 33
12 Cancel inverted printing 33
“E” 1B 45 Select emphasized printing 34 “G” 1B 47
“F” 1B 46 Cancel emphasized printing 34 “H” 1B 48
Control codes Hexadecimal Function Page codes
“C” n 1B 43 n Set page length in lines 35
“C” n 1B 43 00 n Set page length in inches 35
“N” n 1B 4E n Set bottom margin 35
“O” 1B 4F Cancel bottom margin 35
“l” n 1B 6C n Set left margin 36
“Q” n 1B 51 n Set right margin 36
Control codes Hexadecimal Function Page codes
0A Line feed 37
0D Carriage Return 37
“a” n 1B 61 n Feed paper n lines 37
0C Form feed 37
09 Horizontal tab 37
0B Vertical tab 38
“z” “1” 1B 7A 31 Set line spacing to 4 mm 38 “z” 1B 7A 01
“0” 1B 30 Set line spacing to 3 mm 38
“J” n 1B 4A n One time n/4 mm feed 38
“j” n 1B 6A n One time n/4 mm backfeed 39
“I” n 1B 49 n One time n/8 mm feed 39
“B” n1 n2... 1B 42 n1 n2... 00 Set vertical tab stops 39
“D” n1 n2... 1B 44 n1 n2... 00 Set horizontal tab stops 40

Control codes Hexadecimal Function Page codes
“K” n 1B 4B n 00 m1 m2 Print normal density graphics 41 m1 m2
“L” n1 n2 1B 4C n1 n2 m1 m2 Print high density graphics 43 m1 m2 “k” n d1 ... 1B 6B n 00 d1... Print fine density graphics 44
“X” n1 n2 m1 ... 1B 58 n1 n2 d1 ... Print fine density graphics 47
Control codes Hexadecimal Function Page codes
“&” 1B 26 01 01 n
Define download character 48 n m1 m2... m48 m1 m2... m48
“&” “1” “1” 1B 26 31 31 n n m1 m2... m48 m1 m2... m48
“&” n 1B 26 01 00 n Delete a download character 49 “&” “1” “0” n 1B 26 31 30 n
“%” “1” 1B 25 31 Enable download character set 49 “%” 1B 25 01
“%” “0” 1B 25 30 Disable download character set 50 “%” 1B 25 00
Control codes Hexadecimal Function Page codes
n1 n2 1B 07 n1 n2 Define drive pulse width for peripheral 51 device #1
07 Control peripheral device #1 51
1C Control peripheral device #1 immediately 51
19 Control peripheral device #2 immediately 51
1A Control peripheral device #2 immediately 51
Control codes Hexadecimal Function Page codes
“d” “0” 1B 64 30 “d” 1B 64 00 Full-cut command to the auto cutter 52
“d” “1” 1B 64 31 Partial-cut command to the auto cutter 52 “d” 1B 64 01

Control codes Hexadecimal Function Page codes
18 Cancel last line & Initialize printer 53
13 Deselect printer 53
11 Set select mode 53 1E Beep the buzzer 53
“#N, n1 n2 n3 n4” 1B 23 N 2C n1 n2 n3 n4 Set memory switch 54 0A 00 “@” 1B 40 Initialize printer 55
05 Enquiry 55
“?” 1B 3F 0A 00 Reset printer hardware 56

FUNCTION Select international character set
CODE “R” n
HEX 1B 52 n
REMARKS Selects an international character set according to the value of n, as shown below:
n Character set n Character set 0 U.S.A. 7 Spain I 1 France 8 Japan 2 Germany 9 Norway 3 England 10 Denmark II 4 Denmark I 11 Spain II 5 Sweden 12 Latin America 6 Italy
When the value of n is 0 to 9, 0(00H) to 9(09H) or “0”(30H) to “9”(39H) can be set. When the value of n is 10 to 12, 10(0AH) to 12(0CH) or “A”(41H) to “C”(43H) can be set.
FUNCTION Select zero style
CODE “/” n
HEX 1B 2F n
REMARKS Causes subsequent zero characters to be printed with a slash when n is 1, and without a slash when n is 0. The value of n can be set to 0(00H) or “0”(30H), or 1(01H) or “1”(31H).

FUNCTION Select bar code printing
CODE “b” n1 n2 n3 n4 di... dk
HEX 1B 62 n1 n2 n3 n4 di... dk 1E
REMARKS Prints bar code according to the value of n1, as shown below:
0 UPC-E 1 UPC-A 2 JAN/EAN-8 3 JAN/EAN-13 4 CODE 39 5 ITF 6 CODE 128 7 CODE 93 8 NW-7
The value of n1 can be set to 0(00H) or 8(08H) or “0”(30H) to “8”(38H).
1 Character below bar code is not printed, Line feed is performed after execution of command. 2 Character below bar code is printed, Line feed is performed after execution of command. 3 Character below bar code is not printed, Line feed is not performed after execution of command. 4 Character below bar code is printed, Line feed is not performed after execution of command.
The value of n2 can be set to 1(01H) to 4(04H) or “1”(31H) to “4”(34H).
1 Minimum module 2 dots 2 Minimum module 3 dots 3 Minimum module 4 dots

CODE 39, NW-7 ITF 1 Narrow : wide 2:6 dots 2:5 dots 2 Narrow : wide 3:9 dots 4:10 dots 3 Narrow : wide 4:12 dots 6:15 dots 4 Narrow : wide 2:5 dots 2:4 dots 5 Narrow : wide 3:8 dots 4:8 dots 6 Narrow : wide 4:10 dots 6:12 dots 7 Narrow : wide 2:4 dots 2:6 dots 8 Narrow : wide 3:6 dots 3:9 dots 9 Narrow : wide 4:8 dots 4:12 dots
When the value of n3 is UPC-E, UPC-A, JAN/EAN-8, JAN/EAN- 13, CODE128 or CODE93, 1(01H) to 3(03H) or “1”(31H) to “3”(33H) can be set. When the value of n3 is CODE39, NW-7 or ITF, 1(01H) to 9(09H) or “1”(31H) to “9”(39H) can be set.
Can be up to 255 dots (31.9mm). If the bar code height is larger than the line feed amount, the line feed amount is automatically multiplied by an integer.
The check digit at the 12th digit is automatically added, and ignored even if it is specified.
The check digit at the 8th digit is automatically added, and ignored even if it is specified.
The check digit at the 13th digit is automatically added, and ignored even if it is specified.
CODE39: The value of k is optional, and the maximum value also differs according to the modes (21 digits maximum in mode 7). The start/stop code (“*”) is automatically added.

ITF: The value of k is optional, and the maximum value also differs according to the modes (40 digits maximum in mode 4). If the data is number of an odd digits, 0 is automatically added at the beginning of the data.
value also differs according to the modes and the types of character number (51 digits maximum in mode 1). The check character is automatically added.
CODE93: The value of k is optional, and the maximum value also differs according to the modes and the types of character (30 digits maximum in mode 1). The check characters (C and K) are automatically added.
NW-7: The value of k is optional, and the maximum value also differs according to the modes and the types of character number (29 digits maximum in mode 7). The start/stop code is also contained in the data (it is not automatically added).
The bar code printing start position is at the upper end of the current line. If the bar code is positioned beyond the right margin, neither the bar code nor the character below the bar code will be printed.
Data of CODE 128 and CODE 93
When is used in a command, some kinds of control code cannot be sent by the host PC. The control code should be sent as the data as shown below:

CODE FORMAT % 25H %0 25H 30H
NUL 00H %@ 25H 40H SOH 01H %A 25H 41H STX 02H %B 25H 42H ETX 03H %C 25H 43H EOT 04H %D 25H 44H ENQ 05H %E 25H 45H ACK 06H %F 25H 46H BEL 07H %G 25H 47H BS 08H %H 25H 48H HT 09H %I 25H 49H LF 0AH %J 25H 4AH VT 0BH %K 25H 4BH FF 0CH %L 25H 4CH CR 0DH %M 25H 4DH SO 0EH %N 25H 4EH SI 0FH %O 25H 4FH DLE 10H %P 25H 50H DC1 11H %Q 25H 51H DC2 12H %R 25H 52H DC3 13H %S 25H 53H DC4 14H %T 25H 54H NAK 15H %U 25H 55H SYN 16H %V 25H 56H ETB 17H %W 25H 57H CAN 18H %X 25H 58H EM 19H %Y 25H 59H SUB 1AH %Z 25H 5AH ESC 1BH %[ 25H 5BH FC 1CH %¥ 25H 5CH GS 1DH %] 25H 5DH RS 1EH %^ 25H 5EH US 1FH %_ 25H 5FH DEL 7FH %5 25H 35H
CODE FORMAT FNC1 %1 25H 31H FNC2 %2 25H 32H FNC3 %3 25H 33H FNC4 %4 25H 34H
$
CODE FORMAT START A %6 25H 36H START B %7 25H 37H START C %8 25H 38H
$ For CODE 128 only.

FUNCTION Select 12-dot pitch printing
HEX 1B 4D
REMARKS Prints 12-dot pitch characters without an extra space.
FUNCTION Select 14-dot pitch printing
REMARKS Prints 12-dot pitch characters with 2-dot spacing between charac- ters.
FUNCTION Select 15-dot pitch printing
HEX 1B 50
REMARKS Prints 12-dot pitch characters with 3-dot spacing between charac- ters.
FUNCTION Select 16-dot pitch printing
HEX 1B 3A
REMARKS Prints 12-dot pitch characters with 4-dot spacing between charac- ters.
FUNCTION Set the character spacing
CODE n
HEX 1B 20 n
REMARKS Sets the space between characters to n dots, where n is a number from 0 to 15. When the value of n is 0 to 9, 0(00H) to 9(09H) or “0”(30H) to “9”(39H) can be set. When the value of n is 10 to 15, 10(0AH) to 15(0FH) or “A”(41H) to “F”(46H) can be set.
CODE “p”

FUNCTION Sets the printing magnified double in character width.
HEX 0E
REMARKS Prints the subsequent data including a character spacing set by n, magnified double in character width.
FUNCTION Resets the printing magnified in character width.
HEX 14
REMARKS Resets the printing magnified in character width set by , “W”n and “i”n1n2.
FUNCTION Sets the magnification rate in character width.
CODE “W” n
HEX 1B 57 n
REMARKS Prints the subsequent data including a character spacing set by n, magnified in character width by a rate specified by the value of n.
n Character width n Character width 0 Unmagnify 3 Quadruple 1 Double 4 Quintuple 2 Triple 5 Sextuple
The value of n can be set to 0(00H) to 5(05H) or “0”(30H) to “5”(35H).
FUNCTION Sets the printing magnified double in character height.
HEX 1B 0E
REMARKS Prints the subsequent data magnified double in character height.
FUNCTION Resets the printing magnified in character height.
HEX 1B 14
REMARKS Resets the printing magnified in character height set by , “h”n and “i”n1n2.

FUNCTION Sets the magnification rate in character height.
CODE “h” n
HEX 1B 68 n
REMARKS Prints the subsequent data magnified in character height by a rate specified by the value of n.
n Character height n Character height 0 Unmagnify 3 Quadruple 1 Double 4 Quintuple 2 Triple 5 Sextuple
The value of n can be set to 0(00H) to 5(05H) or “0”(30H) to “5”(35H).
FUNCTION Sets the magnification rates in character width and height.
CODE “i” n1 n2
HEX 1B 69 n1 n2
REMARKS Prints the subsequent data in the size specified by n1, n2. n1 indicates the height magnification and n2 indicates the width magnification.
n1 (n2) = 0 Normal height (or width) size. 1 Double height (or width) size. 2 Triple height (or width) size. 3 Quadruple height (or width) size. 4 Quintuple height (or width) size. 5 Sextuple height (or width) size.
The values of n1, n2 are 0(00H) to 5(05H) or “0”(30H)” to “5”(35H).
CODE “–” n
HEX 1B 2D n
REMARKS When the value of n is 1, underlines the subsequent data including a character spacing set by n. The part to be skipped by the horizontal tab setting and the block graphic characters are not underlined. Resets the underline mode when the value of n is 0. The value of n can be set to 0(00H) or “0”(30H), or 1(01H) or “1”(31H).
FUNCTION Underlining

CODE “_” n
HEX 1B 5F n
REMARKS When the value of n is 1, overlines the subsequent data including a character spacing set by n. The part to be skipped by the horizontal tab setting and the block graphic characters are not upperlined. Resets the upperline mode when the value of n is 0. The value of n can be set to 0(00H) or “0”(30H), or 1(01H) or “1”(31H).
FUNCTION Select highlight printing
HEX 1B 34
REMARKS Prints the subsequent data including a character spacing set by n reversed. The part to be skipped by the horizontal tab setting is not reversed.
FUNCTION Cancel highlight printing
HEX 1B 35
REMARKS Cancels highlight printing.
HEX 0F
REMARKS Causes subsequent characters to be inverted.
FUNCTION Cancel inverted printing
HEX 12
REMARKS Cancels inverted printing.
FUNCTION Upperlining · FUNCTION Inverted printing

FUNCTION Select emphasized printing
HEX 1B 45
CODE <ESC> “G”
HEX 1B 47
REMARKS Causes subsequent characters to be emphasized.
FUNCTION Cancel emphasized printing
HEX 1B 46
CODE <ESC> “H”
HEX 1B 48
REMARKS Cancels emphasized printing.

FUNCTION Set page length in lines
CODE “C” n
HEX 1B 43 n
REMARKS Sets the page length using the current line spacing, where n is between 1 and 127. Changing the line spacing later does not alter the physical page length. The current line becomes the top of the page. Resets the bottom margin. Default page length is 42 lines.
FUNCTION Set page length in inches
CODE “C” n
HEX 1B 43 00 n
REMARKS Sets the page length to n × 24 mm, where n is between 1 and 22. The current line becomes the top of the page. Resets the bottom margin.
FUNCTION Set bottom margin
CODE “N” n
HEX 1B 4E n
REMARKS Sets the bottom margin to n lines at the current line spacing, where n is between 0 and 127. Bottom margin is reset when you change the page length. Setting is invalid if the printing area on one page is 36 mm or less.
FUNCTION Cancel bottom margin
HEX 1B 4F
REMARKS Cancels the bottom margin.

FUNCTION Set left margin
CODE “l” n
HEX 1B 6C n
REMARKS Sets the left margin at column n (where n is between 0 and 255) at the current character pitch. The left margin does not move if the character pitch is changed later. Setting is invalid if the printing area for one line would be 36mm or less.
FUNCTION Set right margin
CODE “Q” n
HEX 1B 51 n
REMARKS Sets the right margin at column n (where n is between 1 and 255) at the current character pitch. The right margin does not move if the character pitch is changed later. Setting is invalid if column n is beyond the right edge of the printing area. Setting is invalid if the printing area for one line would be 36mm or less.

CODE <LF>
HEX 0A
REMARKS Prints the current line and feeds the paper to the next line.
HEX 0D
REMARKS Prints the current line and feeds the paper to the next line. This command is ignored when CR code is invalid.
FUNCTION Feed paper n lines
CODE “a” n
HEX 1B 61 n
REMARKS Prints the current line and feeds the paper n lines (where n is between 1 and 127).
HEX 0C
REMARKS Feeds the paper to the top of the next page, according to the page length set by “C”n or “C”n when memory switch 1-2 is set to 0. If memory switch 1-2 is set to 1, the paper is fed 18 mm, cut fully, and then feed back 18 mm. The print position is at the left margin in both cases.
HEX 09
REMARKS Moves the print position to the next horizontal tab stop. Ignored if there is no next horizontal tab stop on the current line.

HEX 0B
REMARKS Prints the current line and feeds the paper to the next vertical tab stop and moves the print position to the left margin. Performs paper feed if no vertical tabs are set or if the current line is at or below the last vertical tab stop.
FUNCTION Set line spacing to 4 mm
CODE “z” “1” or “z”
HEX 1B 7A 31 or 1B 7A 01
REMARKS Sets the distance the paper advances in subsequent line feeds to 4 mm.
FUNCTION Set line spacing to 3 mm
HEX 1B 30
REMARKS Sets the distance the paper advances in subsequent line feeds to 3 mm.
FUNCTION One time n/4 mm feed
CODE “J” n
HEX 1B 4A n
REMARKS Performs a line feed of n/4mm once only. The value of n is 1 to 255. Space setting for lines is not changed.
FUNCTION Vertical tab

FUNCTION One time n/4 mm backfeed
CODE “j” n
HEX 1B 6A n
REMARKS Feeds the paper back n/4mm once only. The value of n is 1 to 255. Space setting for one line is not changed. This command can also feed the paper back to the page before the current page. In this case, the position of the line on the previous page is determined by the page length control.
FUNCTION One time n/8 mm feed
CODE “I” n
HEX 1B 49 n
REMARKS Performs a line feed n/8mm once only. The value of n is 1 to 255. Space setting for lines is not changed.
FUNCTION Set vertical tab stops
CODE “B” n1 n2...
HEX 1B 42 n1 n2... 00
REMARKS Cancels all current vertical tab stops and sets new vertical tab stops at lines n1, n2, etc., where n1, n2, etc. are numbers between 0 and 255. A maximum of 16 vertical tab stops can be set. The tab stops must be specified in ascending order; any violation of ascending order terminates the tab stop list. Standard termina- tion is by the control code. The vertical tab stops are set in terms of the current line spacing and do not move if the line spacing is changed later.

FUNCTION Set horizontal tab stops
CODE “D” n1 n2...
HEX 1B 44 n1 n2... 00
REMARKS Cancels all current horizontal tab stops and sets new tab stops at columns n1, n2, etc. at the current character pitch, where n1, n2, etc. are numbers between 1 and 255. A maximum of 16 horizontal tab stops can be set. The tab stops must be specified in ascending order; any violation of ascending order terminates the tab stop list. Standard termina- tion is by the control code.

FUNCTION Print normal density graphics
CODE “K” n m1 m2...
HEX 1B 4B n 00 m1 m2...
REMARKS Prints normal density dot graphics. The graphics image is 24 dots high and n × 3 dots wide. Maximum width is 576 dots. m1, m2, ... are the dot data, each a 1-byte value from 0 to 255 representing 24 vertical dots, with the most significant bit repre- senting the top three and the least significant bit representing the bottom three. The number of data bytes must be n. Dots beyond the right margin are ignored.
Relationship between image data and print dots
D8
D7 D6 D5 D4 D3 D2 D1
Image data LSB · DOT Position

EXAMPLE We will create the design below using a bit image.

m1 m2 m3 m4 m5 m6 m7 m8 m9 m10 m11 m12 m13 m14 m15 m16 m17 m18 m19 m20 m21 m22 m23 m24 m25 m26 m27 m28 m29 m30
D5 D4 D3 D2 D1
First, since the volume of data is 30, n1 = (1E)H. If the data m1 ~ m30 is converted to hexadecimal, it appears as shown below.

Hexa- decimal m11 00111110 3E m12 00000010 02 m13 00000010 02 m14 00111110 3E m15 00111110 3E m16 00101111 2F m17 00101111 2F m18 00111110 3E m19 00101110 2E m20 00101110 2E
Hexa- decimal m21 00111110 3E m22 00101110 2E m23 00101110 2E m24 00111110 3E m25 00101111 2F m26 00101111 2F m27 00111110 3E m28 00111110 3E m29 00000010 02 m30 00000010 02
m1 00000001 01 m2 00011110 1E m3 00111110 3E m4 01011111 5F m5 00011111 1F m6 01011110 5E m7 00011110 1E m8 00111111 3F m9 00101111 2F m10 00111110 3E

FUNCTION Print high density graphics
CODE “L” n1 n2 m1 m2...
HEX 1B 4C n1 n2 m1 m2...
REMARKS Prints high density dot graphics. The graphics image is 24 dots high and n1 + n2 × 256 dots wide. Maximum width is 576 dots. m1, m2, ... are the dot data, each a 1-byte value from 0 to 255 representing 24 vertical dots, with the most significant bit repre- senting the top three and the least significant bit representing the bottom three. The number of data bytes must be n1 + n2 × 256. Dots beyond the right margin are ignored.
Relationship between image data and print dots
D8
D7 D6 D5 D4 D3 D2 D1
Image data LSB · DOT Position

EXAMPLE We will create the design below using a bit image.

m1 m2 m3 m4 m5 m6 m7 m8 m9 m10 m11 m12 m13 m14 m15 m16 m17 m18 m19 m20 m21 m22 m23 m24 m25 m26 m27 m28 m29 m30
First, since the volume of data is 30, n1 = (1E)H. If the data m1 ~ m30 is converted to hexadecimal, it appears as shown below.

Hexa- decimal m11 00111110 3E m12 00000010 02 m13 00000010 02 m14 00111110 3E m15 00111110 3E m16 00101111 2F m17 00101111 2F m18 00111110 3E m19 00101110 2E m20 00101110 2E
Hexa- decimal m21 00111110 3E m22 00101110 2E m23 00101110 2E m24 00111110 3E m25 00101111 2F m26 00101111 2F m27 00111110 3E m28 00111110 3E m29 00000010 02 m30 00000010 02
m1 00000001 01 m2 00011110 1E m3 00111110 3E m4 01011111 5F m5 00011111 1F m6 01011110 5E m7 00011110 1E m8 00111111 3F m9 00101111 2F m10 00111110 3E
Horizontal density is three times that of the bit image for “k”. (Compare the print samples.)
FUNCTION Print fine density bit image
CODE “k” n d1...dk [k = n * 24]
HEX 1B 6B n 00 d1...dk [k = n * 24]
REMARKS Prints a bit image using 1 horizontal dot and 1 vertical dot for 1 dot of input data. n is designated by the number of data bytes in the horizontal direction and n must be within the range 1 to 72. The data is ignored if it is longer than 72 digits or goes beyond the right margin. Relationship between the input data and actual printing is shown below.

Relationship between image data and print dots
b7 b6 b5 b4 b3 b2 b1 b0
d1 b7 b6 b5 b4 b3 b2 b1 b0
d2 b7 b6 b5 b4 b3 b2 b1 b0
dn b7 b6 b5 b4 b3 b2 b1 b0
dn+1 b7 b6 b5 b4 b3 b2 b1 b0
dn+2 b7 b6 b5 b4 b3 b2 b1 b0
d2n b7 b6 b5 b4 b3 b2 b1 b0
d2n+1 b7 b6 b5 b4 b3 b2 b1 b0
d2n+2 b7 b6 b5 b4 b3 b2 b1 b0
d3n b7 b6 b5 b4 b3 b2 b1 b0
d3n+1 b7 b6 b5 b4 b3 b2 b1 b0
d3n+2 b7 b6 b5 b4 b3 b2 b1 b0
d4n b7 b6 b5 b4 b3 b2 b1 b0
d4n+1 b7 b6 b5 b4 b3 b2 b1 b0
d4n+2 b7 b6 b5 b4 b3 b2 b1 b0
d5n b7 b6 b5 b4 b3 b2 b1 b0
d5n+1 b7 b6 b5 b4 b3 b2 b1 b0
d5n+2 b7 b6 b5 b4 b3 b2 b1 b0
d6n b7 b6 b5 b4 b3 b2 b1 b0
d6n+1 b7 b6 b5 b4 b3 b2 b1 b0
d6n+2 b7 b6 b5 b4 b3 b2 b1 b0
d7n b7 b6 b5 b4 b3 b2 b1 b0
d7n+1 b7 b6 b5 b4 b3 b2 b1 b0
d7n+2 b7 b6 b5 b4 b3 b2 b1 b0
d8n b7 b6 b5 b4 b3 b2 b1 b0
d8n+1 b7 b6 b5 b4 b3 b2 b1 b0
d8n+2 b7 b6 b5 b4 b3 b2 b1 b0
d9n b7 b6 b5 b4 b3 b2 b1 b0
d9n+1 b7 b6 b5 b4 b3 b2 b1 b0
d9n+2 b7 b6 b5 b4 b3 b2 b1 b0
d10n b7 b6 b5 b4 b3 b2 b1 b0
d10n+1 b7 b6 b5 b4 b3 b2 b1 b0
d10n+2 b7 b6 b5 b4 b3 b2 b1 b0
d11n b7 b6 b5 b4 b3 b2 b1 b0
d11n+1 b7 b6 b5 b4 b3 b2 b1 b0
d11n+2 b7 b6 b5 b4 b3 b2 b1 b0
d12n b7 b6 b5 b4 b3 b2 b1 b0
d12n+1 b7 b6 b5 b4 b3 b2 b1 b0
d12n+2 b7 b6 b5 b4 b3 b2 b1 b0
d13n b7 b6 b5 b4 b3 b2 b1 b0
d13n+1 b7 b6 b5 b4 b3 b2 b1 b0
d13n+2 b7 b6 b5 b4 b3 b2 b1 b0
d14n b7 b6 b5 b4 b3 b2 b1 b0
d14n+1 b7 b6 b5 b4 b3 b2 b1 b0
d14n+2 b7 b6 b5 b4 b3 b2 b1 b0
d15n b7 b6 b5 b4 b3 b2 b1 b0
d15n+1 b7 b6 b5 b4 b3 b2 b1 b0
d15n+2 b7 b6 b5 b4 b3 b2 b1 b0
d16n b7 b6 b5 b4 b3 b2 b1 b0
d16n+1 b7 b6 b5 b4 b3 b2 b1 b0
d16n+2 b7 b6 b5 b4 b3 b2 b1 b0
d17n b7 b6 b5 b4 b3 b2 b1 b0
d17n+1 b7 b6 b5 b4 b3 b2 b1 b0
d17n+2 b7 b6 b5 b4 b3 b2 b1 b0
d18n b7 b6 b5 b4 b3 b2 b1 b0
d18n+1 b7 b6 b5 b4 b3 b2 b1 b0
d18n+2 b7 b6 b5 b4 b3 b2 b1 b0
d19n b7 b6 b5 b4 b3 b2 b1 b0
d19n+1 b7 b6 b5 b4 b3 b2 b1 b0
d19n+2 b7 b6 b5 b4 b3 b2 b1 b0
d20n b7 b6 b5 b4 b3 b2 b1 b0
d20n+1 b7 b6 b5 b4 b3 b2 b1 b0
d20n+2 b7 b6 b5 b4 b3 b2 b1 b0
d21n b7 b6 b5 b4 b3 b2 b1 b0
d21n+1 b7 b6 b5 b4 b3 b2 b1 b0
d21n+2 b7 b6 b5 b4 b3 b2 b1 b0
d22n b7 b6 b5 b4 b3 b2 b1 b0
d22n+1 b7 b6 b5 b4 b3 b2 b1 b0
d22n+2 b7 b6 b5 b4 b3 b2 b1 b0
d23n b7 b6 b5 b4 b3 b2 b1 b0
d23n+1 b7 b6 b5 b4 b3 b2 b1 b0
d23n+2 b7 b6 b5 b4 b3 b2 b1 b0
d24n b7 b6 b5 b4 b3 b2 b1 b0

Printing Sample
MSB LSB MSB LSB d1 d3 d5 d7 d9 d11 d13 d15 d17 d19 d21 d23 d25 d27 d29 d31 d33 d35 d37 d39 d41 d43 d45 d47
d2 d4 d6 d8 d10 d12 d14 d16 d18 d20 d22 d24 d26 d28 d30 d32 d34 d36 d38 d40 d42 d44 d46 d48
Hexa- decimal Binary Data Hexa- decimal Binary Data
d1 00000000 00 d3 00011111 1F d5 00111111 3F d7 01110111 77 d9 11111000 F8 d11 11111000 F8 d13 11111000 F8 d15 00001111 0F d17 00011111 1F d19 00011111 1F d21 00111110 3E d23 00111000 38 d25 011111001 79 d27 01110011 73 d29 01110011 73 d31 11111001 F9 d33 11111000 F8 d35 11111110 FE d37 11111111 FF d39 11111111 FF d41 00000000 00 d43 00000000 00 d45 00000000 00 d47 00000000 00
d2 00000000 00 d4 11111000 F8 d6 11111100 FC d8 01110111 EE d10 00011111 1F d12 00011111 1F d14 00011111 1F d16 11110000 F0 d18 11111000 F8 d20 11111000 F8 d22 01111100 7C d24 00011100 1C d26 10011110 9E d28 11001110 CE d30 11001110 CE d32 10011111 9F d34 00011111 1F d36 01111111 7F d38 11111111 FF d40 11111111 FF d42 00000000 00 d44 00000000 00 d46 00000000 00 d48 00000000 00

FUNCTION Print fine density graphics
CODE “X” n1 n2 d1...d [(n1+n2*256)*3]
HEX 1B 5 n1 n2 d1...d [(n1+n2*256)*3]
REMARKS Prints a bit image of the input data using horizontal and vertical resolutions of 8 dots/mm. Data extending past the right margin is ignored. The relationship between the input data and the actual printing is shown below. 1 n1 + n2 × 256 576
MSB LSB
MSB LSB
b7 b6 b5 b4 b3 b2 b1 b0
b7 b6 b5 b4 b3 b2 b1 b0
b7 b6 b5 b4 b3 b2 b1 b0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
MSB Dot Position

FUNCTION Define download character
CODE “&” n m1 m2... m48
HEX 1B 26 01 01 n m1 m2... m48
CODE “&” “1” “1” n m1 m2... m48
HEX 1B 26 31 31 n m1 m2... m48
REMARKS Defines one new character and stores it in RAM for later use. n is the character code of the character defined and must be between 32 and 127. If the maximum of 32 external characters have already been stored, the oldest stored external character are deleted so that new external character can be stored. The character matrix is 12 dots wide and 24 dots high. Relationship between the character pattern and the character data is shown below.
MSB LSB MSB LSB m1 m3 m5 m7 m9 m11 m13 m15 m17 m19 m21 m23 m25 m27 m29 m31 m33 m35 m37 m39 m41 m43 m45 m47
m2 m4 m6 m8 m10 m12 m14 m16 m18 m20 m22 m24 m26 m28 m30 m32 m34 m36 m38 m40 m42 m44 m46 m48
Ignored · 4 bits

Hexa- decimal Binary Data Hexa- decimal Binary Data
m1 00011000 18 m3 00111000 38 m5 01111000 78 m7 00011000 18 m9 00011000 18 m11 00011000 18 m13 00011000 18 m15 00011001 19 m17 00011011 1B m19 00000110 06 m21 00001100 0C m23 00011011 1B m25 00110111 37 m27 01100110 66 m29 00000000 00 m31 00000000 00 m33 00000001 01 m35 00000011 03 m37 00000111 07 m39 00000111 07 m41 00000000 00 m43 00000000 00 m45 00000000 00 m47 00000000 00
m2 00000000 00 m4 00000000 00 m6 00000000 00 m8 00000000 00 m10 00000000 00 m12 01100000 60 m14 11000000 C0 m16 10000000 80 m18 00000000 00 m20 00000000 00 m22 00000000 00 m24 11000000 C0 m26 11100000 E0 m28 01100000 60 m30 01100000 60 m32 11000000 C0 m34 10000000 80 m36 00000000 00 m38 11100000 E0 m40 11100000 E0 m42 00000000 00 m44 00000000 00 m46 00000000 00 m48 00000000 00
FUNCTION Delete a download character
CODE “&” n
HEX 1B 26 01 00 n
CODE “&” “1” “0” n
HEX 1B 26 31 30 n
REMARKS Deletes the download character which was assigned the value n.
FUNCTION Enable download character set
CODE “%” “1” or “%”
HEX 1B 25 31 or 1B 25 01
REMARKS Enables the download character set.

FUNCTION Disable download character set
CODE “%” “0” or “%”
HEX 1B 25 30 or 1B 25 00
REMARKS Disables the selected download character set and returns to the built-in ROM character set.

FUNCTION Define drive pulse width for peripheral device #1
CODE n1 n2
HEX 1B 07 n1 n2
REMARKS Defines the drive pulse width for peripheral devices requiring other than standard 200 ms pulse time and delay time. n1 indicates the energizing time and n2 indicates the delay time, using 10ms units.
FUNCTION Control peripheral device #1
HEX 07
REMARKS Executes drive pulse for peripheral device #1.
FUNCTION Control peripheral device #1 immediately
HEX 1C
REMARKS Executes drive pulse for peripheral device #1 immediately.
FUNCTION Control peripheral device #2 immediately
HEX 19
REMARKS Drives peripheral device #2. The drive pulse width and delay time are fixed at 200 ms.
FUNCTION Control peripheral device #2 immediately
HEX 1A
REMARKS Drives peripheral device #2. The drive pulse width and delay time are fixed at 200 ms.

FUNCTION Full-cut command to the auto cutter
CODE “d” “0” or “d”
HEX 1B 64 30 or 1B 64 00
REMARKS Cuts the paper fully when memory switch 2-C is set to 0. If memory switch 2-C is set to 1, the paper is fed to 18 mm and cut fully. When auto cutter is invalid, this command is not valid.
FUNCTION Partial-cut command to the auto cutter
CODE “d” “1” or “d”
HEX 1B 64 31 or 1B 64 01
REMARKS Cuts the paper partially when memory switch 2-C is set to 0. If memory switch 2-C is set to 1, the paper is fed to 18 mm and cut partially.

FUNCTION Cancel last line & Initialize printer
HEX 18
REMARKS Clears the line buffer, and initializes the commands set already. Does not affect the external equipment drive conditions set by the code n1 n2. (This is the same during a mechanical error.) (Line buffer means the print data expansion area.)
HEX 13
REMARKS Deselects the printer. The printer disregards all subsequent char- acters and commands except , which activates the printer.
FUNCTION Set select mode
HEX (11)H
REMARKS When the printer receives a code, the deselect mode is canceled and data following this code is input to the buffer.
FUNCTION Beep the buzzer
HEX 1E
REMARKS Sounds a brief beep tone.
FUNCTION Deselect printer

FUNCTION Set memory switch
CODE “# N , n1n2n3n4”
HEX 1B 23 N 2C n1n2n3n4 0A 00
REMARKS Set the memory switch. In order to enable changed memory switch setting, turn the printer OFF and ON again or send printer reset command ( “?”) to the printer. Changed memory switch settings are stored in EEPROM and these setting will be stored as long as the time when they are changed again. N :Memory switch number (0, 1, 2, 3, 4) n1n2n3n4 :Mode settings (For details see below) 1) N=0 n1 :Always “0” n2 :Always “0” n3 :Always “0”
: Available
4 Paper Feed, Cut & Back
: Available
Setting Zero style International character set
1 Slashed zero See below
n4 Country 0 USA 1 France 2 Germany
n4 Country 3 UK 4 Denmark #1 5 Sweden
n4 Country 6 Italy 7 Spain #1 8 Japan
n4 Country 9 Norway A Denmark #2 B Spain #2
n4 Country C Latin America

: Available
Setting ESC d command
1 Paper feed & cut Valid (TSP242) Valid
: Available 1 IBM 38 Invalid
Setting Character table Print column CR code
0 Normal 48 Invalid
3 IBM – Same as 3
Katakana – Same as 4
: Available
Setting Buffer size Busy conditions Data receive error
See 4-3-1 RS-232C Interface
HEX 1B 40
REMARKS Reinitializes the printer. Clears the print buffer and returns settings to their power-up values. Does not clear the input buffer, downloaded characters, or condi- tions for peripheral devices.
HEX 05
REMARKS Causes the printer to transmit a status byte.

b7 b6 b5 b4 b3 b2 b1 b0
Constantly set at “0” Vertical Parity error 1 : error
Compulsion switch High level (Switch is set to ON)
FUNCTION Reset the printer hardware.
HEX 1B 3F 0A 00
REMARKS Resets the printer hardware.

Control Code Hexadecimal Code Function
HT 09 Horizontal tab LF 0A Print line feed FF 0C Page mode print and return DLE EOT 10 04 Real time transmission of status DLE ENQ 10 05 Real time request to printer CAN 18 Cancel print data in page mode ESC FF 1B FF Print page mode data ESC SP 1B 20 Set right space amount of character ESC ! 1B 21 Universal print mode designation ESC # 1B 23 Set memory switch ESC $ 1B 24 Designate absolute printing ESC % 1B 25 Designate/cancel download character set ESC & 1B 26 Define download characters ESC * 1B 2A Designate bit image mode ESC - 1B 2D Designate/cancel underline ESC 2 1B 32 Set 1/6 inch line feed amount ESC 3 1B 33 Set line feed amount ESC = 1B 3D Select peripheral equipment ESC ? 1B 3F Delete download characters ESC @ 1B 40 Initialize printer ESC D 1B 44 Set horizontal tab position ESC E 1B 45 Designate/cancel emphasized print ESC G 1B 47 Designate/cancel double print ESC J 1B 4A Print and paper feed ESC L 1B 4C Select page mode ESC R 1B 52 Select international characters ESC S 1B 53 Select standard mode ESC T 1B 54 Select character print direction in print mode ESC V 1B 56 Designate/cancel 90° character rotation ESC W 1B 57 Set print range in page mode ESC \ 1B 5C Designate relative position ESC a 1B 61 Align position ESC c4 1B 63 34 Select no valid paper detector at print stop ESC c5 1B 63 35 Enable/disable panel switch ESC d 1B 64 Print and paper feed “n” lines ESC i 1B 69 Partial cut (one section remaining) ESC p 1B 70 Designate pulse generation ESC t 1B 74 Select character code table

Control Code Hexadecimal Code Function
ESC u 1B 75 Transmission of peripheral equipment status ESC v 1B 76 Transmission of paper detection status
ESC { 1B 7B Designate/cancel inverted printing GS ! 1D 21 Designate character size GS $ 1D 24 Designate absolute position of vertical direction of characters in page mode GS * 1D 2A Define download bit image GS / 1D 2F Print download bit image GS : 1D 3A Start/finish macro definition GS B 1D 42 Designate/cancel reverse printing GS H 1D 48 Select print position of HRI characters GS I 1D 49 Printer ID transmission GS L 1D 4C Set left margin GS P 1D 50 Set basic calculated pitch GS V 1D 56 Paper cut GS W 1D 57 Set print range GS \ 1D 5C Designate the relative position of vertical characters when printing in the page mode GS ^ 1D 5E Execute macro GS a 1D 61 Enable/disable automatic status transmission GS f 1D 66 Select HRI character font GS h 1D 68 Set bar code height GS k 1D 6B Printing of bar code GS r 1D 72 Transmission of status GS w 1D 77 Set lateral size of bar code

SP 0 @ P ` p 0 16 32 48 64 80 96 112 ! 1 A Q a q 1 17 33 49 65 81 97 113 ” 2 B R b r 2 18 34 50 66 82 98 114 # 3 C S c s 3 19 35 51 67 83 99 115 $ 4 D T d t 4 20 36 52 68 84 100 116 % 5 E U e u 5 21 37 53 69 85 101 117 & 6 F V f v 6 22 38 54 70 86 102 118 ’ 7 G W g w 7 23 39 55 71 87 103 119 ( 8 H X h x 8 24 40 56 72 88 104 120 ) 9 I Y i y 9 25 41 57 73 89 105 121 * : J Z j z 10 26 42 58 74 90 106 122 + ; K [ k { 11 27 43 59 75 91 107 123 , < L \ l | 12 28 44 60 76 92 108 124 – = M ] m } 13 29 45 61 77 93 109 125 . > N ^ n ~ 14 30 46 62 78 94 110 126 / ? O _ o 15 31 47 63 79 95 111 127
B
D
E
F
Hexa- decimal

Ä é ù a 128 144 160 176 192 208 224 240 Ö è u â 129 145 161 177 193 209 225 241 Ü e û ° 130 146 162 178 194 210 226 242 ß ê ç °C 131 147 163 179 195 211 227 243 § ï ¿ °F 132 148 164 180 196 212 228 244 ª í N Ω 133 149 165 181 197 213 229 245 º ì n µ 134 150 166 182 198 214 230 246 f E ∑ 135 151 167 183 199 215 231 247 ¢ î σ 136 152 168 184 200 216 232 248 ö i x 137 153 169 185 201 217 233 249 ó Å TL 138 154 170 186 202 218 234 250 ò X 139 155 171 187 203 219 235 251 ¥ o θ ∞ 140 156 172 188 204 220 236 252 ô ä ± 141 157 173 189 205 221 237 253
T X
B
D
A ü á ÷ 142 158 174 190 206 222 238 254 ë ú à π 143 159 175 191 207 223 239 255
F
Hexa- decimal · 1/2 · 1/4



Ç É á α ≡ 128 144 160 176 192 208 224 240 ü æ í β ± 129 145 161 177 193 209 225 241 é Æ ó Γ ≥ 130 146 162 178 194 210 226 242 â ô ú π ≤ 131 147 163 179 195 211 227 243 ä ö ñ ∑ 132 148 164 180 196 212 228 244 à ò Ñ σ 133 149 165 181 197 213 229 245 å û ª µ ÷ 134 150 166 182 198 214 230 246 ç ù º τ ≈ 135 151 167 183 199 215 231 247 ê ÿ ¿ Φ ° 136 152 168 184 200 216 232 248 ë Ö Θ 137 153 169 185 201 217 233 249 è Ü Ω – 138 154 170 186 202 218 234 250 ï δ
B
139 155 171 187 203 219 235 251 î £ ∞ 140 156 172 188 204 220 236 252
Ì ¥ i 141 157 173 189 205 221 237 253 Ä Pt « ∈ 142 158 174 190 206 222 238 254 Å ƒ » ∩ 143 159 175 191 207 223 239 255
F

35 36 64 91 92 93 94 96 123 124 125 126
U. S. A. # $ @ [ \ ] ˆ ` { | } ~
France # $ à ° ç § ˆ ` é ù è ¨
Germany # $ § Ä Ö Ü ˆ ` ä ö ü ß
England £ $ @ [ \ ] ˆ ` { | } ~
Denmark 1 # $ @ Æ Ø Å ˆ ` æ ø å ~
Sweden # ¤ É Ä Ö Å Ü é ä ö å ü
Italy # $ @ ° \ é ˆ ù à ò è ì
Spain 1 $ @ ¡ Ñ ¿ ˆ ’ ¨ ñ } ~
Japan # $ @ [ ¥ ] ˆ ` { | } ~
Norway # ¤ É Æ Ø Å Ü é æ ø å ü
Denmark 2 # $ É Æ Ø Å Ü é æ ø å ü
Spain 2 # $ á ¡ Ñ ¿ é ’ í ñ ó ú
Latin America # $ á ¡ Ñ ¿ é ü í ñ ó ú

0 1 2 3 4 5 6 7
SP 0 @ P ` p 0 16 32 48 64 80 96 112 ! 1 A Q a q 1 17 33 49 65 81 97 113 ” 2 B R b r 2 18 34 50 66 82 98 114 # 3 C S c s 3 19 35 51 67 83 99 115 $ 4 D T d t 4 20 36 52 68 84 100 116 % 5 E U e u 5 21 37 53 69 85 101 117 & 6 F V f v 6 22 38 54 70 86 102 118 ’ 7 G W g w 7 23 39 55 71 87 103 119 ( 8 H X h x 8 24 40 56 72 88 104 120 ) 9 I Y i y 9 25 41 57 73 89 105 121 * : J Z j z 10 26 42 58 74 90 106 122 + ; K [ k { 11 27 43 59 75 91 107 123 , < L \ l | 12 28 44 60 76 92 108 124 – = M ] m } 13 29 45 61 77 93 109 125 . > N ^ n ~ 14 30 46 62 78 94 110 126 / ? O _ o SP 15 31 47 63 79 95 111 127
B
D
E
F
Hexa- decimal

Ç É á α ≡ 128 144 160 176 192 208 224 240 ü æ í β ± 129 145 161 177 193 209 225 241 é Æ ó Γ ≥ 130 146 162 178 194 210 226 242 â ô ú π ≤ 131 147 163 179 195 211 227 243 ä ö ñ ∑ 132 148 164 180 196 212 228 244 à ò Ñ σ 133 149 165 181 197 213 229 245 å û ª µ ÷ 134 150 166 182 198 214 230 246 ç ù º τ ≈ 135 151 167 183 199 215 231 247 ê ÿ ¿ Φ ° 136 152 168 184 200 216 232 248 ë Ö Θ • 137 153 169 185 201 217 233 249 è Ü ¬ Ω . 138 154 170 186 202 218 234 250 ï δ
B
139 155 171 187 203 219 235 251 î £ ∞ 140 156 172 188 204 220 236 252 Ì ¥ i 141 157 173 189 205 221 237 253 Ä Pt « ∈ 142 158 174 190 206 222 238 254 Å ƒ » ∩ SP 143 159 175 191 207 223 239 255
E
F


Page 1(Katakana)



Ç É á α ≡ 128 144 160 176 192 208 224 240 ü À í β ± 129 145 161 177 193 209 225 241 é È ó Γ ≥ 130 146 162 178 194 210 226 242 â ô ú π ≤ 131 147 163 179 195 211 227 243 ã õ ñ ∑ 132 148 164 180 196 212 228 244 à ò Ñ σ 133 149 165 181 197 213 229 245
Á Ú ª µ ÷ 134 150 166 182 198 214 230 246 ç ù º τ ≈ 135 151 167 183 199 215 231 247 ê ¿ Φ ° 136 152 168 184 200 216 232 248 Ê Õ Ò Θ • 137 153 169 185 201 217 233 249 è Ü Ω . 138 154 170 186 202 218 234 250 δ
B
139 155 171 187 203 219 235 251 Ô £ ∞ 140 156 172 188 204 220 236 252
Ì Ù i 141 157 173 189 205 221 237 253 Ã Pt « ∈ 142 158 174 190 206 222 238 254 Â Ó » ∩ SP 143 159 175 191 207 223 239 255
F



Ç É á α ≡ 128 144 160 176 192 208 224 240 ü æ í β ± 129 145 161 177 193 209 225 241 é Æ ó Γ ≥ 130 146 162 178 194 210 226 242 â ô ú π ≤ 131 147 163 179 195 211 227 243 ä ö ñ ∑ 132 148 164 180 196 212 228 244 à ò Ñ σ 133 149 165 181 197 213 229 245 å û ª µ ÷ 134 150 166 182 198 214 230 246 ç ù º τ ≈ 135 151 167 183 199 215 231 247 ê ÿ ¿ Φ ° 136 152 168 184 200 216 232 248 ë Ö Θ • 137 153 169 185 201 217 233 249 è Ü Ω . 138 154 170 186 202 218 234 250 ï ø δ
B
139 155 171 187 203 219 235 251 î £ ∞ n 140 156 172 188 204 220 236 252
Ì Ø i 141 157 173 189 205 221 237 253 Ä Pt « ∈ 142 158 174 190 206 222 238 254 Å ƒ ¤ ∩ SP 143 159 175 191 207 223 239 255
F
Hexa- decimal · 1/2 · 1/4

Page 255 (Space Page)
SP 128 144 160 176 192 208 224 240 SP 129 145 161 177 193 209 225 241 SP 130 146 162 178 194 210 226 242 SP 131 147 163 179 195 211 227 243 SP 132 148 164 180 196 212 228 244 SP 133 149 165 181 197 213 229 245 SP 134 150 166 182 198 214 230 246 SP 135 151 167 183 199 215 231 247 SP 136 152 168 184 200 216 232 248 SP 137 153 169 185 201 217 233 249 SP 138 154 170 186 202 218 234 250 SP 139 155 171 187 203 219 235 251 SP 140 156 172 188 204 220 236 252 SP 141 157 173 189 205 221 237 253 SP 142 158 174 190 206 222 238 254 SP 143 159 175 191 207 223 239 255
B
D
E
F
Hexa- decimal

35 36 64 91 92 93 94 96 123 124 125 126
U. S. A. # $ @ [ \ ] ˆ ` { | } ~
France # $ à ° ç § ˆ ` é ù è ¨
Germany # $ § Ä Ö Ü ˆ ` ä ö ü ß
England £ $ @ [ \ ] ˆ ` { | } ~
Denmark 1 # $ @ Æ Ø Å ˆ ` æ ø å ~
Sweden # ¤ É Ä Ö Å Ü é ä ö å ü
Italy # $ @ ° \ é ˆ ù à ò è ì
Spain Pt $ @ ¡ Ñ ¿ ˆ ’ ¨ ñ } ~
Japan # $ @ [ ¥ ] ˆ ` { | } ~
Norway # ¤ É Æ Ø Å Ü é æ ø å ü
Denmark 2 # $ É Æ Ø Å Ü é æ ø å ü

The TSP242 comes equipped with a guillotine-type automatic paper cutter.
1 The cutter operates in response to data commands. To enable cutter operation, set Memory Switch #2-8 to indicate that the cutter is installed.
2 NEVER place fingers or metal objects in the cutter area.
3 If a jam occurs in the cutter area, switch off the power, use tweezers to remove the jammed paper, then switch the power back on. The printer will return the blade to the home position.
4 Never clean the cutter blade with alcohol or any other solvent, as this may remove the blade’s lubrication and shorten the blade life.




OVERSEAS SUBSIDIARY COMPANIES STAR MICRONICS AMERICA, INC. 70-D Ethel Road West, Piscataway, NJ 08854 U.S.A Tel: 908-572-9512, Fax: 908-572-5095
STAR MICRONICS DEUTSCHLAND GMBH Westerbachstraße 59, D-60489 Frankfurt, Germany Tel: 069-789990, Fax: 069-781006
ELECTRONIC PRODUCTS DIVISION STAR MICRONICS CO., LTD. 536 Nanatsushinnya, Shimizu, Shizuoka, 424 Japan Tel: 0543-47-0112, Fax: 0543-48-5271
STAR MICRONICS U.K. LTD. Star House, Peregrine Business Park, Gomm Road, High Wycombe, Bucks, HP13 7DL, U.K. Tel: 01494-471111, Fax: 01494-473333
Printed in Japan, 80872025
Eigenaren en ons team reageren doorgaans binnen een dag — en uw vraag helpt ook de volgende persoon.
Stel als eerste een vraag — andere eigenaren of ons team geven antwoord.