Star Micronics Computer Monitor SP2000 User Manual

Dot Matrix Printer  
SP2000 Series  
Program m ers Manual  
Download from Www.Somanuals.com. All Manuals Search And Download.  
1. Control Codes (Star Mode)  
1-1. Control Codes List  
The following tables show the Star Mode commands that are supported by  
this printer.  
1-1-1. Character Selection  
Control  
Codes  
Hexadecimal  
Codes  
Function  
Page  
<ESC> "R" n  
<ESC> "/" "1"  
<ESC> "/" <1>  
<ESC> "/" "0"  
<ESC> "/" <0>  
<ESC> <GS> "t" n  
<ESC> "6"  
1B 52 n  
1B 2F 31  
1B 2F 01  
1B 2F 30  
1B 2F 00  
1B 1D 74 n  
1B 36  
Selects the international character set  
Selects slash zero  
7
7
Selects normal zero  
7
Selects the character code table  
Selects character set #2  
8
10  
10  
<ESC> "7"  
1B 37  
Selects character set #1  
<ESC> "M"  
1B 4D  
Selects the 7 X 9 (half dot) font (Default) 10  
Selects the 5 X 9 (2 pulses per dot) font 11  
Selects the 5 X 9 (3 pulses per dot) font 11  
<ESC> "P"  
1B 50  
<ESC> ":"  
1B 3A  
<ESC> <SP> n  
<SO>  
1B 20 n  
0E  
Sets character spacing  
11  
Sets the printing magnified double in  
character width  
12  
<DC4>  
14  
Resets the printing magnified in  
character width (Default)  
12  
1
Download from Www.Somanuals.com. All Manuals Search And Download.  
Control  
Codes  
Hexadecimal  
Codes  
Function  
Page  
<ESC> "W" "1"  
<ESC> "W" <1>  
<ESC> "W" "0"  
<ESC> "W" <0>  
1B 57 31  
1B 57 01  
1B 57 30  
1B 57 00  
Selects double magnification in character  
width  
12  
12  
12  
Resets magnification in character width  
<ESC> "h" "1"  
<ESC> "h" <1>  
1B 68 31  
1B 68 01  
Selects double magnification in character  
height  
<ESC> "h" "0"  
<ESC> "h" <0>  
<ESC> "-" "1"  
<ESC> "-" <1>  
<ESC> "-" "0"  
<ESC> "-" <0>  
<ESC> "_" "1"  
<ESC> "_" <1>  
<ESC> "_" "0"  
<ESC> "_" <0>  
<ESC> "4"  
1B 68 30  
1B 68 00  
1B 2D 31  
1B 2D 01  
1B 2D 30  
1B 2D 00  
1B 5F 31  
1B 5F 01  
1B 5F 30  
1B 5F 00  
1B 34  
Resets magnification in character height 12  
Selects underlining  
13  
13  
13  
14  
14  
14  
Cancels underlining (Default)  
Selects upperlining  
Cancels upperlining (Default)  
Selects red color printing (SP2360/2560)  
Selects highlight printing (SP2320/2520)  
Cancels red color printing (SP2360/2560)  
Cancels highlight printing (SP2320/2520)  
Inverted printing  
<ESC> "5"  
1B 35  
<SI>  
0F  
14  
15  
<DC2>  
12  
Cancels inverted printing (Default)  
Cancels rotated print mode for text  
(Default)  
<ESC> <RS> "i" "0"  
<ESC> <RS> "i" <0>  
<ESC> <RS> "i" "1"  
<ESC> <RS> "i" <1>  
<ESC> <RS> "i" "2"  
<ESC> <RS> "i" <2>  
<ESC> "E"  
1B 1E 96 30  
1B 1E 96 00  
1B 1E 96 31  
1B 1E 96 01  
1B 1E 96 32  
1B 1E 96 02  
1B 45  
15  
15  
15  
Specifies rotated print mode for text with  
a 270° rotation.  
Specifies rotated print mode for text with  
a 90° rotation.  
Selects emphasized printing  
Cancels emphasized printing (Default)  
Selects print direction  
15  
15  
16  
<ESC> "F"  
1B 46  
<ESC> "U" n  
1B 55 n  
2
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-1-2. Print Position Control  
Control  
Codes  
Hexadecimal  
Codes  
Function  
Page  
<LF>  
0A  
Line feed  
17  
17  
17  
18  
18  
18  
19  
19  
<VT>  
0B  
Vertical tab  
<FF>  
0C  
Form feed  
<CR>  
0D  
Carriage Return  
Feeds paper n lines  
Horizontal tab  
<ESC> "a" n  
<HT>  
1B 61 n  
09  
<ESC> "A" n  
<ESC> "2"  
<ESC> "z" "0"  
<ESC> "z" <0>  
<ESC> "z" "1"  
<ESC> "z" <1>  
<ESC> "0"  
<ESC> "1"  
<ESC> "J" n  
<ESC> "3" n  
1B 41 n  
1B 32  
1B 7A 30  
1B 7A 00  
1B 7A 31  
1B 7A 01  
1B 30  
1B 31  
1B 4A n  
1B 33 n  
Defines n/72-inch line spacing  
Sets n/72-inch line spacing  
Sets line spacing to 1/12-inch  
19  
19  
Sets line spacing to 1/6-inch (Default)  
Sets line spacing to 1/8-inch  
Sets line spacing to 7/72-inch  
One time n/72-inch feed  
19  
20  
20  
Sets line spacing to n/216-inch  
approximately  
20  
<ESC> "y"  
1B 79 n  
Sets line spacing to n/144-inch  
20  
21  
21  
22  
<ESC> "D" n1 n2 ... <0> 1B 44 n1 n2 ... 00 Sets horizontal tab stops  
<ESC> "l" n  
1B 6C n  
Sets left margin  
Sets right margin  
<ESC> "Q" n  
1B 51 n  
<ESC> <GS> "a" "0"  
<ESC> <GS> "a" <0>  
<ESC> <GS> "a" "1"  
<ESC> <GS> "a" <1>  
<ESC> <GS> "a" "2"  
<ESC> <GS> "a" <2>  
1B 1D 61 30  
1B 1D 61 00  
1B 1D 61 31  
1B 1D 61 01  
1B 1D 61 32  
1B 1D 61 02  
Left justification (Default)  
Centering  
23  
23  
Right justification  
23  
24  
<ESC> "B" n1 n2 ... <0> 1B 42 n1 n2 ... 00 Set vertical tab stops  
3
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-1-3. Dot Graphics Control  
Control  
Codes  
Hexadecimal  
Codes  
Function  
Page  
<ESC> "K" n <0>  
m1 m2 ...  
1B 4B n 00 m1 m2  
8 dot normal density graphics  
8 dot high density graphics  
25  
26  
...  
<ESC> "L" n1 n2  
m1 m2 ...  
1B 4C n1 n2 m1 m2  
...  
1-1-4. Download Graphics Printing  
Control  
Codes  
Hexadecimal  
Codes  
Function  
Page  
<ESC> "&" <0> n1 n2 .. 1B 26 00 n1 n2 .. Defines download characters  
28  
29  
<ESC> "%" "1"  
<ESC> "%" <1>  
<ESC> "%" "0"  
<ESC> "%" <0>  
1B 25 31  
1B 25 01  
1B 25 30  
1B 25 00  
Enables download character set  
Disables download character set  
(Default)  
29  
1-1-5. Peripheral Device Control  
Control  
Codes  
Hexadecimal  
Codes  
Function  
Page  
<ESC> <BEL> n1 n2  
1B 07 n1 n2  
Defines drive pulse width for peripheral  
device #1  
31  
31  
<BEL>  
<FS>  
07  
1C  
19  
1A  
Controls peripheral device #1  
Controls peripheral device #1 immediately 32  
Controls peripheral device #2 immediately 32  
Controls peripheral device #2 immediately 32  
<EM>  
<SUB>  
4
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-1-6. Auto Cutter Control (SP2500 type printers only)  
Control  
Codes  
Hexadecimal  
Codes  
Function  
Page  
<ESC> "d" "0"  
<ESC> "d" <0>  
<ESC> "d" "1"  
<ESC> "d" <1>  
1B 64 30  
1B 64 00  
1B 64 31  
1B 64 01  
Full-cut command to the auto cutter  
Partial-cut command to the auto cutter  
33  
33  
<ESC> "d" "2"  
<ESC> "d" <2>  
1B 64 32  
1B 64 02  
Full-cut command to the auto cutter  
after paper feed  
33  
34  
<ESC> "d" "3"  
<ESC> "d" <3>  
1B 64 33  
1B 64 03  
Partial-cut command to the auto cutter  
after paper feed  
1-1-7. Commands to Set the Page Format  
Control  
Codes  
Hexadecimal  
Codes  
Function  
Page  
<ESC> "C" n  
<ESC> "C" <0> n  
<ESC> "N" n  
<ESC> "O"  
1B 43 n  
1B 43 00 n  
1B 4E n  
1B 4F  
Set page length in lines  
Set page length in inches  
Set bottom margin  
35  
35  
35  
35  
Cancel bottom margin (Default)  
5
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-1-8. Other Commands  
Control  
Codes  
Hexadecimal  
Function  
Page  
Codes  
<CAN>  
18  
Cancels printer buffer & Initialize printer  
Deselects printer  
36  
36  
36  
36  
<DC3>  
13  
<DC1>  
11  
Sets select mode (Default)  
Beeps the buzzer  
<RS>  
1E  
<ESC> "#N, n1 n2 n3 n4"  
<LF> <NUL>  
1B 23 N 2C n1 n2  
n3 n4  
Sets memory switch  
37  
0A 00  
<ESC> "@"  
1B 40  
Initialize printer  
43  
44  
45  
46  
46  
47  
<EOT>  
04  
Transmits EOT status  
<ENQ>  
05  
Transmits ENQ status  
<ETB>  
17  
Confirms finish of printing  
Transmits automatic status  
Enables/disables automatic status  
<ESC> <ACK> <SOH>  
<ESC> <RS> "a" n  
<ESC> "?" <LF> <NUL>  
IB 06 01  
IB IE 61 n  
1B 3F 0A 00  
Resets printer hardware and produce  
a test print  
47  
6
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-2. Control Code Details  
The following section explains the details of the printer control codes.  
1-2-1. Character Selection  
Selects the international character set  
FUNCTION  
<ESC> "R" n  
CODE  
(1B)H (52)H n  
<
<
(00)H  
n
(0E)H or n = (40)H  
DEFINITION RANGE  
=
=
Select the international character set corresponding to the value  
set for n.  
OUTLINE  
n = (00)H: U.S.A.  
(01)H: France  
(02)H: Germany  
(03)H: England  
(06)H: Italy  
(OC)H: Latin America  
(0D)H: Korea  
(07)H: Spain-1  
(08)H: Japan  
(09)H: Norway  
(0E)H: Ireland  
(40)H: Legal  
(04)H: Denmark-1 (0A)H: Denmark-2  
(05)H: Sweden (0B)H: Spain-2  
Default abides by memory switches 1-0 to 1-3.  
Selects zero style  
FUNCTION  
CODE  
<ESC> "/" n  
1B 2F n  
Selects zero style  
OUTLINE  
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" (30)H or 1(0H) or "1" (31H).  
The default may differ depending on the memory switch setting.  
7
Download from Www.Somanuals.com. All Manuals Search And Download.  
Selects the character code table  
FUNCTION  
CODE  
<ESC> <GS> "t" n  
1B 1D 74 n  
Selects the character code table  
This function selects a character code table (as shown below).  
OUTLINE  
The default settings follow the settings of the memory switches 3-  
8 to 3-5.  
8
Download from Www.Somanuals.com. All Manuals Search And Download.  
Value of n  
Character Table  
Hex. Dec.  
00  
01  
02  
03  
04  
05  
06  
07  
08  
09  
0A  
0B  
0C  
0D  
0E  
0F  
10  
11  
0
Normal (Default)  
1
Code Page 437 (USA, Std. Europe)/IBM Character Set #2  
Katakana  
2
3
IBM Character Set #1  
4
Codepage 858 (Multilingual)  
Codepage 852 (Latin-2)  
5
6
Codepage 860 (Portuguese)  
Codepage 861 (Icelandic)  
Codepage 863 (Canadian French)  
Codepage 865 (Nordic)  
7
8
9
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
32  
33  
34  
64  
65  
66  
67  
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
Codepage 866 (Cyrillic Russian)  
Codepage 855 (Cyrillic Bulgarian)  
Codepage 857 (Turkish)  
Codepage 862 (Hebrew)  
Codepage 864 (Arabic)  
Codepage 737 (Greek)  
Codepage 851 (Greek)  
Codepage 869 (Greek)  
12  
13  
14  
15  
20  
21  
22  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
4A  
4B  
4C  
4D  
4E  
4F  
Codepage 928 (Greek)  
Codepage 772 (Lithuanian)  
Codepage 774 (Lithuanian)  
Codepage 874 (Thai)  
Codepage 1252 (Windows Latin-1)  
Codepage 1250 (Windows Latin-2)  
Codepage 1251 (Windows Cyrillic)  
Codepage 3840 (IBM-Russian)  
Codepage 3841 (Gost)  
Codepage 3843 (Polish)  
Codepage 3844 (CS2)  
Codepage 3845 (Hungarian)  
Codepage 3846 (Turkish)  
Codepage 3847 (Brazil-ABNT)  
Codepage 3848 (Brazil-ABICOMP)  
Codepage 1001 (Arabic)  
Codepage 2001 (Lithuanian-KBL)  
Codepage 3001 (Estonian-1)  
Codepage 3002 (Estonian-2)  
Codepage 3011 (Latvian-1)  
Codepage 3012 (Latvian-2)  
Codepage 3021 (Bulgarian)  
Codepage 3041 (Maltese)  
9
Download from Www.Somanuals.com. All Manuals Search And Download.  
Selects IBM character set #2  
FUNCTION  
CODE  
<ESC> "6"  
(1B)H (36)H  
Selects IBM character set #2.  
Switches from IBM character set #1 to character set #2.  
OUTLINE  
Subsequent 80H to 9FH codes are handled as character data.  
This command is invalid when the character code table settings  
are other than #1.  
Selects IBM character set #1  
FUNCTION  
CODE  
<ESC> "7"  
(1B)H (37)H  
Selects IBM character set #1.  
Switches from IBM character set #2 to character set #1.  
OUTLINE  
Subsequent 80H to 9FH codes are handled as character data.  
This command is invalid when the character code table settings  
are other than #2.  
Selects 7 X 9 (half dot) font (Default)  
FUNCTION  
CODE  
<ESC> "M"  
(1B)H (4D)H  
Selects 7 X 9 (half dot) font.  
OUTLINE  
When the power of the printer is turned on, 7 X 9 (half dot)  
printing is automatically selected.  
The number of digits per line is set by the DIP switches in the  
following way.  
DSW 1 - 5  
ON  
Digits Per Line  
42  
40  
OFF  
(When right space of character is 0.)  
10  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Selects 5 X 9 (2 pulses per dot) font  
FUNCTION  
CODE  
<ESC> "P"  
(1B)H (50)H  
Selects 5 X 9 (2 pulses = 1 dot) font.  
OUTLINE  
The number of digits per line is set by the DIP switches in the  
following way.  
DSW 1 - 5  
ON  
Digits Per Line  
35  
33  
OFF  
(When right space of character is 0.)  
Selects 5 X 9 (3 pulses per dot) font  
FUNCTION  
CODE  
<ESC> ":"  
(1B)H (3A)H  
Selects 5 X 9 (3 pulses = 1 dot) font.  
OUTLINE  
The number of digits per line is set by the DIP switches in the  
following way.  
DSW 1 - 5  
ON  
Digits Per Line  
23  
22  
OFF  
Selects character spacing  
FUNCTION  
CODE  
<ESC> <SP> n  
1B 20 n  
Sets the size of space to right of character. The value of n can be  
set from 0 through 15, or from"0" through 9" and "A" through "F."  
OUTLINE  
Spaces are doubled when printing using Printing magnified  
double in character width.  
The default value of n is 0.  
11  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Sets the printing magnified double in character width  
FUNCTION  
CODE  
<SO>  
(0E)H  
Data following this code is printed in double-width characters.  
Same as <ESC> "W" "1" or <ESC> "W" <1>.  
OUTLINE  
Resets the printing magnified in character width (Default)  
FUNCTION  
CODE  
<DC4>  
(14)H  
Cancels expanded character mode set by <SO> or <ESC> "W"  
OUTLINE  
"1" or <ESC> "W" <1> code. Data following this code is printed  
out in normal size characters.  
Same as <ESC> "W" "0" or <ESC> "W" <0>.  
Selects double magnification in character width  
FUNCTION  
CODE  
<ESC> "W" "1" or <ESC> "W" <1>  
(1B)H (57)H (31)H or (1B)H (57)H (01)H  
Data following this code is printed in double-width characters.  
Same as <SO>.  
OUTLINE  
Resets magnification in character width  
FUNCTION  
CODE  
<ESC> "W" "0" or <ESC> "W" <0>  
(1B)H (57)H (30)H or (1B)H (57)H (00)H  
Cancels expanded character mode set by <ESC> "W" "1" or  
OUTLINE  
<ESC> "W" <1> or <SO> code. Data following this code is  
printed out in normal size characters.  
Same as <DC4>.  
Selects double magnification in character height  
FUNCTION  
CODE  
<ESC> "h" n  
1B 68 n  
12  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Sets the magnification rate in character height  
OUTLINE  
Prints the subsequent data with a character height magnified by a  
rate specified by the value of n.  
n = 0 and "0"' Reset magnification  
n = 1 and "1": Double magnification  
Note:  
You can print in quadruple magnification by combining  
horizontal and vertical double magnification commands.  
You cannot combine with the inverted printed command.  
Line feeds of lines including vertical expansion characters are  
doubled.  
When font configuration is 6 X 12 dots of IBM block graphics  
characters, only the line amount is doubled.  
The bottom of the characters are aligned when one line  
contains both vertical expanded characters and regular  
character sizes.  
Selects underlining  
FUNCTION  
CODE  
<ESC> "-" "1" or <ESC> "-" <1>  
(1B)H (2D)H (31)H or (1B)H (2D)H (01)H  
Data following this code is printed out underlined. (However, the  
spaces generated by horizontal tab are not underlined.)  
OUTLINE  
Cancels underlining (Default)  
FUNCTION  
CODE  
<ESC> "-" "0" or <ESC> "-" <0>  
(1B)H (2D)H (30)H or (1B)H (2D)H (00)H  
Cancels underlined mode.  
OUTLINE  
Selects upperlining  
FUNCTION  
CODE  
<ESC> "_" "1" or <ESC> "_" <1>  
(1B)H (5F)H (31)H or (1B)H (5F)H (01)H  
Data following this code is printed out with an upperline.  
OUTLINE  
(However the spaces generated by horizontal tab are not  
upperlined.)  
13  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Cancels upperlining (Default)  
FUNCTION  
CODE  
<ESC> "_" "0" or <ESC> "_" <0>  
(1B)H (5F)H (30)H or (1B)H (5F)H (00)H  
Cancels upperline mode.  
OUTLINE  
FUNCTION  
CODE  
Selects red color printing (SP2360/2560)  
Selects highlight printing (SP2320/2520)  
<ESC> "4"  
(1B)H (34)H  
(SP2360/2560) Specifies red printing  
OUTLINE  
Prints subsequent characters in red. You can print both read and  
black characters on the same line.  
Unidirectional when switching red and black.  
(SP2320/2520) Specifies black and white inverted printing  
Inverts black and white and prints subsequent characters  
including the character pitch. Printing is unidirectional. Do not  
use when ANK font setting is 5 X 9 (3P = 1). (Printing quality is  
not guaranteed with 5 X 9 (3P = 1)).  
Cancels red color printing (SP2360/2560)  
Cancel highlighted print mode (SP2320/2520)  
<ESC> "5"  
FUNCTION  
CODE  
(1B)H (35)H  
(SP2360/2560) Cancels red color printing and prints subsequent  
characters in black.  
OUTLINE  
(SP2320/2520) Cancels highlighted printing. (Default)  
Inverted printing  
FUNCTION  
CODE  
<SI>  
(0F)H  
Data following this code is printed out in inverted characters. This  
OUTLINE  
code is valid only when input at the beginning of a line, so, normal  
and inverted characters cannot be mixed in on the same line.  
14  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Cancels inverted printing (Default)  
FUNCTION  
CODE  
<DC2>  
(12)H  
Cancels the inverted character mode. This code is valid only  
when input at the beginning of a line.  
OUTLINE  
Specifies rotated print mode for text with a rotation  
FUNCTION  
CODE  
<ESC> <RS> "i" n  
1B 1E 96 n  
This rotates and prints subsequent data 90° or 270° in the  
OUTLINE  
clockwise direction or cancels it and prints. The n value  
determines whether a rotational direction or a cancellation of the  
rotation is specified.  
n Value  
Rotation Specification  
Cancel rotation (0° rotation, default)  
270° rotation  
00H or "0"  
01H or "1"  
02H or "2"  
90° rotation  
Underline or overline cannot be applied for rotated text. The  
relationship of the vertical ratio and horizontal ratio for rotated  
text is the reverse of when the rotation is cancelled.  
Selects emphasized printing  
FUNCTION  
CODE  
<ESC> "E"  
(1B)H (45)H  
Data following this code is printed in the emphasized print mode.  
In this mode, printing is uni-directional.  
OUTLINE  
Cancels emphasized printing (Dafault)  
FUNCTION  
CODE  
<ESC> "F"  
(1B)H (46)H  
Cancels emphasized print mode.  
OUTLINE  
15  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Selects uni-directional print mode  
FUNCTION  
CODE  
<ESC> "U" "1" or <ESC> "U" <1>  
(1B)H (55)H (31)H or (1B)H (55)H (01)H  
Prints only when the print head moves from left to right.  
OUTLINE  
Selects bi-directional print mode  
FUNCTION  
CODE  
<ESC> "U" "0" or <ESC> "U" <0>  
(1B)H (55)H (30)H or (1B)H (55)H (00)H  
Returns to the standard bi-directional print mode. (This mode is  
set automatically when the printer power is turned on.)  
OUTLINE  
16  
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-2-2. Ptint Position Control  
Line feed  
FUNCTION  
<LF>  
CODE  
(0A)H  
Data in the line buffer is printed out and one line is fed. If data  
OUTLINE  
does not exist before this code is received, the printer only feeds  
one line.  
Vertical tab  
FUNCTION  
CODE  
<VT>  
(0B)H  
Feeds the paper to the next vertical tab set position.  
OUTLINE  
When a vertical tab is not set, line feed is not performed. If the  
current line is at or below the last vertical tab set position, the  
paper feeds to the top of the next page.  
Form feed  
FUNCTION  
CODE  
<FF>  
(0C)H  
Inputting this code executes a page feed, on SP2320/2360 series  
OUTLINE  
printers, after printing the data in the line buffer. On SP2520/  
2560 series printers this code performs the following according to  
the settings of the memory switches 0-2 and 0-3.  
<FF> Command Function  
MSW 0-3 MSW 0-2  
SP2520/2560  
0
0
0
1
Executes page feed  
Executes full cut (*1) after feeding  
paper to the cutting position.  
1
1
0
1
Executes page feed  
Executes partial cut (*1) after feeding  
paper to the cutting position.  
*1: Paper feed to the cutting position is executed in inches.  
17  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Carriage return  
FUNCTION  
CODE  
<CR>  
(0D)H  
The <CR> code is valid when the memory switch 3-1 = 1 (set to 0  
OUTLINE  
at exfactory). When the <CR> code is valid, setting the memory  
switch 3-0 will cause the <CR> to function as shown in the table  
below.  
Memory Switch Setting  
<CR> Code Function  
MSW 3-1 = 0  
Ignored (at exfactory)  
MSW 3-0 = 0 Same as <LF>  
MSW 3-1 = 1  
MSW 3-0 = 1 Prints only. No paper feed  
Feed paper n lines  
FUNCTION  
CODE  
<ESC> "a" n  
(1B)H (61)H n  
<
<
1
n
127  
=
=
After data in the line buffer is printed out, feeds the paper n lines.  
OUTLINE  
Horizontal tab  
FUNCTION  
CODE  
<HT>  
(09)H  
The print position skips to the next horizontal tab position in line.  
OUTLINE  
If the current position is after the final horizontal tab position that  
can be executed, this code is ignored. (Underlining and overlining  
do not take place in the spaces between characters set with the  
horizontal tab function.)  
18  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Define n/72-inch line spacing  
FUNCTION  
CODE  
<ESC> "A" n  
(1B)H (41)H n  
<
<
0
n
85 (Default n = 12)  
DEFINITION RANGE  
=
=
Line feed is defined at n/72-inch after this code is received.  
This code sets the feed at n/72-inch with the <ESC> "2" code.  
OUTLINE  
Set n/72-inch line spacing  
FUNCTION  
CODE  
<ESC> "2"  
1B)H (32)H  
This code sets the line feed at a defined value with the <ESC>  
OUTLINE  
"A" previously described. Line feed pitch is 1/6 inch when <ESC>  
"A" n is not set.  
Sets line spacing to 1/12-inch  
FUNCTION  
CODE  
<ESC> "z" "0" or <ESC> "z" <0>  
(1B)H (7A)H (30)H or (1B)H (7A)H (00)H  
Line feed is set at 1/12-inch after this code is received.  
OUTLINE  
Sets line spacing to 1/6-inch (Default)  
FUNCTION  
CODE  
<ESC> "z" "1" or <ESC> "z" <1>  
(1B)H (7A)H (31)H or (1B)H (7A)H (01)H  
Line feed is set at 1/6-inch after this code is received.  
OUTLINE  
Sets line spacing to 1/8-inch  
FUNCTION  
CODE  
<ESC> "0"  
(1B)H (30)H  
Line feed is set at 1/8-inch after this code is received.  
OUTLINE  
19  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Sets line spacing to 7/72 inch  
FUNCTION  
CODE  
<ESC> "1"  
(1B)H (31)H  
Line feed is set at 7/72-inch after this code is received.  
OUTLINE  
One time n/72-inch feed  
FUNCTION  
CODE  
<ESC> "J" n  
(1B)H (4A)H n  
<
<
1
n
255  
DEFINITION RANGE  
=
=
This code activates the n/72-inch paper feed once.  
OUTLINE  
Sets line spacing to n/216-inch approximately  
FUNCTION  
CODE  
<ESC> "3" n  
(1B)H (33)H n  
<
<
1
n
255  
DEFINITION RANGE  
=
=
Setting value is approximated using the following equation  
OUTLINE  
because the minimum pitch of the paper feed mechanism is 1/  
144 inch.  
INT (n X 2/3 + 0.5)/144 inches  
Sets line spacing to n/144-inch  
FUNCTION  
CODE  
<ESC> "y" n  
(1B)H (79)H n  
<
<
1
n
255  
DEFINITION RANGE  
=
=
Line feed is set at n/144-inch after this code is received.  
Default is n = 24.  
OUTLINE  
20  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Sets horizontal tab stops  
FUNCTION  
CODE  
<ESC> "D" n1 n2 ...nk <0>  
(1B)H (44)H n1 n2 ...nk (00)H  
<
=
<
<
<
1
1
n1  
n2  
n3 ... < nk  
(Maximum print columns -1),  
DEFINITION RANGE  
=
=
=
<
=
<
k
16  
=
Cancels all horizontal tab stops and sets new tab stops within the  
character pitch at n1, n2, etc. You can set up to 16 individual tab  
OUTLINE  
<
<
<
<
stops (1  
n1  
n2  
n3...n16  
maximum printing digits). Tab  
=
=
=
=
stops must be set in ascending order. If tab stops are set in an  
order which differs fro this, it will end. A <0> code is added as the  
ending edge. All tab stops are cleared by inputting <ESC> "D"  
<0>. The reference point for the tab positions is left edge of the  
paper, regarless of the settings for the left margin. When you  
turn ON the power, the horizontal tabs are not set.  
Sets left margin  
FUNCTION  
CODE  
<ESC> "l" n  
1B 6C n  
Sets the non-printable range with the current character pitch up to  
OUTLINE  
the nth postion with the left edge as the reference, after printing  
the data in the line buffer.  
Settings changed partway through a line take effect from the  
subsequent line. Changing the character pitch after setting does  
not change the left margin. The left margin is the left edge is  
when the power is turned ON.  
The left margin must be at least 18 dots within the following  
values in the left edge of the right margin. Also, if there is less  
than one character including the space between characters in the  
printable range set for the left and right margins, a "?" will be  
printed instead of the character because printing is not possible  
there.  
<
<
<
The range of n is 0  
is n = 0.  
n
(right margin -2)  
255. The default  
=
=
=
21  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Sets right margin  
FUNCTION  
CODE  
<ESC> "Q" n  
1B 51 n  
Sets the non-printable range with the current character pitch up to  
OUTLINE  
the nth postion with the left edge as the reference, after printing  
the data in the line buffer.  
Settings changed partway through a line take effect from the  
subsequent line. Changing the character pitch after setting does  
not change the right margin. The right margin is the right edge is  
when the power is turned ON.  
The right margin must be at least 18 dots within the following  
values. Also, if there is less than one character including the  
space between characters in the printable range set for the left  
and right margins, a "?" will be printed instead of the character  
because printing is not possible there.  
<
<
The range of n is 2  
n
<maximum number of printable digits>  
=
=
<
255. The default is n = maximum number of printable digits>.  
=
22  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Aligns position  
FUNCTION  
CODE  
<ESC> <GS> "a" n  
(1B)H (1D)H (61)H n  
Sets the alignment of the positions.  
Aligns all print data of one line to the specified position.  
OUTLINE  
n =  
(00)H, "0":  
(01)H, "1":  
(02)H, "2":  
Left edge alignment (default)  
Center alignment  
Right edge alignment  
ABC  
ABCD  
ABCDE  
<ESC> <GS> “a” “0”  
ABC  
ABCD  
ABCDE  
<ESC> <GS> “a” “1”  
ABC  
ABCD  
ABCDE  
<ESC> <GS> “a” “2”  
Note:  
• Effective only when input at the beginning of the line.  
• Align positions within the printable range that has been set.  
• Skipped areas by the horizontal tab are also targeted for  
position alignment.  
23  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Sets vertical tab stops  
FUNCTION  
CODE  
<ESC> "B" n1 n2 ...nk <0>  
(1B)H (42)H n1 n2 ...nk (00)H  
<
<
<
<
<
<
<
1
n1  
n2  
n3 ... < nk  
255  
1
k
16  
DEFINITION RANGE  
=
=
=
=
=
=
=
Cancels all current vertical tab stops and sets new vertical tab  
OUTLINE  
stops at lines n1, n2, etc. where n1, n2, etc. are numbers  
between 1 and 255. A maximum number of 16 vertical tab  
positions can be set. Tab positions must be specified in  
ascending order; any violation of ascending order terminates the  
tab position list. Standard termination is by the <0> control code.  
Vertical tab positions are set in terms of the current line spacing  
and do not move if the line spacing is changed later.  
If a tab set position <nk> is equivalent or smaller than <nk -1> just  
NOTE  
preceding the tab set position, setting of vertical tab is assumed  
as complete.  
24  
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-2-3. Dot Graphics Control  
8 dot normal density graphics  
FUNCTION  
CODE  
<ESC> "K" n1 <0> m1 m2 ...  
(1B)H (4B)H n1 (00)H m1 m2 ...  
<
<
<
<
1
n1  
200 (DIP SW 1 - 5 = ON) or 1  
n1  
210 (DIP SW =  
DEFINITION RANGE  
=
=
=
=
OFF)  
Executes 8 dot bit image print determined by "n1." The total  
OUTLINE  
number of bit image data bytes in one line is equal to n1. Printing  
is uni-directional. The printer ignores any data bytes over the  
specified amount allowed in one line. When the bit image print is  
finished the printer automatically returns to the character mode.  
Image data  
MSB  
LSB  
D8 D7 D6 D5 D4 D3 D2 D1  
Dot Position  
Not Used  
Actually, let us consider printing as a means of bit image. We will  
create the design below using bit image.  
EXAMPLE  
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  
D8  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
25  
Download from Www.Somanuals.com. All Manuals Search And Download.  
First, since the volume of data is 30, n1 = (1E)H. If the data m1 to  
m30 is converted to hexadecimal, it appears as shown below.  
Data Binary Hex  
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  
Data Binary Hex  
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  
Data Binary Hex  
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  
Print Sample  
8 dot high density graphics  
FUNCTION  
CODE  
<ESC> "L" n1 n2 m1 m2...  
(1B)H (4C)H n1 n2 m1 m2...  
<
=
<
=
1
1
n1 + 256 X n2  
n1 + 256 X n2  
420 (DIP SW 1-5 = ON))  
DEFINITION RANGE  
<
=
<
=
400 (DIP SW 1-5 = OFF)  
Executes double density bit image printing (half-dot printing)  
OUTLINE  
determined by "n1" and "n2". The total number of bit image data  
bytes in one line is equal to n1 + n2 X 256. Refer to <ESC> K as  
to the relation between the dot position and the bit number. The  
printer ignores any data bytes over the specified amount allowed  
in one line. Pringing is uni-directional.  
The printer does not print adjacent dots. When the bit image  
printing is finished, the printer automatically returns to the  
character mode.  
26  
Download from Www.Somanuals.com. All Manuals Search And Download.  
For double density bit image printing, dots cannot be printed  
overlapping each other in the horizontal direction.  
The following is an example of this.  
NOTE  
Printing possible Printing not possible  
m2 m4 m6 m8 m10  
m1  
m2 m4 m6 m8 m10  
m1  
m3 m5 m7 m9 m11  
m3 m5 m7 m9 m11  
D8  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D8  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
Overlapping  
horizontally  
Overlapping  
horizontally  
When printing one graphic image of a minimum of two lines with  
<ESC> K or <ESC>L, feed the paper a minimum of one line  
before printing so that the line spacing becomes identical  
between the lines.  
27  
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-2-4. Download Graphics Printing  
Defines download characters  
FUNCTION  
CODE  
When the 7 X 9 (half dot) font is set (default setting):  
<ESC> "&" <0> n1 n2 [m0 m1 m2 m3 m4 m5 m6 m7]  
(1B)H (26)H (00)H n1 n2 [m0 m1 m2 m3 m4 m5 m6 m7]  
When the 5 X 9 font is set:  
n2 - n1 + 1  
n2 - n1 + 1  
<ESC> "&" <0> n1 n2 [m0 m1 m2 m3 m4 m5]  
n2 - n1 + 1  
(1B)H (26)H (00)H n1 n2 [m0 m1 m2 m3 m4 m5]  
n2 - n1 + 1  
<
<
(21)H  
n1  
n2 (7F)H, m0 = (00)H or m0 = (80)H  
DEFINITION RANGE  
=
=
Defines download characters  
OUTLINE  
Up to 10 download characters can be defined and the defined  
character patterns can be stored in the printer's RAM.  
Defining of download characters begins with character code n1  
and completes with n2. When only one character is defined, n1 =  
n2.  
m0 indicates the relationship between the character pattern and  
print head.  
m1 = m2...Indicate the character pattern  
WHEN m0 = (00)H  
MSB  
D8 D7 D6 D5 D4 D3 D2 D1  
WHEN m0 = (80)H  
MSB  
LSB  
LSB  
D8 D7 D6 D5 D4 D3 D2 D1  
Dot Position  
Dot Position  
Not  
Used  
Not Used  
When the 7 X 9 (half dot) font is set (the default setting), printing  
of adjacent horizontal dots is not allowed.  
NOTE  
28  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Printing possible Printing not possible  
m2 m4 m6  
m2 m4 m6  
m1m3 m5 m7  
m1m3 m5 m7  
D8  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D8  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
Overlapping  
horizontally  
Overlapping  
horizontally  
Enables download character set  
FUNCTION  
CODE  
<ESC> "%" "1" or <ESC> "%" <1>  
(1B)H (25)H (31)H or (1B)H (25)H (01)H  
Enables the download character set  
OUTLINE  
Download characters defined by the ESC & 0 code cannot be  
printed until enabled by this command.  
Disables download character set (Default)  
FUNCTION  
CODE  
<ESC> "%" "0" or <ESC> "%" <0>  
(1B)H (25)H (30)H or (1B)H (25)H (00)H  
Disables the selected download character set and selects the  
OUTLINE  
built-in character set. When the power of the printer is initially  
turned on, the built-in character set is selected.  
<
To print a download character when the 7 9 (half dot) font  
=
character size is set.  
(1) Design the download character to be used at code positions  
(21)H, (22)H, and (23)H.  
m2 m4 m6  
m2 m4 m6  
m2 m4 m6  
m1 m3 m5 m7  
m1 m3 m5 m7  
m1 m3 m5 m7  
D8  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D8  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D8  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
Char. Code = (21)H  
Char. Code = (22)H  
Char. Code = (23)H  
29  
Download from Www.Somanuals.com. All Manuals Search And Download.  
(2) Define the download characters.  
When character codes where the download character is written  
are specified as (21)H, (22)H, (23)H, n1 = (21)H, n2 = (23)H are  
obtained.  
If the relationship between the character pattern data and printing  
head is specified to "not use pin 9", m0 = (80)H is obtained.  
When data m1 to m7 are converted into hexadecimal data, they  
are indicated as follows.  
Data Binary Hex  
m1 00111000 3C  
m2 01000010 42  
m3 10100101 A5  
m4 00000000 00  
m5 10100101 A5  
m6 01000010 42  
m7 00111000 3C  
Data Binary Hex  
m1 10011000 98  
m2 01100100 64  
m3 10000010 82  
m4 00000001 01  
m5 10000010 82  
m6 01100100 64  
m7 10011000 98  
Data Binary Hex  
m1 10100000 A0  
m2 00000000 00  
m3 10100000 A0  
m4 00011111 1F  
m5 10100000 A0  
m6 00000000 00  
m7 10100000 A0  
EXAMPLE of transmitting data  
(1) Definition of  
(1B)H (26)H (00)H (21)H (23)H (80)H  
(A0)H (00)H (A0)H (1F)H (A0)H (00)H  
(A0)H (80)H (98)H (64)H (82)H (01)H  
(82)H (64)H (98)H (80)H (3C)H (42)H  
(A5)H (00)H (A5)H (42)H (3C)H  
download characters  
(2) Selecting the  
download character  
set  
(1B)H (25)H (31)H  
(3) Character codes  
(21)H (22)H (23)H (0A)H  
(1B)H (25)H (30)H  
(4) Canceling the  
download character set  
(5) Character codes  
(21)H (22)H (23)H (0A)H  
Print Sample  
30  
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-2-5. Peripheral Device Control  
Defines drive pulse width for peripheral device #1  
FUNCTION  
CODE  
<ESC> <BEL> n1 n2  
(1B)H (07)H n1 n2  
<
<
<
<
1
n1  
127, 1  
n2  
127 (default setting n1 = n2 = 20)  
DEFINITION RANGE  
=
=
=
=
Adjusts drive pulse width for peripheral devices requiring other  
than standard 200 ms pulse time and delay time  
Energizing time = 10 X n1 (ms)  
OUTLINE  
Delay time = 10 X n2 (ms)  
Executed by <BEL>, <FS> codes.  
10 x n1 (ms)  
10 x n2 (ms)  
Printing and paper  
feed are prohibited.  
Controls peripheral device #1  
FUNCTION  
CODE  
<BEL>  
(07)H  
Executes drive pulse for peripheral unit 1 (deferred).  
OUTLINE  
NOTE  
Peripheral Units 1 and 2 cannot be driven simultaneously.  
31  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Controls peripheral device #1 immediately  
FUNCTION  
CODE  
<FS>  
(1C)H  
Executes drive pulse for peripheral unit 1 (immediate).  
This code differs from the <BEL> code as follows:  
OUTLINE  
When the printer receives an <FS> code, the command is  
executed immediately. The <BEL> code is stored in the data  
buffer in the same manner as other codes, and executed in the  
order in which they are received.  
Immediate drive command for peripheral unit 2  
Peripheral Units 1 and 2 cannot be driven simultaneously.  
NOTE  
Controls peripheral device #2 immediately  
FUNCTION  
CODE  
<EM>  
(19)H  
Drives peripheral unit 2. Pulse width is fixed at 200 ms with a  
fixed delay time of 200 ms.  
OUTLINE  
When the printer receives a <EM> code, the command is  
executed immediately. Same as <SUB>.  
Peripheral Units 1 and 2 cannot be driven simultaneously.  
NOTE  
Controls peripheral device #2 immediately  
FUNCTION  
CODE  
<SUB>  
(1A)H  
Drives peripheral unit 2. Pulse width is fixed at 200ms with a fixed  
delay time of 200 ms.  
OUTLINE  
When the printer receives a <SUB> code, the command is  
executed immediately. Same as <EM>  
Peripheral Units 1 and 2 cannot be driven simultaneously.  
NOTE  
32  
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-2-6. Auto Cutter Control (SP2500 type printers only)  
Full-cut command to the auto cutter  
FUNCTION  
<ESC> "d" "0" or <ESC> "d" <0>  
CODE  
(1B)H (64)H (30)H or (1B)H (64)H (00)H  
Full cut command. Executes a full cut after printing the data in  
OUTLINE  
the line buffer.  
This command is valid only on SP2520/SP2560 series printers  
and is ignored on SP2320/SP2360 series printers.  
Partial-cut command to the auto cutter  
FUNCTION  
<ESC> "d" "1" or <ESC> "d" <1>  
CODE  
(1B)H (64)H (31)H or (1B)H (64)H (01)H  
Partial cut command. Executes a partial cut after printing the  
OUTLINE  
data in the line buffer.  
This command is valid only on SP2520/SP2560 series printers  
and is ignored on SP2320/SP2360 Õeries printers.  
Full-cut command to the auto cutter after paper feed  
FUNCTION  
<ESC> “d” “2” or <ESC> “d” <2>  
CODE  
(1B)H (64)H (32)H or (1B)H (64)H (02)H  
Paper feed + full cut command  
OUTLINE  
Executes the following actions after printing the data in the line  
buffer.  
(SP2520/2560) Feeds paper to the cutting position and executes  
a full cut (Note 1).  
(SP2320/2360) Feeds paper to the tear bar position (Note 2).  
Note 1: Paper feed to cut position: Executed in 1 inch units.  
Note 2: Paper feed to tear bar position: Executed in 7/6 inch  
units.  
33  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Partial-cut command to the auto cutter after paper feed  
FUNCTION  
CODE  
<ESC> “d” “3” or <ESC> “d” <3>  
(1B)H (64)H (33)H or (1B)H (64)H (03)H  
Paper feed + full cut command  
OUTLINE  
Executes the following actions after printing the data in the line  
buffer.  
(SP2520/2560) Feeds paper to the cutting position and executes  
a full cut (Note 1).  
(SP2320/2360) Feeds paper to the tear bar position (Note 2).  
Note 1: Paper feed to cut position: Executed in 1 inch units.  
Note 2: Paper feed to tear bar position: Executed in 7/6 inch  
units.  
34  
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-2-7. Command to Set the Page Format  
Set page length in n lines  
FUNCTION  
<ESC> “C” n  
CODE  
(1B)H (43)H n  
<
<
1
n
255 (default: n =42)  
DEFINITION RANGE  
=
=
Sets page length in n lines.  
OUTLINE  
Set page length in n inches  
FUNCTION  
CODE  
<ESC> “C” <0> n  
(1B)H (43)H (00)H n  
<
<
1
n
127  
DEFINITION RANGE  
=
=
Sets page length in n inches.  
OUTLINE  
Set bottom margin  
FUNCTION  
CODE  
<ESC> “N” n  
(1B)H (4E)H n  
<
<
0
n
255 (Default n = 0)  
DEFINITION RANGE  
=
=
Sets bottom margin to n lines.  
OUTLINE  
Feeds the paper  
automatically  
Page length  
Bottom margin  
of n lines  
Cancel bottom margin (Default)  
FUNCTION  
CODE  
<ESC> “O”  
(1B)H (4F)H  
Cancels bottom margin.  
35  
OUTLINE  
Download from Www.Somanuals.com. All Manuals Search And Download.  
1-2-8. Other Commands  
Cancels printer buffer & Initialize printer  
FUNCTION  
CODE  
<CAN>  
(18)H  
Clears the data buffer and line buffer and initializes all commands  
OUTLINE  
that have already been set. <CAN> is executed not when taking  
data from the reception buffer, but when it is received from the  
host. The select/deselect states in the DC1 and DC3 modes, and  
external device drive conditions set by <ESC> <BEL> n1 and n2  
do not affect the automatic status valid/invalid conditions.  
Deselects printer  
Print Sample  
CODE  
<DC3>  
(13)H  
Data following this code is ignored when the printer receives a  
<DC3> code.  
OUTLINE  
The deselect mode is canceled by <DC1> code.  
Set select mode (Default)  
FUNCTION  
CODE  
<DC1>  
(11)H  
When the printer receives a <DC1> code, the deselect mode is  
canceled and data following this code is input to the buffer.  
OUTLINE  
Beeps the buzzer  
FUNCTION  
CODE  
<RS>  
(1E)H  
A short alarm is generated by the printer.  
OUTLINE  
36  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Sets the memory switch  
FUNCTION  
CODE  
<ESC> “# N, n1 n2 n3 n4” <LF> <NUL>  
1B 23 N 2C n1 n2 n3 n4 0A 00  
HEX  
In order to enable changed memory switch settings, turn the  
OUTLINE  
printer OFF and ON again or send the printer reset command  
(<ESC> “?” <LF> <NUL>) to the printer. Changed memory  
switch settings are stored in EEPROM and these settings will be  
stored until they are changed again.  
N:  
Memory switch number (“0,” “1,” “2,” “3,” “4,” “5,” “6”)  
n1 n2 n3 n4: Mode settings (For details see below.)  
1) N = 0 (Star mode)  
n1: Always “0”  
n2: Always “0”  
Parameter  
Setting  
“0” (Default)  
“1”  
n3  
n4  
Destination  
FF command *1  
Standard Asia Market  
See below  
n4  
<FF> command *1  
“0” to “3” Feeds page  
“4” to “7” Executes full cut after feeding paper to the cut  
position. (*2)  
“8” to “B” Feeds page  
“C” to “F” Executes partial cut after feeding paper to the cut  
position. (*2)  
*1: Only on printers that have an auto-cutter (SP2520/2560).  
*2: Paper feed to cutting position is executed in 1 inch incre-  
ments.  
N = 0 (ESC/POS mode)  
n1: Always “0”  
n2: Always “0”  
n4: Always “0”  
Parameter  
Setting  
“0” (Default)  
“1”  
n3  
Destination  
Standard Asia Market  
37  
Download from Www.Somanuals.com. All Manuals Search And Download.  
2) N = 1 (Star mode only)  
n1: Always “0”  
n2: Always “0”  
Parameter Setting  
“0” (Default)  
Normal  
“1”  
n3  
n4  
Zero style  
Slashed  
International  
character set  
See below  
n4 Country  
“0” USA  
“1” France  
“2” Germany  
n4 Country  
“3” UK  
“4” Denmark #1 “7” Spain #1  
n4 Country  
“6” Italy  
“5” Sweden  
“8” Japan  
n4 Country  
“9” Norway  
“A” Denmark #2  
“B” Spain #2  
n4 Country  
“C” Latin America  
“D” Korea  
“E” Ireland  
“F” Legal  
When memory switch N = 0, n3 = “0” (Destination is standard),  
this setting is valid.  
3) N = 2 (Star mode)  
n1: Always “0”  
n2: Always “0”  
n3: Always “0”  
Para. Setting  
“0” to “F”  
n4  
Comdex Dual Auto Cut mechanism (*1)  
Paper near end sensor  
See below  
n4  
Paper near end sensor  
“0” or “4” or “8” or “C” Invalid  
“1” or “9” or “D”  
“2” or “A” or “E”  
Invalid  
Reflects status of sensor to STATUS  
and when near end, does not go offline  
and does not stop printing.  
“3” or “B” or “F”  
Reflects status of sensor to STATUS  
and when near end, goes offline and  
stops printing.  
38  
Download from Www.Somanuals.com. All Manuals Search And Download.  
n4  
Comdex dual auto-cutter  
“0” to “7”  
“8” to “F”  
Invalid  
Valid  
*1: Comdex Dual Auto Cut Mechanism (STAR mode only)  
This mechanism automatically cuts when there is a consecu-  
tive paper feed exceedin 7/6 inch. Hosts that cannot send an  
escape sequence such as <ESC> “d” and 0, can cut the  
paper if a line feed code <LF> of 1/6 inch is sent 7 times  
consecutively.  
N = 2 (ESC/POS mode)  
n1: Always “0”  
n2: Always “0”  
n3: Always “0”  
Parameter  
Setting  
“0” to “F”  
n4  
Paper near end  
sensor  
See below  
n4  
Paper near end sensor  
“0” or “4” or “8” or “C” Invalid  
“1” or “9” or “D”  
“2” or “A” or “E”  
Invalid  
Reflects status of sensor to STATUS  
and when near end, does not go offline  
and does not stop printing.  
“3” or “B” or “F”  
Reflects status of sensor to STATUS  
and when near end, goes offline and  
stops printing.  
4) N = 3 (Star mode)  
n3: Always “0”  
Parameter  
Setting  
“0” to “F”  
n1  
n2  
n4  
Character table  
Character table  
CR code  
See below  
39  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Value of n  
Character Table  
n1  
n2  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“0” or “8”  
“1” or “9”  
“1” or “9”  
“1” or “9”  
“1” or “9”  
“1” or “9”  
“1” or “9”  
“2” or “A”  
“2” or “A”  
“2” or “A”  
“0”  
“1”  
“2”  
“3”  
“4”  
“5”  
“6”  
“7”  
“8”  
“9”  
“A”  
“B”  
“C”  
“D”  
“E”  
“F”  
“0”  
“1”  
“2”  
“3”  
“4”  
“5”  
“0”  
“1”  
“2”  
Normal (Default)  
Code Page 437 (USA, Std. Europe)/IBM Character Set #2  
Katakana  
IBM Character Set #1  
Codepage 858 (Multilingual)  
Codepage 852 (Latin-2)  
Codepage 860 (Portuguese)  
Codepage 861 (Icelandic)  
Codepage 863 (Canadian French)  
Codepage 865 (Nordic)  
Codepage 866 (Cyrillic Russian)  
Codepage 855 (Cyrillic Bulgarian)  
Codepage 857 (Turkish)  
Codepage 862 (Hebrew)  
Codepage 864 (Arabic)  
Codepage 737 (Greek)  
Codepage 851 (Greek)  
Codepage 869 (Greek)  
Codepage 928 (Greek)  
Codepage 772 (Lithuanian)  
Codepage 774 (Lithuanian)  
Codepage 874 (Thai)  
Codepage 1252 (Windows Latin-1)  
Codepage 1250 (Windows Latin-2)  
Codepage 1251 (Windows Cyrillic)  
Codepage 3840 (IBM-Russian)  
Codepage 3841 (Gost)  
“4” or “C” “0”  
“4” or “C” “1”  
“4” or “C” “2”  
“4” or “C” “3”  
“4” or “C” “4”  
“4” or “C” “5”  
“4” or “C” “6”  
“4” or “C” “7”  
“4” or “C” “8”  
“4” or “C” “9”  
“4” or “C” “A”  
“4” or “C” “B”  
“4” or “C” “C”  
“4” or “C” “D”  
“4” or “C” “E”  
“4” or “C” “F”  
Codepage 3843 (Polish)  
Codepage 3844 (CS2)  
Codepage 3845 (Hungarian)  
Codepage 3846 (Turkish)  
Codepage 3847 (Brazil-ABNT)  
Codepage 3848 (Brazil-ABICOMP)  
Codepage 1001 (Arabic)  
Codepage 2001 (Lithuanian-KBL)  
Codepage 3001 (Esornian-1)  
Codepage 3002 (Esornian-2)  
Codepage 3011 (Latvian-1)  
Codepage 3012 (Latvian-2)  
Codepage 3021 (Bulgarian)  
Codepage 3041 (Maltese)  
40  
Download from Www.Somanuals.com. All Manuals Search And Download.  
n4  
“0”  
“1”  
“2”  
“3”  
CR code  
Ignores  
Ignores  
Feeds line after printing (same as <LF>  
Prints (no line feed.)  
N = 3 (ESC/POS mode)  
n1: Always “0”  
n2: Always “0”  
n3: Always “0”  
Parameter  
Setting  
“1” to “3”  
n4  
CR code  
See below  
n4  
“0”  
“1”  
“2”  
CR code  
Prints (no line feed.)  
Feeds line after printing (same as <LF>  
(Parallel Interface)  
Prints and feeds line when nAutoFd signal is “LOW”.  
Does not feed line when “HIGH.”  
(Serial Interface)  
Ignores  
“3”  
Ignores  
5) N = 4 (Star mode)  
n3: Always “0”  
Para. Setting  
“0”  
“1”  
“2”  
“3”  
n1  
X on/X off Timing  
When  
Every 3 When  
Every 3  
Toggled sec  
Toggled sec  
RTS Signal Condition  
DTR  
Save as Save as Always  
Always  
DTR  
SPACE  
4 kbytes  
SPACE  
256 bytes  
n2  
n4  
Receive buffer size  
Data receipt error  
4 kbytes  
“?”  
256 bytes  
Ignored  
Ignored “?”  
Printed  
Printed  
41  
Download from Www.Somanuals.com. All Manuals Search And Download.  
N = 4 (ESC/POS mode)  
n3: Always “0”  
Para. Setting  
“0”  
“1”  
“2”  
“3”  
n1  
RTS signal condition  
Save as  
DTR  
Save as  
DTR  
Always  
SPACE  
40 bytes  
Always  
SPACE  
40 bytes  
Not  
n2  
n3  
Receive buffer size  
DSR signal check  
during setting status  
transmission  
4 k bytes  
4 k bytes  
Checked Checked Not  
Checked Checked  
6) N = 5  
n1: Always “0”  
n2: Always “0”  
n3: Always “0”  
n4: Always “0”  
7) N = 6  
n3: Always “0”  
n4: Always “0”  
Para. Setting  
“0” to “F”  
n1  
Device ID (Parallel I/F only)  
nPError signal (Parallel I/F only)  
Busy condition (Star mode only) *1  
Treatment of missing data  
n2  
See below  
during reverse mode.*2  
n1  
Device ID  
“0” or “2” or “4” or “6” or “8” or “A” or “C” or “E” Invalid  
“1” or “3” or “5” or “7” or “9” or “B” or “D” or “F” Valid  
n1  
nPError signal  
“0” to “7” Paper end sensor  
“8” to “F” Paper end sensor and+ Paper near end sensor  
n2  
Busy condition  
Receive buffer  
full or offline  
“0” or “2” or “4” or “6” or “8” or “A” or “C” or “E”  
Receive buffer  
full  
“1” or “3” or “5” or “7” or “9” or “B” or “D” or “F”  
42  
Download from Www.Somanuals.com. All Manuals Search And Download.  
n2  
Treatment of missing data during reverse mode  
“0” to “7” Store  
“8” to “F” Delete  
*1: Valid only when using a parallel interface.  
Set DIP SW 1-2 if you are using a serial interface.  
Also, the conditions for BUSY and the automatic status are  
disregarded.  
*2: Valid only when using a parallel interface.  
For example, if you exit the reverse mode without the host  
receiving the trailing data of the automatice status the  
remainder of the status data will be handled as described  
below.  
Store:  
Stores the remaining data and transmits it at the  
next time the reverse mode is entered. If the  
automatic status occurs, the new status will be  
transmitted after that remaining data.  
Delete:  
Deletes the remaining data. It does not transmit  
that data the next time the reverse mode is  
entered. The new status data is transmitted from  
the header field.  
Initialize printer  
FUNCTION  
CODE  
<ESC> “@”  
(1B)H (40)H  
Initializes all the commands already set. However the following  
OUTLINE  
parameters are not initialized: online switch valid/invalid  
selection. Also, the line and data buffers are not cleared. The  
DIP switches and the memory switches are not read in again.  
The select/deselect state for addressable mode and DC1/DC3  
mode is not affected.  
43  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Transmits EOT status  
FUNCTION  
CODE  
<EOT>  
(04)H  
Transmits the EOT status of the printer to the host in real-time.  
OUTLINE  
(Does not execute after taking fro reception buffer, but immedi-  
ately upon receiving from the host.) It is in a “Data ready” state  
when using a bi-directional parallel interface.  
• When one <EOT> command is sent to the printer, it will not  
send the next <EOT> command until the EOT status is  
received.  
• When using the <EOT> command, always set the automatic  
status function to invalid.  
EOT Status  
b7 b6  
b5  
b4  
b3  
b2  
b1  
b0  
(Always 1)  
Bit 2:  
Bit 3:  
Paper Near End  
1: Near End  
No Paper Error (Same as ENQ Bit 3)  
1: Error  
Bit1, Bit 5 to Bit 7 statsu unknown  
44  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Transmits ENQ status  
FUNCTION  
CODE  
<ENQ>  
(05)H  
Transmits the ENQ status of the printer to the host in real-time.  
OUTLINE  
(Does not execute after taking fro reception buffer, but immedi-  
ately upon receiving from the host.) It is in a “Data ready” state  
when using a bi-directional parallel interface.  
• When one <ENQ> command is sent to the printer, it will not  
send the next <ENQ> command until the ENQ status is  
received.  
• When using the <ENQ> command, always set the automatic  
status function to invalid.  
ENQ Status  
b7  
b6  
b5  
b4  
b3  
b2  
b1  
b0  
Bit 0:  
Bit 1:  
Bit 2:  
Bit 3:  
Bit 5:  
Bit 6:  
Bit 7:  
Parallel Error (*1)  
1: Error  
Framing Error (*1)  
1: Error  
Mechanical Error  
1: Error  
No Paper Error (Same as EOT Bit 3)  
1: Error  
Buffer Empty (*1)  
1: Buffer "Empty  
Buffer Overflow  
1: Overflow  
Compulsion SW (*2)  
*1: Bit 0 and Bit 1 are valid only with a serial interface. Bit0 =  
Bit1= 0 when using a parallel interface.  
*2: Compulsion Switch  
When the pin No. 6 on the connector for external device drive  
circuit is HIGH (Switch ON), Bit 7 = 1.  
45  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Confirms finish of printing  
FUNCTION  
CODE  
<ETB>  
(17)H  
This command cause the printer to wait until all printing is  
OUTLINE  
completed (the printing motor stops) and sets the printer status 1-  
1 of the automatic status (<ETB> command) to “1” (only execute  
ETB).  
Also, if print data still remains in the line buffer, it executes this  
command after printing the remaining data.  
The host will know that the printing of the transmitted data is  
completed by confirming that the bit is “1.” When the status bit is  
cleared to “0” when returned to the host.  
Transmits automatic status  
FUNCTION  
CODE  
<ESC> <ACK> <SOH>  
(1B)H (06)H (01)H  
This command transmirts the contents of the printer’s automatic  
OUTLINE  
status one time. (When using a bi-directional parallel interface, it  
is “Data Ready.)  
• When in the DTR mode for a serial interface, you need to set  
DIP switch 1-3 to OFF so that the printer status can be inquired  
during an error as well.  
• When in the DTR mode for a parallel interface, you need to set  
DIP switch 6-9 to “1” so that the printer status can be inquired  
during an error as well.  
• Always use the <ESC> <ACK> and <SOH> commands when  
the automatic status function is set to invalid. Also, when the  
<ESC> <ACK> and <SOH> commands are transmitted one  
time, you must not send the next <ESC> <ACK> and <SOH>  
commands until the automatic status is completely received.  
46  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Enables/disables automatic status  
FUNCTION  
CODE  
<ESC> <RS> “a” n  
(1B)H (1E)H (61)H n  
This command sets the transmission conditions of the automatic  
OUTLINE  
status. Initial values are according to DIP switch 1-6. See  
Chapter 2 Automatic Status Specifications for details on the  
contents of the automatic status.  
Value of n Hex  
Automatic Status Valid/Invalid  
0 or “0”  
1 or “1”  
(00H) or (30H)  
(01H) or (31H)  
Invalid  
Valid  
Resets printer hardware and produces a test print  
FUNCTION  
CODE  
<ESC> “?” <LF> <NUL>  
(1B)H (3F)H (0A)H (00)H  
Resets the printers hardware and executes one self-test print.  
OUTLINE  
After this command is sent, the next data is not sent until the  
printer is confirmed to be back online.  
47  
Download from Www.Somanuals.com. All Manuals Search And Download.  
2. ESC/POS Mode Commands  
The following table lists the TM-U200 and TM-U300 emulation commands that  
are supported by this printer.  
2-1. Control Codes List  
Control  
Codes  
<HT>  
Hexadecimal Function  
Codes  
TM-  
TM-  
U200 U300  
09  
0A  
0D  
Horizontal tab  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
<LF>  
Line feed  
<CR>  
Prints and carriage return  
Enables real-time status send  
Real-time request to printer  
Sets size of space to right of character  
Enables batch print mode  
Sets memory switch  
<DLE> <EOT> 10 04  
<DLE> <ENQ> 10 05  
<ESC> SP  
<ESC> !  
1B 20  
1B 21  
1B 23  
1B 25  
OK  
OK  
<ESC> #  
<ESC> %  
Enables/disables download  
character set  
OK  
OK  
<ESC> &  
<ESC> *  
<ESC> -  
<ESC> 2  
<ESC> 3  
<ESC> =  
<ESC> ?  
<ESC> @  
<ESC> D  
<ESC> E  
<ESC> G  
<ESC> J  
<ESC> K  
1B 26  
1B 2A  
1B 2D  
1B 32  
1B 33  
1B 3D  
1B 3F  
1B 40  
1B 44  
1B 45  
1B 47  
1B 4A  
1B 4B  
Defines download character  
Selects bit image mode  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
Selects/cancels underlining  
Selects 1/6-inch line spacing  
Selects n/144-inch line spacing  
Selects peripheral device  
Cancels download character  
Initializes the printer  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
Sets horizontal tab position  
Enables/disables emphasized mode  
Enables/disables double-strike mode  
Prints and n/144-inch paper feed  
Prints and n/144-inch reverse paper feed  
48  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Control  
Codes  
Hexadecimal Function  
Codes  
TM-  
TM-  
U200 U300  
<ESC> R  
<ESC> U  
1B 52  
1B 55  
Selects international character set  
OK  
OK  
OK  
OK  
Selects/cancels unidirectional  
printing mode  
<ESC> V  
1B 56  
Designates/cancels 90° character  
rotation  
<ESC> a  
1B 61  
Aligns position  
OK  
OK  
<ESC> c 3  
1B 63 33  
Selects the paper-end sensor for  
sending the no-paper signal  
Selects the paper-end sensor for  
stopping printing  
OK  
OK  
<ESC> c 4  
1B 63 34  
OK  
<ESC> c 5  
<ESC> d  
<ESC> e  
<ESC> i  
<ESC> m  
<ESC> p  
<ESC> r  
<ESC> t  
<ESC> u  
<ESC> v  
<ESC> {  
<GS> I  
1B 63 35  
1B 64  
1B 65  
1B 69  
1B 6D  
1B 70  
1B 72  
1B 74  
1B 75  
1B 76  
1B 7B  
1D 49  
1D 56  
1D 61  
1D 72  
1D 7A 30  
Enables/disables control panel switches  
Prints or feeds n lines  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
Prints or reverse feeds n lines  
Full-cut command to the auto cutter  
Partial-cut command to the anto cutter  
Generates specified pulse  
Selects print color  
OK  
OK  
Selects character code table  
Sends peripheral status  
Sends paper sensor status  
Enables/disables inverted printing  
Sends printer ID  
OK  
OK  
OK  
OK  
OK  
OK  
<GS> V  
<GS> a  
Cut command to the auto cutter  
Enables/disables automatic status  
Sends printer status  
<GS> r  
<GS> z 0  
Setting of on-line recovery wait time  
49  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Ignored Commands  
Control  
Hexadecimal Function  
TM-  
TM-  
Codes  
Codes  
U200 U300  
<ESC> <  
<ESC> c 0 n  
1B 3c  
Ignored (Returns home)  
OK  
OK  
OK  
OK  
1B 63 30 n  
Ignored (Selects paper type(s) for printing)  
Ignored (Sets cut sheet wait time)  
Ignored (Selects head control method)  
<ESC> f t1 t2 1B 66 t1 t2  
<GS> E n 1D 45 n  
50  
Download from Www.Somanuals.com. All Manuals Search And Download.  
3. Auto Status Specifications  
3-1. Auto Status  
Auto status is a function that automatically relays any changes that occur in  
the status of the printer from the printer to the host. It is composed of the  
“Header -1,” “Header - 2” and “a plurality of bytes of printer states.”  
The host always identifies the data using the method of identification for each  
byte received. (For example: This is necessary in consideration of the  
receiving side because there is the possibility that the X on/X off code could  
be included in the automatic status part way through transmission when in the  
Xon/Xoff mode [Serial I/F]).  
Conditions for the validity and invalidity of the autmatic status abide by the  
initial values of the settings of DIP switch 1-6. You can change the condition  
using the <ESC> <RS> “a” n command after turning ON the power.  
You can acquire the automatic status regardless of it being valid or invalid  
using the <ESC> <ACK> <SOH> command.  
Header 1  
Header 1 is 1 byte of information heading the automatic status. Header 1 is  
composed of the items in Table 3-1 below. Header 1 indicates the byte count  
of the transmission of the entire status including Header 1 with bits 1 to 3 and  
bit 5. The host gets the information of the transmitted byte count and always  
receives the status data of the amount of the transmitted byte count. For  
reference, Table 3-2 shows the relationship of the actual transmitted byte  
count and the Header 1.  
Bit 0 is always 1 (always 0 after the second byte) to indicate that it is the  
header data of Header 1 so when detecting Header 1, you can check that bit  
0 = 1 and bit 4 = 0.  
Bit 6 is for future expansion, so it is ignored in the processing on the host.  
51  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Table 3-1 Header 1 (First Byte)  
Bit Content  
Status 0  
Status 1  
0
1
2
3
4
5
6
7
Always 1  
Printer Status Byte Count  
Always 0  
Printer Status Byte Count  
Reserved (Fixed at 0)  
Not Used (Fixed at 0)  
Table 3-2 Relationship of Actual Transmitted Byte Count and Header 1  
Transmitted Byte Count n (7 n 15)  
Header 1  
7
00001111B (0F Hex)  
00100001B (21 Hex)  
00100011B (23 Hex)  
00100101B (25 Hex)  
00100111B (27 Hex)  
00101001B (29 Hex)  
00101011B (2B Hex)  
00101101B (2D Hex)  
00101111B (2F Hex)  
8
9
10  
11  
12  
13  
14  
15  
Header 2  
Header 2 is the information of the length of one byte transmitted in the second  
byte of the automatic status. Table 3-3 shows the composition of the Header  
2. Header 2 shows the version of the automatic status with bits 1 to 3 and bit  
5 (called automatic status version below). For reference, Table 3-3 shows the  
relationship between the actual version and the Header 2.  
The automatic status version will be upgraded when new information is added  
to the currently empty printer status bit positions through the addition of new  
functions in the future. When the host does not manage the automatic status  
version, it is acceptable that Header 2 be ignored.  
52  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Table 3-3 Header 2 (Second Byte)  
Bit Content  
Status 0  
Status 1  
0
1
2
3
4
5
6
7
Always 0  
Automatic Status Ver. Number  
Always 0  
Automatic Status Ver. Number  
Not Used (Fixed at 0)  
Table 3-4 Relationship of Actual Automatic Status Version and Header 2  
Version Number n  
Header 2  
00000010B (02 Hex)  
00000100B (04 Hex)  
00000110B (06 Hex)  
00001000B (08 Hex)  
00001010B (0A Hex)  
00001100B (0C Hex)  
00001110B (0E Hex)  
00100000B (20 Hex)  
00100010B (22 Hex)  
00100100B (24 Hex)  
1
2
3
4
5
6
7
8
9
10  
16  
01000000B (40 Hex)  
30  
31  
01101100B (6C Hex)  
01101110B (6E Hex)  
53  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Printer Status  
Printer Status is the overall status transmitted in the third byte of the auto-  
matic status. Printer status is returned as transmission byte count -2 added  
by the Header 1. It always updates with new information. (There is no  
historical record existing.) Tables 3-5 to 3-9 show the composition of the  
overall status. The status of bits described as “Invalid” in the tables are  
always “unknown.”  
Table 3-5 Printer Status 1 <Printer Status> (Third Byte)  
Bit Content  
Status 0  
Status 1  
Executed  
0
1
2
3
4
5
6
7
Always 0  
<ETB> Command  
Compulsion SW Status  
Online/Offline Status  
Always 0  
Not Executed  
Open  
Closed  
Offline  
Online  
Invalid  
Offline using the Online SW  
Not Used (Fixed at 0)  
Does not occur Occurs  
*
Bit 1 is cleared to 0 when returned to the host. (Clearing bit 1 to 0 is not a  
target for the automatic status.)  
Table 3-6 Printer Status 2 (Error Information) (Fourth Byte)  
Bit Content Status 0  
Status 1  
0
1
2
3
4
5
6
Always 0  
Invalid  
Mechanical Error  
Auto Cutter Error  
Always 0  
No Error  
Error Occurred  
Error Occurred  
No Error  
Reset Not Possible Error  
No Error  
Error Occurred  
Stopped  
Stopped Because of  
Hot Print Head  
Not Stopped  
7
Not Used (Fixed at 0)  
54  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Table 3-7 Printer Status 3 <Error Information> (Fifth Byte)  
Bit Content Status 0  
Status 1  
0
1
2
3
4
5
6
7
Always 0  
Invalid  
Invalid  
Invalid  
Always 0  
Invalid  
Reception Buffer Overflow Error (*) Does not occur Occurs  
Not Used (Fixed at 0)  
* Bit 6 is cleared to 0 when returned to the host.  
Table 3-8 Printer Status 4 <Sensor Information> (Sixth Byte)  
Bit Content  
Status 0  
Status 1  
0
1
2
3
4
5
6
7
Always 0  
Invalid  
Receipt Paper Near End  
Receipt Paper End  
Always 0  
Has Paper  
Has Paper  
No Paper  
No Paper  
Invalid  
Invalid  
Not Used (Fixed at 0)  
Table 3-9 Printer Status 5 <Sensor Information> (Seventh Byte)  
Bit Content Status 0 Status 1  
0
1
2
3
4
5
6
7
Always 0  
Invalid  
Invalid  
Invalid  
Always 0  
Invalid  
Invalid  
Not Used (Fixed at 0)  
55  
Download from Www.Somanuals.com. All Manuals Search And Download.  
(2) Precautions  
Do not use the <ENQ>, <EOT>, <ESC>, <ACK> or <SOH> commands when  
the automatic status is valid. You must first invalidate the use of the automatic  
status function using the DIP switches or the <ESC> <RS> “a” n command to  
use these inquiry commands.  
(3) Method to Identify States  
<Control Code>  
XON  
<Reception Data>  
<00010001>B  
XOFF  
<00010011>B  
<Status>  
<Reception Data>  
<***0****>B  
ENQ Status  
EOT Status  
<***1***0>B  
Automatic Status (First Byte <Header 1>)  
Automatic Status (Second Byte and Beyond)  
<0**0***1>B  
<0**0***0>B  
0 = indicates bit fixed to 0.  
1 = indicates bit fixed to 1.  
* = indicates bit changed.  
56  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Appendix : Character Code Tables  
Star Mode  
(Character table: Normal)  
Note: The (7F)H code is a space when neither normal nor katakana.  
57  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
(Character table: Normal)  
58  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
(Character table: IBM Character set #2 (Code page 437 ))  
Note: Other characters are the same as those for Character table: Normal.  
59  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
(Character table: Katakana)  
Note: Other characters are the same as those for Character table: Normal.  
60  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
(Character table: IBM Character set #1 )  
Note: Other characters are the same as those for IBM Character Set #2.  
61  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
Code Page #858  
Multi-lingual  
Code Page #852  
Latin-2  
Code Page #860  
Portuguese  
Code Page #861  
Icelandic  
Note: Other characters are the same as those for Character table: Normal.  
62  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
Code Page #863  
Canadian French  
Code Page #865  
Nordic  
Code Page #866  
Cyrillic Russian  
Note: Other characters are the same as those for Character table: Normal.  
63  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
Code Page #855  
Cyrillic Bulgarian  
Code Page #857  
Turkish  
8
9
A B  
C
D
E
F
8
9
A B  
C
D E F  
0
1
0
1
2
3
2
3
4
5
4
5
6
6
7
7
8
8
9
9
A
B
C
D
A
B
C
D
E
F
E
F
Code Page #862  
Hebrew  
Code Page #864  
Arabic  
8
9
A B  
C
D
E
F
8
9
A B  
C
D E F  
0
1
0
1
2
3
2
3
4
5
4
5
6
6
7
7
8
8
9
9
A
B
C
D
A
B
C
D
E
F
E
F
Note: Other characters are the same as those for Character table: Normal.  
64  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
Code Page #737  
Greek  
Code Page #851  
Greek  
Code Page #869  
Greek  
Code Page #928  
Greek  
Note: Other characters are the same as those for Character table: Normal.  
65  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
Code Page #772  
Lithuanian  
Code Page #774  
Lithuanian  
Note: Other characters are the same as those for Character table: Normal.  
66  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
Code Page #874  
Thai  
Code Page #1250  
Windows Latin-2  
8
9
A B  
C
D
E
F
8
9
A B  
C
D E F  
0
1
0
1
2
3
2
3
4
5
4
5
6
6
7
7
8
8
9
9
A
B
C
D
A
B
C
D
E
F
E
F
Code Page #1251  
Windows Cyrillic  
Code Page #1252  
Windows Latin-1  
8
9
A B  
C
D
E
F
8
9
A B  
C
D E F  
0
1
0
1
2
3
2
3
4
5
4
5
6
6
7
7
8
8
9
9
A
B
C
D
A
B
C
D
E
F
E
F
Note: Other characters are the same as those for Character table: Normal.  
67  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
Code Page #3840  
IBM-Russian  
Code Page #3841  
Gost  
Code Page #3843  
Polish  
Code Page #3844  
CS2  
Note: Other characters are the same as those for Character table: Normal.  
68  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
Code Page #3845  
Hungarian  
Code Page #3846  
Turkish  
Code Page #3847  
Brazil-ABNT  
Code Page #3848  
Brazil-ABICOMP  
Note: Other characters are the same as those for Character table: Normal.  
69  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
Code Page #1001  
Arabic  
Code Page #2001  
Lithuanian-KBL  
Code Page #3001  
Estonian-1  
Code Page #3002  
Estonian-2  
Note: Other characters are the same as those for Character table: Normal.  
70  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
Code Page #3011  
Latvian-1  
Code Page #3012  
Latvian-2  
Note: Other characters are the same as those for Character table: Normal.  
Code Page #3021  
Bulgarian  
Code Page #3041  
Maltese  
Note: Other characters are the  
same as those for Code  
Page #437.  
Note: Other characters are the  
same as those for Charac-  
ter table: Normal.  
71  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Star Mode  
International Character Set  
The character codes shown in the table are hexadecimal.  
72  
Download from Www.Somanuals.com. All Manuals Search And Download.  
ESC/POS Mode  
Page 0 (PC437)  
73  
Download from Www.Somanuals.com. All Manuals Search And Download.  
ESC/POS Mode  
Page 0 (PC437)  
74  
Download from Www.Somanuals.com. All Manuals Search And Download.  
ESC/POS Mode  
Page 1 (Katakana)  
Note: Other characters are the same as those for Page 0.  
75  
Download from Www.Somanuals.com. All Manuals Search And Download.  
ESC/POS Mode  
Page 2 (PC858: Multilingual)  
Note: Other characters are the same as those for Page 0.  
76  
Download from Www.Somanuals.com. All Manuals Search And Download.  
ESC/POS Mode  
Page 3 (PC860: Portuguese)  
Page 4 (PC863: Canadian-French)  
Page 5 (PC865: Nordic)  
Note: Other characters are the same as those for Page 0.  
77  
Download from Www.Somanuals.com. All Manuals Search And Download.  
ESC/POS Mode  
International Character Set  
The character codes shown in the table are hexadecimal.  
78  
Download from Www.Somanuals.com. All Manuals Search And Download.  
HEAD OFFICE  
OVERSEAS SUBSIDIARY COMPANIES  
STAR MICRONICS AMERICA, INC.  
1150 King Georges Post Road  
STAR MICRONICS CO., LTD.  
536 Nanatsushinnya, Shimizu, Shmizuoka  
424-0066 Japan  
Edison, New Jersey 08837-3729 U.S.A  
Tel: 732-623-5555, Fax: 732-623-5590  
Tel: 0543-47-0112, Fax: 0543-48-5013  
STAR MICRONICS U.K. LTD.  
Please access the following URL  
Star House, Peregrine Business Park, Gomm Road,  
High Wycombe, Bucks, HP13 7DL, U.K.  
Tel: 01494-471111, Fax: 01494-473333  
for the lastest revision of the manual.  
2000.02.07  
Printed in Japan, 80872080  
Download from Www.Somanuals.com. All Manuals Search And Download.  

Sharp Cable Box LC 42RD2EA User Manual
Sharp Calculator EL T100 User Manual
Sharp Headphones HT X1W User Manual
Sony Cassette Player ICD UX200 User Manual
Sony Clock Radio ICF C760 User Manual
Sony MiniDisc Player MDS JE500 User Manual
Sony Speaker FRF7ED User Manual
Sony Stereo Receiver 3 289 204 423 User Manual
Southwestern Bell CRT Television FA970B User Manual
Speco Technologies DVR DVR IP4CF User Manual