Star Micronics Dot Impact Printer manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Star Micronics Dot Impact Printer, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Star Micronics Dot Impact Printer one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Star Micronics Dot Impact Printer. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Star Micronics Dot Impact Printer should contain:
- informations concerning technical data of Star Micronics Dot Impact Printer
- name of the manufacturer and a year of construction of the Star Micronics Dot Impact Printer item
- rules of operation, control and maintenance of the Star Micronics Dot Impact Printer item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Star Micronics Dot Impact Printer alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Star Micronics Dot Impact Printer, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Star Micronics service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Star Micronics Dot Impact Printer.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Star Micronics Dot Impact Printer item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    Dot Impact Printer ST AR Command Specications Rev . 0.70 Star Micronics Co., Ltd. Special Products Operating Division[...]

  • Page 2

    Contents 1. GENERAL DESCRIPTION 1-1 2. COMMAND FUNCTION LIST 2-1 3. COMMAND DET AILS 3-1 3-1 Explanation of T erms 3-1 3-2 Exception processing 3-2 3-3 Standard Command Details 3-3 3-3-1 Font style and character set 3-3 ESC GS t n 3-3 ESC R n 3-4 ESC / N 3-4 ESC 6 3-5 ESC 7 3-5 ESC M 3-6 ESC P 3-6 ESC : 3-7 ESC SP n 3-7 3-3-2 Character Expansion Se[...]

  • Page 3

    ESC GS R n1 n2 3-32 3-3-7 Download 3-33 ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1 3-33 ESC & m n1 n2 [d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 .... ak dk] n2 - n1 + 1 3-36 ESC % N 3-39 3-3-8 Bit Image Graphics 3-40 ESC K n NUL d1 d2 … dn 3-40 ESC L n1 n2 d1 d2 … dk 3-41 ESC ^ m n1 n2 d1 d2 … dk 3-42 3-3-9 Logo 3-45 ESC FS q n [x1 1[...]

  • Page 4

    4. CHARACTER CODE T ABLE 4-1 5. APPENDIX 5-1 5-1 StatusSpecications 5- 1 5-1-1 ENQ Command Status 5-1 5-1-2 EOT Command Status 5-1 5-1-3 Automatic Status 5-2 5-1-4 PrinterStatusT ransmissionSpecicationwhenusingEthernetandWirelessLANInterfaces 5- 7 5-2 Expansion Position 5-9 5-2-1 7 x 9 Fonts [...]

  • Page 5

    1-1 ST ARCommandSpecications Rev . 0.70 1. GENERAL DESCRIPTION ThisspecicationsdocumentdescribesthecommandspecicationsfortheST ARMODEondotimpactprinters. Information contained herein applies to models with the following conditions. • Dot impact printers • Printer head: 72 DPI (vertical di[...]

  • Page 6

    2-1 ST ARCommandSpecications Rev . 0.70 2. COMMAND FUNCTION LIST • Standard Commands Class Commands Name Font Style and Character Set ESC GS t Specify code page ESC R Specify international character set ESC / Specify/cancel slash zero ESC 6 SwitchtoIBMcharacterset#2(onlywithstandardspecications) ESC 7 Switch[...]

  • Page 7

    2-2 ST ARCommandSpecications Rev . 0.70 Class Commands Name Horizo ntal ESC RS A Set print region Direct ion ESC I Set left margin Positi on ESC Q Set right margin HT Moveprintpositiontohorizontaltabposition ESC D Set/cancelhorizontaltabposition ESC GS a Specify position alignment ESC GS A Specifyabsolutepo[...]

  • Page 8

    2-3 ST ARCommandSpecications Rev . 0.70 Class Commands Name Others RS Ringbuzzer CAN Cancel print data and initialize commands DC3 Printer deselect DC1 Select printer ESC @ Command initialization ESC U Select printing direction ESC GS # Set memory switch ESC # Set memory switch ESC ? LF NUL Reset printer and execute self print Note 1 Ka[...]

  • Page 9

    3-1 ST ARCommandSpecications Rev . 0.70 3. COMMAND DET AILS 3-1 Explanation of T erms •Receptionbuffer Thebufferforstoringdata(receptiondata)receivedfromthehost,asitiscalledthereceptionbuf fer . Receptiondataistemporarilystoredinthereceptionbuffer ,then?[...]

  • Page 10

    3-2 ST ARCommandSpecications Rev . 0.70 3-2 Exception processing 1)Undenedcodes Codesfrom <00>Hto <1F>Haretargeted.When codesnot denedas commandsinthis regionare received,they are discarded. (Ex.)  If processing the data string of &l[...]

  • Page 11

    3-3 ST ARCommandSpecications Rev . 0.70 3-3 Standard Command Details 3-3-1 Font style and character set ESC GS t n [Name] Select code page [Code] ASCII ESC GS t n Hexadecimal 1B 1D 74 n Decimal 27 29 1 16 n [Dened Area] ndiffersdependingonthespecications.(Seethetablebelow .) [Initial V alue] Memory[...]

  • Page 12

    3-4 ST ARCommandSpecications Rev . 0.70 ESC R n [Name] Specify international character set [Code] ASCII ESC R n Hexadecimal 1B 52 n Decimal 27 82 n [Dened Area] 0 ≤ n ≤ 14 n = 64 [Initial V alue] Memory switch setting [Function] Speciesinternationalcharactersaccordingtothevalueofn. n Interna[...]

  • Page 13

    3-5 ST ARCommandSpecications Rev . 0.70 ESC 6 [Name] Switch to IBM character set #2 [Code] ASCII ESC 6 Hexadecimal 1B 36 Decimal 27 54 [Dened Area] --- [Initial V alue] --- [Function] Switches from IBM character set #1 to #2.  Thesubsequent<80>Hto<9F>Hcodesarehandledascharacterdat[...]

  • Page 14

    3-6 ST ARCommandSpecications Rev . 0.70 ESC M [Name] Specify 7 x 9 font (half dots) (default) [Code] ASCII ESC M Hexadecimal 1B 4D Decimal 27 77 [Dened Area] --- [Initial V alue] --- [Function] Species7x9(half)dotfont.  Setsthenumberofprintabledigitsinonelineto[totalha[...]

  • Page 15

    3-7 ST ARCommandSpecications Rev . 0.70 ESC : [Name] Specify 5 x 9 font (3P-1) [Code] ASCII ESC : Hexadecimal 1B 3A Decimal 27 58 [Dened Area] --- [Initial V alue] --- [Function] Species5x9(3pulse=1)dotfonts.  Setsthenumberofprintabledigitsinonelineto[totalhalf?[...]

  • Page 16

    3-8 ST ARCommandSpecications Rev . 0.70 3-3-2 Character Expansion Settings SO [Name] Specifydouble-wideexpandedcharacters [Code] ASCII SO Hexadecimal 0E Decimal 14 [Dened Area] --- [InitialV alue] Canceldouble-wideexpandedcharacters [Function] Prints ANK characters and Kanji characters with characters expan[...]

  • Page 17

    3-9 ST ARCommandSpecications Rev . 0.70 ESC W n [Name] Specify/cancelexpandeddouble-wideprinting [Code] ASCII ESC W n Hexadecimal 1B 57 n Decimal 27 87 n [Dened Area] n=0,1,48,49 [InitialV alue] n=0(Horizontaldouble-wideprintingcancelled) [Function] Species/cancelshorizon[...]

  • Page 18

    3-10 ST ARCommandSpecications Rev . 0.70 3-3-3 Print mode ESC E [Name] Select emphasized printing [Code] ASCII ESC E Hexadecimal 1B 45 Decimal 27 69 [Dened Area] --- [Initial V alue] Emphasized printing cancelled. [Function] Speciesemphasizedprintingforsubsequentdata. When in emphasized printing, data is print[...]

  • Page 19

    3-1 1 ST ARCommandSpecications Rev . 0.70 ESC – n [Name] Specify/cancel underling mode [Code] ASCII ESC - n Hexadecimal 1B 2D n Decimal 27 45 n [Dened Area] n=0,1,48,49 [Initial V alue] n = 0 (Underline cancelled) [Function] Speciesunderlineaccordingtothevalueofn. n Function 0, 48 [...]

  • Page 20

    3-12 ST ARCommandSpecications Rev . 0.70 ESC 4 [Name] Specifywhite/blackinversionandredcolorprinting [Code] ASCII ESC 4 Hexadecimal 1B 34 Decimal 27 52 [Dened Area] --- [InitialV alue] White/blackinversioncancelled/blackcolorprintingspecied [Function] The following shows the details of thi[...]

  • Page 21

    3-13 ST ARCommandSpecications Rev . 0.70 ESC GS 4 m n [Name] Selectred/blacksubstitutefunction[ESC4/5setting] [Code] ASCII ESC GS 4 m n Hexadecimal 1B 1D 34 m n Decimal 27 29 52 m n [Dened Area] m=1,2,49,50 When m = 1, 49 n = 0 to 3, 255 When m = 2, 50 n = 0, 2 to 5 When m = 83 n = 0, 1 [Initial[...]

  • Page 22

    3-14 ST ARCommandSpecications Rev . 0.70 Whenm=83(“S”)Red/blackadornmentof ANKspacecharacters(20H). m n Red adornment of ANK space characters (20H). 83 0 Adorn 83 1 Do not adorn This parameter species whether to adorn red/black for ANK space characters in red[...]

  • Page 23

    3-15 ST ARCommandSpecications Rev . 0.70 SI [Name] Select upside-down printing [Code] ASCII SI Hexadecimal 0F Decimal 15 [Dened Area] --- [Initial V alue] Upside-down printing cancelled [Function] Speciesupside-downprinting  Thiscommandisenabledonlywhenatthetopoftheline.Therefore,[...]

  • Page 24

    3-16 ST ARCommandSpecications Rev . 0.70 ESC RS i n [Name] Specify/cancel character rotated mode [Code] ASCII ESC RS i n Hexadecimal 1B 1E 69 n Decimal 27 30 105 n [Dened Area] 0 ≤ n ≤ 2 48 ≤ n ≤50(“0”≤ n ≤“2”) [Initial V alue] Character rotation cancelled (n = 0) [Function] Speciesdirec[...]

  • Page 25

    3-17 ST ARCommandSpecications Rev . 0.70 3-3-4 Line Spacing LF [Name] Line feed [Code] ASCII LF Hexadecimal 0A Decimal 10 [Dened Area] --- [Initial V alue] Set line feed to 1/6 inch [Function] Afterprintingdatainthelinebuffer ,paperisfedaccordingtothecurrentlysetlinefeedamount.[...]

  • Page 26

    3-18 ST ARCommandSpecications Rev . 0.70 ESC a n [Name] Feed paper n lines [Code] ASCII ESC a n Hexadecimal 1B 61 n Decimal 27 97 n [Dened Area] 1 ≤ n ≤ 127 [Initial V alue] --- [Function] Afterprintingdatainthelinebuffer ,paperisfedaccordingto(currentlysetlinefeedamount[...]

  • Page 27

    3-19 ST ARCommandSpecications Rev . 0.70 ESC z 0 [Name] Set line feed to 1/12 inch [Code] ASCII ESC z 0 Or ESC z “0” Hexadecimal 1B 7A 00 1B 7A 30 Decimal 27 122 0 27 122 48 [Dened Area] --- [Initial V alue] 1/6 inch [Function] Setssubsequentlinefeedamountsto1/12inch. ESC z 1 [Name] Set line feed to 1/6[...]

  • Page 28

    3-20 ST ARCommandSpecications Rev . 0.70 ESC A n [Name] Denen/72inchpitchlinefeed [Code] ASCII ESC A n Hexadecimal 1B 41 n Decimal 27 65 n [Dened Area] 0 ≤ n ≤ 85 [Initial V alue] n = 12 (1/6 inch line feed) [Function] Deneslinefeedamountforonelineasn/72inch.  T oenab[...]

  • Page 29

    3-21 ST ARCommandSpecications Rev . 0.70 ESC 3 n [Name] Set line feed to n/216 inch line feed pitch (approximate value) [Code] ASCII ESC 3 n Hexadecimal 1B 33 n Decimal 27 51 n [Dened Area] 0 ≤ n ≤ 255 [Initial V alue] n = 36 (1/6 inch) [Function] Setssubsequentlinefeedamountstoavalueapproximate?[...]

  • Page 30

    3-22 ST ARCommandSpecications Rev . 0.70 ESC J n [Name] Execute n/72 inch paper feed one time [Code] ASCII ESC J n Hexadecimal 1B 4A n Decimal 27 74 n [Dened Area] 1 ≤ n ≤ 255 [Initial V alue] --- [Function] Afterprintingdatainthelinebuffer ,paperisfedn/72ofaninchintheforwa[...]

  • Page 31

    3-23 ST ARCommandSpecications Rev . 0.70 3-3-5 Page Control Commands FF [Name] Form feed [Code] ASCII FF Hexadecimal 0C Decimal 12 [Dened Area] --- [Initial V alue] --- [Function] Thiscommandperformsthefollowingoperationsaftertheprinterprintstheprintingdatainthelinebuffer .  Op[...]

  • Page 32

    3-24 ST ARCommandSpecications Rev . 0.70 ESC C n [Name] Set page length to n lines [Code] ASCII ESC C n Hexadecimal 1B 43 n Decimal 27 67 n [Dened Area] 1 ≤ n ≤ 255 [Initial V alue] 1/6 inch x 42 [Function] This command sets the length of one page to [currently set line feed amount x n] lines The current position is the top[...]

  • Page 33

    3-25 ST ARCommandSpecications Rev . 0.70 VT [Name] Feedpapertoverticaltabposition [Code] ASCII VT Hexadecimal 0B Decimal 1 1 [Dened Area] --- [Initial V alue] --- [Function] Thiscommandperformspaperfeedsuptothenextverticaltabpositionaftertheprinterprintsthedata?[...]

  • Page 34

    3-26 ST ARCommandSpecications Rev . 0.70 ESC N n [Name] Setbottommargintonlines [Code] ASCII ESC N n Hexadecimal 1B 4E n Decimal 27 78 n [Dened Area] 0 ≤ n ≤ 255 (Not full page length) [Initial V alue] n = 0 [Function] Thiscommandsetsthebottommarginpositionto(currentlinefeed?[...]

  • Page 35

    3-27 ST ARCommandSpecications Rev . 0.70 3-3-6 Horizontal Direction Printing Position ESC RS A n [Name] Set print region [Code] ASCII ESC RS A n Hexadecimal 1B 1E 41 n Decimal 27 30 65 n [Dened Area] Specication1 0≤ n ≤ 3  Specication2 0≤ n ≤ 5 [Initial V alue] MSW Setting [Function] Aft[...]

  • Page 36

    3-28 ST ARCommandSpecications Rev . 0.70 ESC l n [Name] Set left margin [Code] ASCII ESC l n Hexadecimal 1B 6C n Decimal 27 108 n [Dened Area] 0 ≤ n ≤ (right margin -2) ≤ 255 [Initial Setting] n = 0 [Function] This command sets the left margin (current ANK character pitch x n) using the left edge as a reference after prin[...]

  • Page 37

    3-29 ST ARCommandSpecications Rev . 0.70 ESC Q n [Name] Set right margin [Code] ASCII ESC Q n Hexadecimal 1B 51 n Decimal 27 81 n [Dened Area] 2 ≤ n ≤maximumprintabledigits≤ 255 [InitialV alue] Maximumprintabledigits [Function] Thiscommandsetstheprintableregion(current ANK?[...]

  • Page 38

    3-30 ST ARCommandSpecications Rev . 0.70 HT [Name] Movehorizontaltab [Code] ASCII HT Hexadecimal 09 Decimal 9 [Dened Area] --- [Initial V alue] --- [Function] Moveprintpositiontonexthorizontaltabposition.  Thecurrentpositionmovestothenexttabpositionwhenatthehoriz[...]

  • Page 39

    3-31 ST ARCommandSpecications Rev . 0.70 ESC GS a n [Name] Specify position alignment [Code] ASCII ESC GS a n Hexadecimal 1B 1D 61 n Decimal 27 29 97 n [Dened Area] 0 ≤ n ≤ 2 48 ≤ n ≤50(“0”≤ n ≤“2”) [Initial V alue] n = 0 [Function] Thisspeciespositionalignmentforalldata?[...]

  • Page 40

    3-32 ST ARCommandSpecications Rev . 0.70 ESC GS A n1 n2 [Name] Specifyabsoluteposition [Code] ASCII ESC GS A n1 n2 Hexadecimal 1B 1D 41 n1 n2 Decimal 27 29 65 n1 n2 [Dened Area] 0 ≤ n1 ≤ 255 0 ≤ n2 ≤ 255 [Initial V alue] --- [Function] Movestheprintingpositiontothe(n1+n2x256)pos[...]

  • Page 41

    3-33 ST ARCommandSpecications Rev . 0.70 3-3-7 Download ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1 [Name] Registerdownloadcharacters(vertical1bytefont) [Code] ASCII ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1 Hexadecimal 1B 26 00 n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1 Decimal 27 38 [...]

  • Page 42

    3-34 ST ARCommandSpecications Rev . 0.70 [Ex.]  Whenselecting7x9fonts,anddeningthecharacterto21H: ESC & NUL n1 n2 m d1 d2 d3 d4 d5 d6 d7 Code (Hexadecimal) 1B 26 00 21 21 80 3E 40 88 00 88 40 3E   (1whenprintingcorrespondingbits,and0fornoprint) d1 d2 d3 d4 d5[...]

  • Page 43

    3-35 ST ARCommandSpecications Rev . 0.70 [Ex.]  Whenselecting5x9fonts,anddeningthecharacterto21H: ESC & NUL n1 n2 m d1 d2 d3 d4 d5 Code (Hexadecimal) 1B 26 00 21 21 00 38 45 45 45 7E   (1whenprintingcorrespondingbits,and0fornoprint) 㩷 MSB LSB d1 d2 d3 d4 d5[...]

  • Page 44

    3-36 ST ARCommandSpecications Rev . 0.70 ESC & m n1 n2 [d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 .... ak dk] n2 - n1 + 1 [Name] Denedownloadcharacters(vertical2bytefont) [Code] ASCII ESC & m n1 n2 [d1 d2 d3 d4.........dk-1 dk..] n2 - n1 + 1 Hexadecimal 1B 26 m n1 n2 [d1 d2 d3 d4 .........dk-1 dk] n2 - n1 + 1 Decimal 2[...]

  • Page 45

    3-37 ST ARCommandSpecications Rev . 0.70 Relationship of character pattern data and print head. [Ex.]  Whenselecting7x9fonts,anddeningthecharacterto21H: ESC & m c1 c2 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d1 1 d12 d13 d14 Code (Hexadecimal) 1B 26 02 21 21 1F 00 20 00 44 00 00 00 44 00 20 00 1F 00 ?[...]

  • Page 46

    3-38 ST ARCommandSpecications Rev . 0.70 [Ex.:]  Whenselecting9x9fonts,anddeningthecharacterto21H: ESC & m c1 c2 x d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d1 1 d12 d13 d14 d15 d16 d17 d18 Code (Hex.) 1B 26 02 21 21 1C 00 00 80 22 00 00 80 22 00 00 80 22 00 00 80 3F 00  (1whenprintingcorre[...]

  • Page 47

    3-39 ST ARCommandSpecications Rev . 0.70 ESC % N [Name] Specify/cancel download characters [Code] ASCII ESC % n Hexadecimal 1B 25 n Decimal 27 37 n [Dened Area] n=0,1,48,49 [Initial V alue] Cancel download character [Function] Species/cancelsdownloadcharacteraccordingtonvalue. n 0, 48 Canc[...]

  • Page 48

    3-40 ST ARCommandSpecications Rev . 0.70 3-3-8 Bit Image Graphics ESC K n NUL d1 d2 … dn [Name] Standarddensitybitimage [Code] ASCII ESC K n NUL d1 d2 .. dn Hexadecimal 1B 4B n 00 d1 d2 .. dn Decimal 27 75 n 0 d1 d2 .. dn [Dened Area] 1 ≤n≤totaldotcount 0 ≤ d ≤ 255 [Initial V alue] --- [Functio[...]

  • Page 49

    3-41 ST ARCommandSpecications Rev . 0.70 ESC L n1 n2 d1 d2 … dk [Name] Doubledensitybitimage [Code] ASCII ESC L n1 n2 d1 d2 .. dk Hexadecimal 1B 4C n1 n2 d1 d2 .. dk Decimal 27 76 n1 n2 d1 d2 .. dk [Dened Area] 1 ≤ (n1 + n2 x 256) ≤ total half dot count k = n1 + n2 x 256 0 ≤ d ≤ 255 [Initial V alue] --- [Func[...]

  • Page 50

    3-42 ST ARCommandSpecications Rev . 0.70 ESC  m n1 n2 d1 d2 … dk  m n1 n2 d1 d2 … dk m n1 n2 d1 d2 … dk [Name] 9/16/18bitimagegraphics [Code] ASCII ESC ^ m n1 n2 d1 d2 .. dk Hexadecimal 1B 5E m n1 n2 d1 d2 .. dk Decimal 27 94 m n1 n2 d1 d2 .. dk [Dened Area] Spec.1 0 ≤ m ≤1(“0”≤ m ≤?[...]

  • Page 51

    3-43 ST ARCommandSpecications Rev . 0.70 The following drawing shows the relationship of the print head needle wires and the data. 1.Whenm=0,1(9-dotbitimage) dn: 1 to 8 pin data dn + 1: 9 pin data 2.Whenm=2,3(16-dotbitimage) dn: 1 to 8 pin data dn + 1: 9 to 16 pin data 1 9 2 3 4 5 6 7 8[...]

  • Page 52

    3-44 ST ARCommandSpecications Rev . 0.70 3.Whenm=4,5(18-dotbitimage) dn: 1 to 8 pin data dn + 1: 9 to 16 pin data dn +2: 17 to 18 pin data 1 9 2 3 4 5 6 7 11 13 15 8 10 12 14 16 Pin Number b7 b6 b5 b4 b3 b2 b1 b0 MSB LSB b7 b6 b5 b4 b3 b2 b1 b0 MSB LSB 17 18 b7 b6 b5 b4 b3 b2 b1 b0 MSB LSB[...]

  • Page 53

    3-45 ST ARCommandSpecications Rev . 0.70 3-3-9 Logo ESC FS q n [x1 1 x12 y1 1 y12 d1…dk]1…[xn1 xn2 yn1 yn2 d1…dk] n [Name] Register logo [Code] ASCII ESC FS q n [x1 1 x12 y1 1 y12 d1 .. dk]1 .. [xn1 xn2 yn1 yn2 d1 .. dk]n Hexadecimal 1B 1C 71 n [x1 1 x12 y1 1 y12 d1 .. dk]1 .. [xn1 xn2 yn1 yn2 d1 .. dk]n Decimal 27 28 1 13 n [x11 x12[...]

  • Page 54

    3-46 ST ARCommandSpecications Rev . 0.70 Relationships of logo and registered data xn = xn1 + xn2 x 256, yn = yn1 + yn2 x 256 Dataspecicationorder(exampleoftheabove) d[1 1] d[12] • • • • d[x1] d[21] d[22] • • • • d[x2] • • • • • • • • • • • d[n1] d[n2] • • • • d[xn] Data[...]

  • Page 55

    3-47 ST ARCommandSpecications Rev . 0.70 ESC FS p n m [Name] Print logo [Code] ASCII ESC FS p n m Hexadecimal 1B 1C 70 n m Decimal 27 28 1 12 n m [Dened Area] 1 ≤ n ≤ 255 (When printing normally) 0 ≤ m ≤ 3 48 ≤ m ≤51(“0”≤ m ≤“3”) [Initial V alue] --- [Function] Printsthelogooft[...]

  • Page 56

    3-48 ST ARCommandSpecications Rev . 0.70 3-3-1 1 Cutter Control ESC d n [Name] Paper cut instruction [Code] ASCII ESC d n Hexadecimal 1B 64 n Decimal 27 100 n [Dened Area] 0 ≤ n ≤ 3 48 ≤ n ≤51(“0”≤ n ≤“3”) [Initial V alue] --- [Function] Thiscommandexecutestheauto-cutaccording?[...]

  • Page 57

    3-49 ST ARCommandSpecications Rev . 0.70 3-3-12 External Device Drive ESC BEL n1 n2 [Name] Set external drive device 1 pulse width [Code] ASCII ESC BEL n1 n2 Hexadecimal 1B 07 n1 n2 Decimal 27 7 n1 n2 [Dened Area] 1 ≤ n1 ≤ 127 1 ≤ n2 ≤ 127 [Initial V alue] n1 = 20 (Energizing time: 200 msec) n2 = 20 (Delay time: 200 mse[...]

  • Page 58

    3-50 ST ARCommandSpecications Rev . 0.70 BEL [Name] External device 1 drive instruction [Code] ASCII BEL Hexadecimal 07 Decimal 7 [Dened Area] --- [Initial V alue] --- [Function] Executes the external device drive conditions set according to the ESC BEL (external device drive pulse width setting command).  Aswithotherc[...]

  • Page 59

    3-51 ST ARCommandSpecications Rev . 0.70 SUB [Name] External device 2 drive instruction (real time) [Code] ASCII SUB Hexadecimal 1A Decimal 26 [Dened Area] --- [Initial V alue] --- [Function] Drivesexternaldevice2.Theenergizingtimeanddelaytimearexedat200mseach. The printer executes t[...]

  • Page 60

    3-52 ST ARCommandSpecications Rev . 0.70 ESC GS EM DC1 m n1 n2 [Name] Setexternalbuzzerdrivepulsecondition [Code] ASCII ESC GS EM DC1 m n1 n2 Hexadecimal 1B 1D 19 1 1 m n1 n2 Decimal 27 29 25 17 m n1 n2 [Dened Area] 1 ≤ m ≤ 2 49 ≤ m ≤ 50 0 ≤ n1 ≤ 255 0 ≤ n2 ≤ 255 [Initial V alue] n1 = 0, n2 = 0 [F[...]

  • Page 61

    3-53 ST ARCommandSpecications Rev . 0.70 ESC GS EM DC2 m n1 n2 [Name] Executeexternalbuzzerdrive [Code] ASCII ESC GS EM DC2 m n1 n2 Hexadecimal 1B 1D 19 12 m n1 n2 Decimal 27 29 25 18 m n1 n2 [Dened Area] 1 ≤ m ≤ 2 49 ≤ m ≤ 50 1 ≤ n1 ≤ 20 n2 = 0 [Initial V alue] --- [Function] Repeatedlydrivesthe?[...]

  • Page 62

    3-54 ST ARCommandSpecications Rev . 0.70 3-3-13 Status ENQ [Name] Inquire ENQ status [Code] ASCII ENQ Hexadecimal 05 Decimal 5 [Dened Area] --- [Initial V alue] --- [Function] Thiscommandiseffectiveonlywhenusinganinterfacecapableofbi-directionaldatacommunications.  Whenthiscommand[...]

  • Page 63

    3-55 ST ARCommandSpecications Rev . 0.70 ESC ACK SOH [Name] Inquire status [Code] ASCII ESC ACK SOH Hexadecimal 1B 06 01 Decimal 27 6 1 [Dened Area] --- [Initial V alue] --- [Function] Thiscommandiseffectiveonlywhenusinganinterfacecapableofbi-directionaldatacommunications. When this comman[...]

  • Page 64

    3-56 ST ARCommandSpecications Rev . 0.70 ETB [Name] Update ETB status (check after printing) [Code] ASCII ETB Hexadecimal 17 Decimal 23 [Dened Area] --- [Initial V alue] Spec. 1 --- Spec. 2 ETB countr = 0 [Function] Thiscommandiseffectiveonlywhenusinganinterfacecapableofbi-directionaldatac[...]

  • Page 65

    3-57 ST ARCommandSpecications Rev . 0.70 ESC RS E n [Name] Initialize ASB ETB counter , and ETB status. [Code] ASCII ESC RS E n Hexadecimal 1B 1E 45 n Decimal 27 30 69 n [Dened Area] n=0  n=48(“0”) [Initial V alue] --- [Function] Clears the ASB ETB counter to zero and clears the ETB status of the auto-stat[...]

  • Page 66

    3-58 ST ARCommandSpecications Rev . 0.70 3-3-14 Kanji Characters (only on models that carry Kanji characters) ESC p [Name] SpecifyJISJapanesecharactermode(Japanesespecicationsonly) [Code] ASCII ESC p Hexadecimal 1B 70 Decimal 27 1 12 [Dened Area] --- [Initial V alue] Select JIS Japanese character mode [F[...]

  • Page 67

    3-59 ST ARCommandSpecications Rev . 0.70 ESC $ n [Name] Specify/cancelJISJapanesecharactermode(Japanesespecicationsonly) [Code] ASCII ESC $ n Hexadecimal 1B 24 n Decimal 27 36 n [Dened Area] n=0,1,48,49 [Initial V alue] Memory switch setting [Function] Speciesandcancelsth[...]

  • Page 68

    3-60 ST ARCommandSpecications Rev . 0.70 ESC s n1 n2 [Name] SettwobyteKanjicharactersleft/rightspaces [Code] ASCII ESC s n1 n2 Hexadecimal 1B 73 n1 n2 Decimal 27 1 15 n1 n2 [Dened Area] 0 ≤ n1 ≤ 255 0 ≤ n2 ≤ 255 (However , n1 + n2 + character width ≤printableregion) [Initial V alue]  •J[...]

  • Page 69

    3-61 ST ARCommandSpecications Rev . 0.70 ESC r c1 c2 d1...dk [Name] Register Chinese download characters [Code] ASCII ESC r c1 c2 d1 .. dk Hexadecimal 1B 72 c1 c2 d1 .. dk Decimal 27 1 14 c1 c2 d1 .. dk [Dened Area] 0 ≤ d ≤ 255 k = 32  c1andc2differaccordingtospecicationsandcodetype(see?[...]

  • Page 70

    3-62 ST ARCommandSpecications Rev . 0.70 Theyaredesignedasshownbelowanddataissentsequentially . The font of Chinese download characters is composed of 16 x 16 dot patterns.  Bitsthatcorrespondtothedotstoprintare“1,”andthebitsthatcorrespondtothedotsth[...]

  • Page 71

    3-63 ST ARCommandSpecications Rev . 0.70 ESC u 1 [Name] Specify 16 x 16 dot [single density] Kanji characters. [Code] ASCII ESC u 1 Or ESC u “1” Hexadecimal 1B 75 01 1B 75 31 Decimal 27 1 17 1 27 1 17 149 [Dened Area] --- [InitialV alue] Specifytwo-byte16x16dot(singledensity)Kanjicharacters. [F[...]

  • Page 72

    3-64 ST ARCommandSpecications Rev . 0.70 ESC x 1 [Name] SpecifytwobyteKanjicharacters(cancelexpandedKanjicharacters) [Code] ASCII ESC x 1 Or ESC x “1” Hexadecimal 1B 78 01 1B 78 31 Decimal 27 120 1 27 120 49 [Dened Area] --- [InitialV alue] Specifytwo-byte16x16dot(singledensit[...]

  • Page 73

    3-65 ST ARCommandSpecications Rev . 0.70 ESC w 1 [Name] Specifytwo-byte16x16dotKanjicharacters[SingleDensity] (Default) [Code] ASCII ESC w 1 Or ESC w “1” Hexadecimal 1B 77 01 1B 77 31 Decimal 27 1 19 1 27 1 19 49 [Dened Area] --- [InitialV alue] Specifytwo-byte16x16dot(single?[...]

  • Page 74

    3-66 ST ARCommandSpecications Rev . 0.70 <RelationshipofChineseCharacterSizeSelection> * See 5. Appendix 5-2 Expansion Position for details on the differences of dot congurations of [single density] and [doubledensity]in two-byte16x 16dot?[...]

  • Page 75

    3-67 ST ARCommandSpecications Rev . 0.70 3-3-15 Others RS [Name] Ringbuzzer [Code] ASCII RS Hexadecimal 1E Decimal 30 [Dened Area] --- [Initial V alue] --- [Function] Issuesashortbuzzersoundfromtheprinter . CAN [Name] Cancel print data and initialize commands [Code] ASCII CAN Hexadecimal 18 Decimal 24 [D[...]

  • Page 76

    3-68 ST ARCommandSpecications Rev . 0.70 DC3 [Name] Printer deselect [Code] ASCII DC3 Hexadecimal 13 Decimal 19 [Dened Area] --- [Initial V alue] Select printer [Function] Deselects printer . All received data is discarded until the next DC1 (printer select) is received. DC1 [Name] Select printer [Code] ASCII DC1 Hexadecimal 1 1 D[...]

  • Page 77

    3-69 ST ARCommandSpecications Rev . 0.70 ESC @ [Name] Command initialization [Code] ASCII ESC @ Hexadecimal 1B 40 Decimal 27 64 [Dened Area] --- [Initial V alue] --- [Function] Initializeseachcommandafterprintingdatainthelinebuffer . DIPSW and memory switch re-read is not performed.  Thefollowin[...]

  • Page 78

    3-70 ST ARCommandSpecications Rev . 0.70 ESC GS # m N n1 n2 n3 n4 LF NUL [Name] Set memory switch [Code] ASCII ESC GS # m N n1 n2 n3 n4 LF NUL Hexadecimal 1B 1D 23 m N n1 n2 n3 n4 0A 00 Decimal 27 29 35 m N n1 n2 n3 n4 10 0 [Dened Area] m=87,84,44,43,45(m=“W”,“T”,“,”,“+”,?[...]

  • Page 79

    3-71 ST ARCommandSpecications Rev . 0.70 ESC # N m n1 n2 n3 n4 LF NUL [Name] Set memory switch [Code] ASCII ESC # N m n1 n2 n3 n4 LF NUL Hexadecimal 1B 23 N m n1 n2 n3 n4 0A 00 Decimal 27 35 N m n1 n2 n3 n4 10 0 [Dened Area] m=44,43,45(m=“,”,“+”,“-“) 48 ≤ N ≤57(”0”≤ N ?[...]

  • Page 80

    3-72 ST ARCommandSpecications Rev . 0.70 ESC ? LF NUL [Name] Reset printer and execute self print [Code] ASCII ESC ? LF NUL Hexadecimal 1B 3F 0A 00 Decimal 27 63 10 0 [Dened Area] --- [Initial V alue] --- [Function] Hardware resets the printer and executes on self print. After sending this command, the next data is not sent until [...]

  • Page 81

    3-73 ST ARCommandSpecications Rev . 0.70 3-4 Black Mark Related Commands TheStarblackmarkrelatedcommandsaretocontrolthetopofform(blackmark)functions. Thiscommandsareeffectiveonlywhenblackmarkfunctionisvalid. <Blackmarkspecications> 1. T op of form (bl[...]

  • Page 82

    3-74 ST ARCommandSpecications Rev . 0.70 ESC d n [Name] Paper cut instruction [Code] ASCII ESC d n Hexadecimal 1B 64 n Decimal 27 100 n [Dened Area] 0 ≤ n ≤ 3 48 ≤ n ≤51(“0”≤ n ≤“3”) [Initial V alue] --- [Function] Thiscommandexecutestheauto-cutaccordingtothenspeci?[...]

  • Page 83

    3-75 ST ARCommandSpecications Rev . 0.70 FF [Name] Performs T OF operation [Code] ASCII FF Hexadecimal 0C Decimal 12 [Dened Area] --- [Initial V alue] --- [Function] Thiscommandperformsthefollowingoperationsaftertheprinterprintstheprintingdatainthelinebuffer .  Operationsare[...]

  • Page 84

    3-76 ST ARCommandSpecications Rev . 0.70 ESC FF n1 n2 [Name] Settopofformamountafterdetectingblackmark [Code] ASCII ESC FF n1 n2 Hexadecimal 1B 0C n1 n2 Decimal 27 12 n1 n2 [Dened Area] 0 ≤ n1 x 256 + n2 ≤2047(however ,lessthatthelengthbetweenmarks) [Initial V alue] Memory swi[...]

  • Page 85

    3-77 ST ARCommandSpecications Rev . 0.70 ESC GS ( F p1 p2 a m n1 n2 [Name] Settopofformamountinblackmarkcontrol [Code] ASCII ESC GS ( F p1 p2 a m n1 n2 Hexadecimal 1B 1D 28 46 p1 p2 a m n1 n2 Decimal 27 29 40 70 p1 p2 a m n1 n2 [Dened Area] p1=4,p2=0 a = 1, 2 m = 0, 48 0 ≤ n1 + n2 x 256 ≤[...]

  • Page 86

    3-78 ST ARCommandSpecications Rev . 0.70 ESC RS m n [Name] Enable,disableblackmarkdetection [Code] ASCII ESC RS m n Hexadecimal 1B 1E 6D n Decimal 27 30 109 n [Dened Area] n=0,1,2,48,49,50 [Initial V alue] Memory SW [Function] Switchesttoenable/disableblackmark(BM)detection?[...]

  • Page 87

    3-79 ST ARCommandSpecications Rev . 0.70 3-5 USB Related Commands The following commands control USB interface functions.[...]

  • Page 88

    3-80 ST ARCommandSpecications Rev . 0.70 3-6 2-Color Printing Command Details ESC RS C n [Name] Select/cancel 2-color printing mode [Code] ASCII ESC RS C n Hexadecimal 1B 1E 43 n Decimal 27 30 67 n [Dened Area] 0 ≤ n ≤ 1 48 ≤ n ≤49(“0”≤ n ≤“1”) [Initial V alue] DIP switch [Function] n Select/canc[...]

  • Page 89

    3-81 ST ARCommandSpecications Rev . 0.70 ESC 4 [Name] Specifywhite/blackinversionandredcolorprinting [Code] ASCII ESC 4 Hexadecimal 1B 34 Decimal 27 52 [Dened Area] --- [InitialV alue] White/blackinversioncancelled/blackcolorprintingspecied [Function] The following shows the details of thi[...]

  • Page 90

    4-1 ST ARCommandSpecications Rev . 0.70 4. CHARACTER CODE T ABLE Seethecharactercodespecications[...]

  • Page 91

    5-1 ST ARCommandSpecications Rev . 0.70 5. APPENDIX 5-1 Status Specications Thisfunctioniseffectiveonlywhenusinganinterfacecapableofbi-directionaldatacommunications. Refer to your printer ’s product specication manual to verify if the interface cable on?[...]

  • Page 92

    5-2 ST ARCommandSpecications Rev . 0.70 5-1-3 Automatic Status Autostatusis agroupof statesthatareautomatically returnedfromtheprinter tothehost whentheprinter ’ sstatushas changed.Automaticstatus iscomposed of“Header 1,”“Header 2”and [...]

  • Page 93

    5-3 ST ARCommandSpecications Rev . 0.70 2. Header 2 Header 2 is the 1 byte length information transmitted from the second byte of the auto status.The table below shows the composition of the Header 2. Header2representstheautostatusversion(calledautomatic[...]

  • Page 94

    5-4 ST ARCommandSpecications Rev . 0.70 3. Printer Status Printer status is the status of the printer sent from the 3 rd byteoftheautomaticstatus. Fortheprinterstatus,(thenumberofbytesaddedinHeader1minustwo)isreturned. Printer status is always updated or new information. (No log e[...]

  • Page 95

    5-5 ST ARCommandSpecications Rev . 0.70 <Printerstatus4SensorInformation(SixthByte)> Bit Contents Status By model “0” “1” BD100 SP2000 BD500 SP500 SP700 7 Fixedat“0” - - - - - - 6 NotUsed(Fixedat“0”) - - - - - - 5 Black Mark Detection Status White detection Black detection [...]

  • Page 96

    5-6 ST ARCommandSpecications Rev . 0.70 4. Cautions Do not use ENQ, EOT , ESC, ACK and SOH when auto status is valid.Invalidate the automatic status in advance using the DIPSW (memory switch) or the ESC RS a n command to query these. 5. How to Identify Statuses Command/Functions Status bit7 bit6 bit5 bit4 bit3 bit2 bit[...]

  • Page 97

    5-7 ST ARCommandSpecications Rev . 0.70 5-1-4 Printer Status T ransmission Specication when using Ethernet and Wireless LAN Interfaces ThefollowingexplainstheprinterstatustransmissionspecicationwhenusingEthernetandwirelessLANinterfaces. 1) T ransmission Format: • When transmitting only S[...]

  • Page 98

    5-8 ST ARCommandSpecications Rev . 0.70 B. Classicationcharacter1(1Byte)  Sends“:”(3AH). C. DataT ype(1byte)  Indicatesthedatatypeoftheprinterstatus,andsends“B”(binarytype,42H). D. Statuslength(2bytes)  2bytevalueind[...]

  • Page 99

    5-9 ST ARCommandSpecications Rev . 0.70 5-2 Expansion Position 5-2-1 7 x 9 Fonts 5-2-2 5 x 9 (2P-1) Fonts 㩷 㩷 㩷 Head Pin No. Head Pin No. Normal Dot Normal 7 x 9 Double high 7 x 9 Bit Image Half Dot #1 #2 #3 #4 #5 #6 #7 #8 #9 #1 #2 #3 #4 #5 #6 #7 #8 #9 #1 #2 #3 #4 #5 #6 #7 #8 #9 Head Pin No. 㩷 Head Pin No. Normal Dot 㩷 Normal 5 x[...]

  • Page 100

    5-10 ST ARCommandSpecications Rev . 0.70 5-2-2 Japanese Character Fonts #2 #3 #4 #5 #6 #7 #8 #9 #1 Normal Dot Half Dot Head Pin No. #2 #3 #4 #5 #6 #7 #8 #9 #1 #2 #3 #4 #5 #6 #7 #8 #9 #1 Head Pin No. ANK 7 x 9 First Pass First Pass Second Pass Third Pass Fourth Pass 1/144 Inch 1/72 Inch Two-byte Kanji 16 x 16 (Double-density) 㩷 㩷 Normal[...]

  • Page 101

    6-1 ST ARCommandSpecications Rev . 0.70 6. SPECIAL APPENDIX COMMAND LIST BY MODEL • Standard Commands Class Commands Model Name BD100 SP2000 BD500 SP500 SP700 Font Style and Character Set ESC GS t ○Spec.1 ○Spec.1 ○Spec.1 ○Spec.1 ○Spec.2 ESC R ○ ○ ○ ○ ○ ESC / ○ ○ ○ ○ ○ ESC 6 ○ [...]

  • Page 102

    6-2 ST ARCommandSpecications Rev . 0.70 Class Commands Model Name BD100 SP2000 BD500 SP500 SP700 Horizontal ESC RS A - - - ○Spec.1 ○Spec.2 Direction ESC I ○ ○ ○ ○ ○ Position ESC Q ○ ○ ○ ○ ○ HT ○ ○ ○ ○ ○ ESC D ○ ○ ○ ○ ○ ESC GS a ○ ○ ○ ○ ○ ESC GS A - - - ○ ○ ESC GS R - - -[...]

  • Page 103

    6-3 ST ARCommandSpecications Rev . 0.70 Class Commands Model Name BD100 SP2000 BD500 SP500 SP700 Others RS ○ ○ ○ ○ ○ CAN ○ ○ ○ ○ ○ DC3 ○ ○ ○ ○ ○ DC1 ○ ○ ○ ○ ○ ESC @ ○ ○ ○ ○ ○ ESC U ○ ○ ○ ○ ○ ESC GS # - - ○ ○ ○ ESC # ○ ○ Ignored Ignored Ignored ESC ? ○ ○ ○ ○ ○ ?[...]

  • Page 104

    200 8 . 0 1 . 1 0 Printed in Japan , 8087 4545 ELECTRONIC PRODUCTS DIVISION ST AR MICRONICS CO., L TD. 53 6 Nanatsushinya, Shimizu-ku, Shizuoka, 424-0066 Japan T el: (int+81)-54-347-01 12, Fax: (int+81)-54-347-0709 Please access the following URL ht t p: / /w w w. s ta r -m .j p /eng/dl/dl02.htm for the latest revision of the manual. OVERSEAS SUBSI[...]