
Dot Impact PrinterSTARCommand SpecicationsRev. 0.70Star Micronics Co., Ltd. Special Products Operating Division
3-2STARCommandSpecicationsRev. 0.703-2 Exception processing1)UndenedcodesCodesfrom<00>Hto<1F>Haretargeted.Whencodesnotde
5-10STARCommandSpecicationsRev. 0.705-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
6-1STARCommandSpecicationsRev. 0.706. SPECIAL APPENDIX COMMAND LIST BY MODEL• Standard CommandsClass CommandsModel NameBD100 SP2000 BD500 SP500
6-2STARCommandSpecicationsRev. 0.70Class CommandsModel NameBD100 SP2000 BD500 SP500 SP700Horizontal ESC RS A - - -○Spec.1 ○Spec.2Direction ESC
6-3STARCommandSpecicationsRev. 0.70Class CommandsModel NameBD100 SP2000 BD500 SP500 SP700Others RS ○ ○ ○ ○ ○CAN ○ ○ ○ ○ ○DC3 ○ ○ ○ ○ ○DC1 ○ ○ ○ ○ ○
2008.01.10 Printed in Japan, 80874545ELECTRONIC PRODUCTS DIVISIONSTAR MICRONICS CO., LTD.536 Nanatsushinya, Shimizu-ku, Shizuoka, 424-0066 JapanTe
3-3STARCommandSpecicationsRev. 0.703-3 Standard Command Details3-3-1 Font style and character setESC GS t n[Name] Select code page[Code] ASCII ES
3-4STARCommandSpecicationsRev. 0.70ESC R n[Name] Specify international character set[Code] ASCII ESC R nHexadecimal 1B 52 nDecimal 27 82 n[DenedA
3-5STARCommandSpecicationsRev. 0.70ESC 6[Name] Switch to IBM character set #2[Code] ASCII ESC 6Hexadecimal 1B 36Decimal 27 54[DenedArea] ---[Ini
3-6STARCommandSpecicationsRev. 0.70ESC M[Name] Specify 7 x 9 font (half dots) (default)[Code] ASCII ESC MHexadecimal 1B 4DDecimal 27 77[DenedArea
3-7STARCommandSpecicationsRev. 0.70ESC :[Name] Specify 5 x 9 font (3P-1)[Code] ASCII ESC :Hexadecimal 1B 3ADecimal 27 58[DenedArea] ---[Initial
3-8STARCommandSpecicationsRev. 0.703-3-2 Character Expansion SettingsSO[Name] Specifydouble-wideexpandedcharacters[Code] ASCII SOHexadecimal 0E
3-9STARCommandSpecicationsRev. 0.70ESC W n[Name] Specify/cancelexpandeddouble-wideprinting[Code] ASCII ESC W nHexadecimal 1B 57 nDecimal 27 87 n
3-10STARCommandSpecicationsRev. 0.703-3-3 Print modeESC E[Name] Select emphasized printing[Code] ASCII ESC EHexadecimal 1B 45Decimal 27 69[Dened
3-11STARCommandSpecicationsRev. 0.70ESC – n [Name] Specify/cancel underling mode[Code] ASCII ESC - nHexadecimal 1B 2D nDecimal 27 45 n[DenedArea]
Contents1. GENERAL DESCRIPTION 1-12. COMMAND FUNCTION LIST 2-13. COMMAND DETAILS 3-13-1 Explanation of Terms 3-13-2 Exception processing 3-2
3-12STARCommandSpecicationsRev. 0.70ESC 4[Name] Specifywhite/blackinversionandredcolorprinting[Code] ASCII ESC 4Hexadecimal 1B 34Decimal 27 5
3-13STARCommandSpecicationsRev. 0.70ESC GS 4 m n[Name] Selectred/blacksubstitutefunction[ESC4/5setting][Code] ASCII ESC GS 4 m nHexadecimal 1
3-14STARCommandSpecicationsRev. 0.70Whenm=83(“S”)Red/blackadornmentofANKspacecharacters(20H).m n Red adornment of ANK space characters
3-15STARCommandSpecicationsRev. 0.70SI[Name] Select upside-down printing[Code] ASCII SIHexadecimal 0FDecimal 15[DenedArea] ---[Initial Value] U
3-16STARCommandSpecicationsRev. 0.70ESC RS i n[Name] Specify/cancel character rotated mode[Code] ASCII ESC RS i nHexadecimal 1B 1E 69 nDecimal 27 3
3-17STARCommandSpecicationsRev. 0.703-3-4 Line SpacingLF[Name] Line feed[Code] ASCII LFHexadecimal 0ADecimal 10[DenedArea] ---[Initial Value]
3-18STARCommandSpecicationsRev. 0.70ESC a n[Name] Feed paper n lines[Code] ASCII ESC a nHexadecimal 1B 61 nDecimal 27 97 n[DenedArea] 1≤ n ≤ 12
3-19STARCommandSpecicationsRev. 0.70ESC 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 30Decimal
3-20STARCommandSpecicationsRev. 0.70ESC A n[Name] Denen/72inchpitchlinefeed[Code] ASCII ESC A nHexadecimal 1B 41 nDecimal 27 65 n[DenedArea
3-21STARCommandSpecicationsRev. 0.70ESC 3 n[Name] Set line feed to n/216 inch line feed pitch (approximate value)[Code] ASCII ESC 3 nHexadecimal 1B
ESC GS R n1 n2 3-323-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 d
3-22STARCommandSpecicationsRev. 0.70ESC J n[Name] Execute n/72 inch paper feed one time[Code] ASCII ESC J nHexadecimal 1B 4A nDecimal 27 74 n[Dene
3-23STARCommandSpecicationsRev. 0.703-3-5 Page Control CommandsFF[Name] Form feed[Code] ASCII FFHexadecimal 0CDecimal 12[DenedArea] ---[Initial
3-24STARCommandSpecicationsRev. 0.70ESC C n[Name] Set page length to n lines[Code] ASCII ESC C nHexadecimal 1B 43 nDecimal 27 67 n[DenedArea] 1
3-25STARCommandSpecicationsRev. 0.70VT[Name] Feedpapertoverticaltabposition[Code] ASCII VTHexadecimal 0BDecimal 11[DenedArea] ---[Initial V
3-26STARCommandSpecicationsRev. 0.70ESC N n[Name] Setbottommargintonlines[Code] ASCII ESC N nHexadecimal 1B 4E nDecimal 27 78 n[DenedArea]
3-27STARCommandSpecicationsRev. 0.703-3-6 Horizontal Direction Printing PositionESC RS A n[Name] Set print region[Code] ASCII ESC RS A nHexadecima
3-28STARCommandSpecicationsRev. 0.70ESC l n[Name] Set left margin[Code] ASCII ESC l nHexadecimal 1B 6C nDecimal 27 108 n[DenedArea] 0≤ n ≤ (rig
3-29STARCommandSpecicationsRev. 0.70ESC Q n[Name] Set right margin[Code] ASCII ESC Q nHexadecimal 1B 51 nDecimal 27 81 n[DenedArea] 2≤ n ≤maxi
3-30STARCommandSpecicationsRev. 0.70HT[Name] Movehorizontaltab[Code] ASCII HTHexadecimal 09Decimal 9[DenedArea] ---[Initial Value] ---[Functi
3-31STARCommandSpecicationsRev. 0.70ESC GS a n[Name] Specify position alignment[Code] ASCII ESC GS a nHexadecimal 1B 1D 61 nDecimal 27 29 97 n[Den
4. CHARACTER CODE TABLE 4-15. APPENDIX 5-15-1 StatusSpecications 5-15-1-1 ENQ Command Status 5-15-1-2 EOT Command Status 5-15-1-3 Automa
3-32STARCommandSpecicationsRev. 0.70ESC GS A n1 n2 [Name] Specifyabsoluteposition[Code] ASCII ESC GS A n1 n2Hexadecimal 1B 1D 41 n1 n2Decimal 27
3-33STARCommandSpecicationsRev. 0.703-3-7 DownloadESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1[Name] Registerdownloadcharacters(v
3-34STARCommandSpecicationsRev. 0.70[Ex.] Whenselecting7x9fonts,anddeningthecharacterto21H: ESC & NUL n1
3-35STARCommandSpecicationsRev. 0.70[Ex.] Whenselecting5x9fonts,anddeningthecharacterto21H: ESC & NUL n1 n2
3-36STARCommandSpecicationsRev. 0.70ESC & m n1 n2 [d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 ... ak dk] n2 - n1 + 1[Name] Denedownloadcharacters(vert
3-37STARCommandSpecicationsRev. 0.70 Relationship of character pattern data and print head. [Ex.] Whenselecting7x9fonts,anddeningthe
3-38STARCommandSpecicationsRev. 0.70[Ex.:] Whenselecting9x9fonts,anddeningthecharacterto21H: ESC & m c1 c2 x d1 d2 d3
3-39STARCommandSpecicationsRev. 0.70ESC % N[Name] Specify/cancel download characters[Code] ASCII ESC % nHexadecimal 1B 25 nDecimal 27 37 n[DenedA
3-40STARCommandSpecicationsRev. 0.703-3-8 Bit Image GraphicsESC K n NUL d1 d2 … dn[Name] Standarddensitybitimage[Code] ASCII ESC K n NUL d1 d2
3-41STARCommandSpecicationsRev. 0.70ESC L n1 n2 d1 d2 … dk[Name] Doubledensitybitimage[Code] ASCII ESC L n1 n2 d1 d2 .. dkHexadecimal 1B 4C n1 n
1-1STARCommandSpecicationsRev. 0.701. GENERAL DESCRIPTION ThisspecicationsdocumentdescribesthecommandspecicationsfortheSTARMODEondot
3-42STARCommandSpecicationsRev. 0.70ESC m n1 n2 d1 d2 … dk m n1 n2 d1 d2 … dk m n1 n2 d1 d2 … dk[Name] 9/16/18bitimagegraphics[Code] ASCII ES
3-43STARCommandSpecicationsRev. 0.70The following drawing shows the relationship of the print head needle wires and the data.1.Whenm=0,1(9-do
3-44STARCommandSpecicationsRev. 0.703.Whenm=4,5(18-dotbitimage) dn: 1 to 8 pin data dn + 1: 9 to 16 pin dat
3-45STARCommandSpecicationsRev. 0.703-3-9 LogoESC FS q n [x11 x12 y11 y12 d1…dk]1…[xn1 xn2 yn1 yn2 d1…dk] n[Name] Register logo[Code] ASCIIESC FS
3-46STARCommandSpecicationsRev. 0.70 Relationships of logo and registered data xn = xn1 + xn2 x 256, yn = yn1 + yn2 x 256 Data
3-47STARCommandSpecicationsRev. 0.70ESC FS p n m [Name] Print logo[Code] ASCII ESC FS p n mHexadecimal 1B 1C 70 n mDecimal 27 28 112 n m[DenedAre
3-48STARCommandSpecicationsRev. 0.703-3-11 Cutter Control ESC d n[Name] Paper cut instruction[Code] ASCII ESC d nHexadecimal 1B 64 nDecimal 27 100
3-49STARCommandSpecicationsRev. 0.703-3-12 External Device Drive ESC BEL n1 n2[Name] Set external drive device 1 pulse width[Code] ASCII ESC BEL n
3-50STARCommandSpecicationsRev. 0.70BEL[Name] External device 1 drive instruction[Code] ASCII BELHexadecimal 07Decimal 7[DenedArea] ---[Initial
3-51STARCommandSpecicationsRev. 0.70SUB[Name] External device 2 drive instruction (real time)[Code] ASCII SUBHexadecimal 1ADecimal 26[DenedArea]
2-1STARCommandSpecicationsRev. 0.702. COMMAND FUNCTION LIST• Standard CommandsClass Commands NameFont Style and Character SetESC GS t Specify code
3-52STARCommandSpecicationsRev. 0.70ESC GS EM DC1 m n1 n2[Name] Setexternalbuzzerdrivepulsecondition[Code] ASCII ESC GS EM DC1 m n1 n2Hexadeci
3-53STARCommandSpecicationsRev. 0.70ESC GS EM DC2 m n1 n2[Name] Executeexternalbuzzerdrive[Code] ASCII ESC GS EM DC2 m n1 n2Hexadecimal 1B 1D 19
3-54STARCommandSpecicationsRev. 0.703-3-13 StatusENQ[Name] Inquire ENQ status[Code] ASCII ENQHexadecimal 05Decimal 5[DenedArea] ---[Initial Val
3-55STARCommandSpecicationsRev. 0.70ESC ACK SOH[Name] Inquire status[Code] ASCII ESC ACK SOHHexadecimal 1B 06 01Decimal 27 6 1[DenedArea] ---[In
3-56STARCommandSpecicationsRev. 0.70ETB[Name] Update ETB status (check after printing)[Code] ASCII ETBHexadecimal 17Decimal 23[DenedArea] ---[In
3-57STARCommandSpecicationsRev. 0.70ESC RS E n [Name] Initialize ASB ETB counter, and ETB status. [Code] ASCII ESC RS E nHexadecimal 1B 1E 45 nDeci
3-58STARCommandSpecicationsRev. 0.703-3-14 Kanji Characters (only on models that carry Kanji characters)ESC p[Name] SpecifyJISJapanesecharacter
3-59STARCommandSpecicationsRev. 0.70ESC $ n [Name] Specify/cancelJISJapanesecharactermode(Japanesespecicationsonly)[Code] ASCII ESC $ nHex
3-60STARCommandSpecicationsRev. 0.70ESC s n1 n2[Name] SettwobyteKanjicharactersleft/rightspaces[Code] ASCII ESC s n1 n2Hexadecimal 1B 73 n1 n
3-61STARCommandSpecicationsRev. 0.70ESC r c1 c2 d1...dk[Name] Register Chinese download characters[Code] ASCII ESC r c1 c2 d1 .. dkHexadecimal 1B 7
2-2STARCommandSpecicationsRev. 0.70Class Commands NameHorizontal ESC RS A Set print regionDirection ESC I Set left marginPosition ESC Q Set right m
3-62STARCommandSpecicationsRev. 0.70Theyaredesignedasshownbelowanddataissentsequentially.
3-63STARCommandSpecicationsRev. 0.70ESC u 1[Name] Specify 16 x 16 dot [single density] Kanji characters.[Code] ASCII ESC u 1 Or ESC u “1”Hexadecima
3-64STARCommandSpecicationsRev. 0.70ESC x 1[Name] SpecifytwobyteKanjicharacters(cancelexpandedKanjicharacters)[Code] ASCII ESC x 1 Or ESC x
3-65STARCommandSpecicationsRev. 0.70ESC w 1[Name] Specifytwo-byte16x16dotKanjicharacters[SingleDensity] (Default)[Code] ASCII ESC w 1 Or E
3-66STARCommandSpecicationsRev. 0.70<RelationshipofChineseCharacterSizeSelection>*See5.Appendix5-2ExpansionPositionfordetailson
3-67STARCommandSpecicationsRev. 0.703-3-15 OthersRS[Name] Ringbuzzer[Code] ASCII RSHexadecimal 1EDecimal 30[DenedArea] ---[Initial Value] ---
3-68STARCommandSpecicationsRev. 0.70DC3[Name] Printer deselect[Code] ASCII DC3Hexadecimal 13Decimal 19[DenedArea] ---[Initial Value] Select pri
3-69STARCommandSpecicationsRev. 0.70ESC @[Name] Command initialization[Code] ASCII ESC @Hexadecimal 1B 40Decimal 27 64[DenedArea] ---[Initial Va
3-70STARCommandSpecicationsRev. 0.70ESC GS # m N n1 n2 n3 n4 LF NUL[Name] Set memory switch[Code] ASCII ESC GS # m N n1 n2 n3 n4 LF NULHexadecimal
3-71STARCommandSpecicationsRev. 0.70ESC # N m n1 n2 n3 n4 LF NUL[Name] Set memory switch[Code] ASCII ESC # N m n1 n2 n3 n4 LF NULHexadecimal 1B 23
2-3STARCommandSpecicationsRev. 0.70Class Commands NameOthers RSRingbuzzerCAN Cancel print data and initialize commandsDC3 Printer deselectDC1 Sele
3-72STARCommandSpecicationsRev. 0.70ESC ? LF NUL[Name] Reset printer and execute self print[Code] ASCII ESC ? LF NULHexadecimal 1B 3F 0A 00Decimal
3-73STARCommandSpecicationsRev. 0.703-4 Black Mark Related CommandsTheStarblackmarkrelatedcommandsaretocontrolthetopofform(blackmark
3-74STARCommandSpecicationsRev. 0.70ESC d n[Name] Paper cut instruction[Code] ASCII ESC d nHexadecimal 1B 64 nDecimal 27 100 n[DenedArea] 0≤ n
3-75STARCommandSpecicationsRev. 0.70FF[Name] Performs TOF operation[Code] ASCII FFHexadecimal 0CDecimal 12[DenedArea] ---[Initial Value] ---[Fu
3-76STARCommandSpecicationsRev. 0.70ESC FF n1 n2[Name] Settopofformamountafterdetectingblackmark[Code] ASCII ESC FF n1 n2Hexadecimal 1B 0C
3-77STARCommandSpecicationsRev. 0.70ESC GS ( F p1 p2 a m n1 n2[Name] Settopofformamountinblackmarkcontrol[Code] ASCII ESC GS ( F p1 p2 a m
3-78STARCommandSpecicationsRev. 0.70ESC RS m n [Name] Enable,disableblackmarkdetection[Code] ASCII ESC RS m nHexadecimal 1B 1E 6D nDecimal 27
3-79STARCommandSpecicationsRev. 0.703-5 USB Related CommandsThe following commands control USB interface functions.
3-80STARCommandSpecicationsRev. 0.703-6 2-Color Printing Command DetailsESC RS C n [Name] Select/cancel 2-color printing mode[Code] ASCII ESC RS C
3-81STARCommandSpecicationsRev. 0.70ESC 4[Name] Specifywhite/blackinversionandredcolorprinting[Code] ASCII ESC 4Hexadecimal 1B 34Decimal 27 5
3-1STARCommandSpecicationsRev. 0.703. COMMAND DETAILS3-1 Explanation of Terms•ReceptionbufferThebufferforstoringdata(receptiondata)receiv
4-1STARCommandSpecicationsRev. 0.704. CHARACTER CODE TABLESeethecharactercodespecications
5-1STARCommandSpecicationsRev. 0.705. APPENDIX5-1 Status Specications Thisfunctioniseffectiveonlywhenusinganinterfacecapableofbi-dire
5-2STARCommandSpecicationsRev. 0.705-1-3 Automatic StatusAutostatusisagroupofstatesthatareautomaticallyreturnedfromtheprintertothe
5-3STARCommandSpecicationsRev. 0.702. Header 2Header2isthe1bytelengthinformationtransmittedfromthesecondbyteoftheautostatus.Theta
5-4STARCommandSpecicationsRev. 0.703. Printer StatusPrinter status is the status of the printer sent from the 3rdbyteoftheautomaticstatus.For
5-5STARCommandSpecicationsRev. 0.70<Printerstatus4SensorInformation(SixthByte)>Bit ContentsStatus By model“0” “1”BD100 SP2000 BD500
5-6STARCommandSpecicationsRev. 0.704. CautionsDo not use ENQ, EOT, ESC, ACK and SOH when auto status is valid.Invalidate the automatic status in a
5-7STARCommandSpecicationsRev. 0.705-1-4 Printer Status Transmission Specication when using Ethernet and Wireless LAN Interfaces Thefollowingex
5-8STARCommandSpecicationsRev. 0.70B. Classicationcharacter1(1Byte) Sends“:”(3AH).C. DataType(1byte) Indicatesthedatatypeofthe
5-9STARCommandSpecicationsRev. 0.705-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.Norma
Komentáře k této Příručce