Manuals
/
Star Micronics
/
Computer Equipment
/
Computer Monitor
Star Micronics
SP2000 manual ESC/POS Mode, International Character Set
Models:
SP2000
1
80
81
81
Download
81 pages
44.24 Kb
74
75
76
77
78
79
80
81
<
>
Specifications
Code list
Commands to Set the Page Format
Cancels upperlining Default ESC 0 or ESC 1BH 5FH 30H or 1BH 5FH 00H
Memory Switch Setting
How to
First, since the volume of data is 30, n1 = 1EH. If the data m1 to
Page 80
Image 80
ESC/POS Mode
International Character Set
The character codes shown in the table are hexadecimal.
78
Page 79
Page 81
Page 80
Image 80
Page 79
Page 81
Contents
Dot Matrix Printer SP2000 Series Programmer’s Manual
TABLE OF CONTENTS
2-1. Control Codes List
1-2-6. Auto Cutter Control SP2500 type printers only
1-1-6. Auto Cutter Control SP2500 type printers only
1-1-1. Character Selection
1-1. Control Codes List
1. Control Codes Star Mode
Control
Hexadecimal
Function
Page
1-1-2. Print Position Control
Control
Hexadecimal
Function
1-1-3. Dot Graphics Control
1-1-4. Download Graphics Printing
1-1-5. Peripheral Device Control
4B n 00 m1 m2
1-1-7. Commands to Set the Page Format
1-1-6. Auto Cutter Control SP2500 type printers only
1-1-8. Other Commands
Control
Hexadecimal
Function
1-2. Control Code Details
1-2-1. Character Selection
FUNCTION
FUNCTION
FUNCTION
CODE OUTLINE
Value of n
Character Table
FUNCTION
FUNCTION
FUNCTION
DSW
FUNCTION
CODE OUTLINE
FUNCTION
CODE OUTLINE
FUNCTION
FUNCTION
FUNCTION
FUNCTION
FUNCTION
FUNCTION
FUNCTION
Sets the magnification rate in character height
Cancels upperlining Default ESC 0 or ESC 1BH 5FH 30H or 1BH 5FH 00H
FUNCTION
FUNCTION
FUNCTION
Rotation Specification
FUNCTION
FUNCTION
FUNCTION
Prints only when the print head moves from left to right
FUNCTION
FUNCTION
Selects uni-directional print mode
1-2-2. Ptint Position Control
FUNCTION
FUNCTION
FUNCTION
Memory Switch Setting
FUNCTION
FUNCTION
FUNCTION
FUNCTION
FUNCTION
FUNCTION
FUNCTION
FUNCTION
FUNCTION
FUNCTION
FUNCTION
Sets horizontal tab stops ESC D n1 n2 ...nk 0 1BH 44H n1 n2 ...nk 00H
FUNCTION
FUNCTION
FUNCTION
CODE OUTLINE
Left edge alignment default
FUNCTION
FUNCTION
Sets vertical tab stops ESC B n1 n2 ...nk 0 1BH 42H n1 n2 ...nk 00H
1-2-3. Dot Graphics Control
FUNCTION
First, since the volume of data is 30, n1 = 1EH. If the data m1 to
FUNCTION
The following is an example of this
1-2-4. Download Graphics Printing
FUNCTION
FUNCTION
FUNCTION
Printing possible Printing not possible
horizontally
EXAMPLE of transmitting data
FUNCTION
1-2-5. Peripheral Device Control
FUNCTION
FUNCTION
CODE OUTLINE
FUNCTION
CODE OUTLINE
1-2-6. Auto Cutter Control SP2500 type printers only
FUNCTION
FUNCTION
FUNCTION
FUNCTION
CODE OUTLINE
1-2-7. Command to Set the Page Format
FUNCTION
FUNCTION
FUNCTION
1-2-8. Other Commands
FUNCTION
FUNCTION
FUNCTION
Setting
FF command *1
Setting
FUNCTION
Setting
Setting
Parameter
3 N = 2 Star mode n1 Always “0”
Setting
Setting
Parameter
Paper near end sensor
Value of n
Character Table
Para
Setting
5 N = 4 Star mode n3 Always “0”
Setting
N = 4 ESC/POS mode n3 Always “0”
6 N = n1 Always “0” n2 Always “0” n3 Always “0” n4 Always “0” 7 N =
n3 Always “0” n4 Always “0”
FUNCTION
entered. The new status data is transmitted from
FUNCTION
Transmits EOT status EOT 04H
FUNCTION
ENQ Status
Confirms finish of printing ETB 17H
FUNCTION
FUNCTION
Automatic Status Valid/Invalid
FUNCTION
FUNCTION
2. ESC/POS Mode Commands
2-1. Control Codes List
Control
Hexadecimal
Function
Codes
Ignored Commands
3. Auto Status Specifications
3-1. Auto Status
Content
Table 3-1 Header 1 First Byte
Status
Status
Content
Table 3-3 Header 2 Second Byte
Status
Status
Printer Status
Reception Buffer Overflow Error
00010001B
Note The 7FH code is a space when neither normal nor katakana
Appendix Character Code Tables
Star Mode
Character table Normal
Star Mode
Character table Normal
Character table IBM Character set #2 Code page
Star Mode
Character table Katakana
Star Mode
Star Mode
Character table IBM Character set #1
Note Other characters are the same as those for IBM Character Set #2
Star Mode
Code Page #858 Multi-lingual Code Page #860 Portuguese
Code Page #852 Latin-2 Code Page #861 Icelandic
Star Mode
Code Page #863 Canadian French Code Page #866 Cyrillic Russian
Code Page #865 Nordic
Code Page #855 Cyrillic Bulgarian
Code Page #862 Hebrew
Code Page #857 Turkish
Code Page #864 Arabic
Star Mode
Code Page #737 Greek Code Page #869 Greek
Code Page #851 Greek Code Page #928 Greek
Star Mode
Code Page #772 Lithuanian
Code Page #774 Lithuanian
Code Page #874 Thai
Code Page #1251 Windows Cyrillic
Code Page #1250 Windows Latin-2
Code Page #1252 Windows Latin-1
Star Mode
Code Page #3840 IBM-Russian Code Page #3843 Polish
Code Page #3841 Gost Code Page #3844 CS2
Star Mode
Code Page #3845 Hungarian Code Page #3847 Brazil-ABNT
Code Page #3846 Turkish Code Page #3848 Brazil-ABICOMP
Star Mode
Code Page #1001 Arabic Code Page #3001 Estonian-1
Code Page #2001 Lithuanian-KBL Code Page #3002 Estonian-2
Code Page #3011 Latvian-1
Code Page #3012 Latvian-2
Code Page #3021 Bulgarian
Code Page #3041 Maltese
Star Mode
International Character Set
The character codes shown in the table are hexadecimal
ESC/POS Mode
Page 0 PC437
ESC/POS Mode
Page 0 PC437
Page 1 Katakana Note Other characters are the same as those for Page
ESC/POS Mode
ESC/POS Mode
Page 2 PC858 Multilingual
Note Other characters are the same as those for Page
Page 3 PC860 Portuguese
Page 4 PC863 Canadian-French
Page 5 PC865 Nordic
ESC/POS Mode
The character codes shown in the table are hexadecimal
ESC/POS Mode
International Character Set
536 Nanatsushinnya, Shimizu, Shmizuoka
1150 King Georges Post Road
424-0066 Japan
Edison, New Jersey 08837-3729 U.S.A