Star Dot Impact Printer Specifications

Star Dot Impact Printer Specifications

Dot impact printer - command specifications

Advertisement

Dot Impact Printer
STAR

Command Specifications

Rev. 0.70
Star Micronics Co., Ltd. Special Products Operating Division

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Dot Impact Printer and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Star Dot Impact Printer

  • Page 1: Command Specifications

    Dot Impact Printer STAR Command Specifications Rev. 0.70 Star Micronics Co., Ltd. Special Products Operating Division...
  • Page 2: Table Of Contents

    GENERAL DESCRIPTION COMMAND FUNCTION LIST COMMAND DETAILS 3-1 Explanation of Terms 3-2 Exception processing 3-3 Standard Command Details 3-3-1 Font style and character set ESC GS t n ESC R n ESC / N ESC 6 ESC 7 ESC M ESC P ESC : ESC SP n...
  • Page 3 3-3-7 Download ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1 ESC & m n1 n2 [d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 ... ak dk] n2 - n1 + 1 ESC % N 3-3-8 Bit Image Graphics...
  • Page 4 APPENDIX 5-1 Status Specifications 5-1-1 ENQ Command Status 5-1-2 EOT Command Status 5-1-3 Automatic Status 5-1-4 Printer Status Transmission Specification when using Ethernet and Wireless LAN Interfaces 5-2 Expansion Position 5-2-1 7 x 9 Fonts 5-2-2 5 x 9 (2P-1) Fonts 5-2-2 Japanese Character Fonts SPECIAL APPENDIX COMMAND LIST BY MODEL 5-10...
  • Page 5: General Description

    1. GENERAL DESCRIPTION This specifications document describes the command specifications for the STAR MODE on dot impact printers. Information contained herein applies to models with the following conditions. • Dot impact printers • Printer head: • Interfaces: • Paper width: • Paper feed minimum pitch: < Applicable Models:> • Individual boards: • Complete printer product: STAR Command Specifications 72 DPI (vertical direction) Parallel/RS-232C/USB/Ethernet/Wireless LAN 3 inch/2.25 inch/1.75 inch 1/144 inch (0.176 mm)
  • Page 6: Command Function List

    2. COMMAND FUNCTION LIST • Standard Commands Class Commands Font Style and ESC GS t Character Set ESC R ESC / ESC 6 ESC 7 ESC M ESC P ESC : ESC SP Character Expansion Settings ESC W ESC h Print Modes ESC E ESC F...
  • Page 7 Class Commands Horizontal ESC RS A Direction ESC I Position ESC Q ESC D ESC GS a ESC GS A ESC GS R Download ESC & ESC % Bit Image ESC K Graphics ESC L ESC ^ Logos ESC FS q ESC FS p Cutter Control ESC d...
  • Page 8 Class Commands Others ESC @ ESC U ESC GS # ESC # ESC ? LF NUL Note 1 Kanji characters • Japanese character control commands are ignored on models not installed with Japa- nese character fonts. • All Japanese character control commands are ignored if the specification for the location of use is specified as SBCS (single byte countries) by the memory switch.
  • Page 9: Explanation Of Terms

    Rev. 0.70 3. COMMAND DETAILS 3-1 Explanation of Terms • Reception buffer The buffer for storing data (reception data) received from the host, as it is called the reception buffer. Reception data is temporarily stored in the reception buffer, then processed sequentially. • Line buffer The buffer for storing image data for printing is called the line buffer. • Line buffer full The state in which the buffer has no more space available is called line buffer full.When the buffer is full, data in the line buffer is printed and a line feed is performed when new print data is processed.This is the same as a Line Feed. • Top of line The top of line is a state that satisfies the following conditions. A. There is currently no print data in the line buffer. B. The position is not specified with the horizontal direction position command. • Printable region This is the maximum printable area with the printer’s specifications. • Print region This is the printing area specified by a command. (Print Region ≤ Printable Region) • SBCS This is an abbreviation of Single Byte Character Set.These are characters in languages that are displayed using the information in one byte. In this specifications manual, it refers to the standard specifications (destination: single byte countries). • DBCS This is an abbreviation of Double Byte Character Set.These are characters in languages that are displayed using the information in two bytes. In this specifications manual, it refers to the Chinese character specifications such as Japan, China and Taiwan (destina- tion: double byte countries).
  • Page 10: Exception Processing

    Rev. 0.70 Exception processing 1) Undefined codes Codes from <00>H to <1F>H are targeted.When codes not defined as commands in this region are received, they are discarded. (Ex.) If processing the data string of <30>H<31>H<03>H<32>H<0A>H<33>H, the printer will discard <03>H as an undefined code. 2) Undefined commands When data continuing the codes of ESC and FS are codes not defined as commands, ESC and FS and subsequent codes are discarded. (Ex.) If processing the data string of <30>H<1B>H<22>H<31>H<32>H, the printer will read and discard <1B>H<22>H as an undefined command. 3) Settings outside of the defined area Processing values outside of the defined area in commands accompanying arguments, those commands are ignored and the preset values are unchanged.The processing of commands is terminated at the point values outside of the de- fined region are processed in arguments having a plurality of commands.
  • Page 11: Font Style And Character Set

    Standard Command Details 3-3-1 Font style and character set ESC GS t n [Name] Select code page [Code] ASCII Hexadecimal Decimal [Defined Area] n differs depending on the specifications. (See the table below.) [Initial Value] Memory switch setting [Function] Specifies the code page according to the value of n. When installed with Japanese, Chinese and Taiwanese language charaters and DBCS setting, this commandis ignored.
  • Page 12 ESC R n [Name] Specify international character set [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n ≤ 14 n = 64 [Initial Value] Memory switch setting [Function] Specifies international characters according to the value of n. International Characters France Germany Denmark Sweden Italy Spain Japan Norway Denmark II Spain II Latin America Korea Ireland...
  • Page 13 ESC 6 [Name] Switch to IBM character set #2 [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] Switches from IBM character set #1 to #2. The subsequent <80> H to <9F> H codes are handled as character data. When the character code table settings are for the IBM character set #1, this command is ignored. This command is only effective in the standard mode. ESC 7 [Name] Switch to IBM character set #1 [Code] ASCII Hexadecimal...
  • Page 14 ESC M [Name] Specify 7 x 9 font (half dots) (default) [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] Specifies 7 x 9 (half) dot font. Sets the number of printable digits in one line to [total half dot count/(10 + character right space amount). ESC P [Name] Specify 5 x 9 font (2P-1) [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] Specifies 5 x 9 (2 pulse = 1) dot fonts. Sets the number of printable digits in one line to [total half dot count/(12 + character right space amount). STAR Command Specifications Rev.
  • Page 15: Esc Sp N

    ESC : [Name] Specify 5 x 9 font (3P-1) [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] Specifies 5 x 9 (3 pulse = 1) dot fonts. Sets the number of printable digits in one line to [total half dot count/(18 + character right space amount). ESC SP n [Name] Specify character space [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n ≤ 15 [Initial Value] n = 0 [Function] Sets right space of characters with n half dots.
  • Page 16: Character Expansion Settings

    3-3-2 Character Expansion Settings [Name] Specify double-wide expanded characters [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Cancel double-wide expanded characters [Function] Prints ANK characters and Kanji characters with characters expanded twice the normal width. This command is equivalent to ESC W n (n = 1). [Name] Cancel double wide printing [Code] ASCII Hexadecimal...
  • Page 17 ESC W n [Name] Specify/cancel expanded double-wide printing [Code] ASCII Hexadecimal Decimal [Defined Area] n = 0, 1, 48, 49 [Initial Value] n = 0 (Horizontal double-wide printing cancelled) [Function] Specifies/cancels horizontal double-wide printing for ANK characters and Kanji characters, according to an n value. Function 0, 48 Cancel double wide printing 1, 49 Specify double-wide expanded printing ESC h n [Name] Specify/cancel expanded double-tall printing [Code] ASCII Hexadecimal Decimal [Defined Area] n = 0, 1, 48, 49 [Initial Value] n = 0 (vertical double-tall printing cancelled) [Function] Specifies/cancels vertical double-tall printing for ANK characters, according to an n value. Function 0, 48 Cancel printing double high expanded character height 1, 49 Specify double-tall expanded printing...
  • Page 18: Print Mode

    3-3-3 Print mode ESC E [Name] Select emphasized printing [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Emphasized printing cancelled. [Function] Specifies emphasized printing for subsequent data. When in emphasized printing, data is printed in two passes. This command is effective for both ANK characters and Kanji characters (prints with four passes for 2 pass Kanji characters, and with 8 passes for 4 pass Kanji characters). ESC F [Name] Cancel emphasized printing...
  • Page 19 ESC – n [Name] Specify/cancel underling mode [Code] ASCII Hexadecimal Decimal [Defined Area] n = 0, 1, 48, 49 [Initial Value] n = 0 (Underline cancelled) [Function] Specifies underline according to the value of n. Function 0, 48 Cancels underline 1, 49 Specifies underline Underlines are applied to the 9 dot of the character. Underlines are not applied to horizontal tabs and to specified horizontal direction positions.
  • Page 20 ESC 4 [Name] Specify white/black inversion and red color printing [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] White/black inversion cancelled/black color printing specified [Function] The following shows the details of this command. They vary according to the model. Spec. 1 • Specifies white/black inverted printing (only on models that do not handle two color printing) Subsequent characters are printed, including the character pitch, with white and black inverted. Printing is uni-directional. (SP2000, BD100) Precautions for Use of This Command (1) This command is enabled for ANK characters only. White/black is not inverted for Kanji characters and block graphic characters.
  • Page 21 ESC GS 4 m n [Name] Select red/black substitute function [ESC 4/5 setting] [Code] ASCII Hexadecimal Decimal [Defined 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 Value] Memory switch setting [Function]...
  • Page 22 When m = 83 (“S”) Red/black adornment of ANK space characters (20H). Red adornment of ANK space characters (20H). Adorn Do not adorn This parameter specifies whether to adorn red/black for ANK space characters in red printing mode (black/white in- verted). The ANK space characters are limited to ASCII code 20H in this setting. In the character code table, if 7FHex is a space character, 7FHex is a target for this setting. The following is an example of each setting. It is possible to avoid unnecessary adornment in printing patterns that pro- vide spacing of printing positions with ANK space characters (20H) when red is specified. (Print Example) Print data: <ESC> “4” “TOTAL” 20H 20H 20H 20H 20H 20H 20H 20H 20H “$1234” <LF>...
  • Page 23 [Name] Select upside-down printing [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Upside-down printing cancelled [Function] Specifies upside-down printing This command is enabled only when at the top of the line.Therefore, upside down and right-side up characters cannot both exist in the same line. This command is enabled for following. • ANK characters • Kanji characters • Bit images [Name] Cancel upside-down printing [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Upside-down printing cancelled [Function] Cancels upside-down printing This command is enabled only when at the top of the line.
  • Page 24 ESC RS i n [Name] Specify/cancel character rotated mode [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n ≤ 2 48 ≤ n ≤ 50 (“0” ≤ n ≤ “2”) [Initial Value] Character rotation cancelled (n = 0) [Function] Specifies direction to rotate print (clockwise) or to cancel rotation for subsequent data, according to the n value. Set rotation 0, 48 Cancelled (0° rotation) 1, 49 270°...
  • Page 25: Line Spacing

    3-3-4 Line Spacing [Name] Line feed [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] 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. [Name] Carriage return (Print line feed) [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Set line feed to 1/6 inch [Function] Specifies the function according to the memory switch value.
  • Page 26: Esc A N

    ESC a n [Name] Feed paper n lines [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ n ≤ 127 [Initial Value] [Function] After printing data in the line buffer, paper is fed according to (currently set line feed amount x n). This paper feed amount is unaffected even if there are vertical expanded characters and double high and wide expanded characters in one line. ESC 0 [Name] Set line feed to 1/8 inch [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value]...
  • Page 27 ESC z 0 [Name] Set line feed to 1/12 inch [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] 1/6 inch [Function] Sets subsequent line feed amounts to 1/12 inch. ESC z 1 [Name] Set line feed to 1/6 inch [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] 1/6 inch [Function] Sets subsequent line feed amounts to 1/6 inch.
  • Page 28 ESC A n [Name] Define n/72 inch pitch line feed [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n ≤ 85 [Initial Value] n = 12 (1/6 inch line feed) [Function] Defines line feed amount for one line as n/72 inch. To enable this code, ESC 2 (line feed pitch setting) must be sent. ESC 2 [Name] Set ESC A line feed pitch [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] Sets one line feed amount to the value defined by ESC A (n/72 inch pitch line feed definition).
  • Page 29: Esc 3 N

    ESC 3 n [Name] Set line feed to n/216 inch line feed pitch (approximate value) [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n ≤ 255 [Initial Value] n = 36 (1/6 inch) [Function] Sets subsequent line feed amounts to a value approximate to n/216 inch. Because the minimum pitch for the paper feed mechanism is 1/144 of an inch, the setting value will be approximated according to the following equation. INT (n x 2/3 + 0.5)/144 of an inch ESC y n [Name]...
  • Page 30: Esc J N

    ESC J n [Name] Execute n/72 inch paper feed one time [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ n ≤ 255 [Initial Value] [Function] After printing data in the line buffer, paper is fed n/72 of an inch in the forward paper feed direction. This paper feed amount is unaffected even if there are vertical expanded characters and double high and wide expanded characters in one line. The single line feed amount setting value is not changed by this command. ESC I n [Name] Execute n/144 inch paper feed one time [Code] ASCII Hexadecimal...
  • Page 31: Page Control Commands

    3-3-5 Page Control Commands [Name] Form feed [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] This command performs the following operations after the printer prints the printing data in the line buffer. Operations are set by the memory switch. Memory SW Cutter Model Condition (1) Executes a form feed Condition (2) Feeds paper to the cutting position and performs a full cut. (*1) Condition (3) Executes a form feed.
  • Page 32 ESC C n [Name] Set page length to n lines [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ n ≤ 255 [Initial Value] 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 position of the page.
  • Page 33 [Name] Feed paper to vertical tab position [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] This command performs paper feeds up to the next vertical tab position after the printer prints the data in the line buffer. This command is ignored if there are no tabs set. If a vertical tab is set, and the current position is the same as the vertical tab position, or if it is below that position, it feeds paper to the top of the next page. ESC B n1 n2 … nk NUL [Name] Set vertical tab [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ n ≤ 255 1 ≤...
  • Page 34: Esc O"

    ESC N n [Name] Set bottom margin to n lines [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n ≤ 255 (Not full page length) [Initial Value] n = 0 [Function] This command sets the bottom margin position to (current line feed amount x n). Page Length The current position when setting is effective from the next page when within the bottom margin. The bottom margin set using this command is unaffected by changing the form feed amount later. The set bottom margin is cleared using the “ESC N NUL” or the “ESC O” commands. The bottom margin setting value must be a value smaller than the length of one page. If a value higher the length of the page is specified, this setting is ignored. ESC O [Name] Cancel bottom margin [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Not set...
  • Page 35: Horizontal Direction Printing Position

    3-3-6 Horizontal Direction Printing Position ESC RS A n [Name] Set print region [Code] ASCII Hexadecimal Decimal [Defined Area] Specification 1 Specification 2 [Initial Value] MSW Setting [Function] After printing data in the line buffer, this sets the printable region in the horizontal direction according to the n value. Setting this command partway will print the data in the line buffer at that time, perform a line feed and then take affect from the next line. Print Region (Number of Dots) 210 Dots 160 Dots 200 Dots 150 Dots 190 Dots 180 Dots...
  • Page 36 ESC l n [Name] Set left margin [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n ≤ (right margin -2) ≤ 255 [Initial Setting] [Function] This command sets the left margin (current ANK character pitch x n) using the left edge as a reference after printing data in the line buffer. The left edge is also the reference for upside-down printing.
  • Page 37 ESC Q n [Name] Set right margin [Code] ASCII Hexadecimal Decimal [Defined Area] 2 ≤ n ≤ maximum printable digits ≤ 255 [Initial Value] Maximum printable digits [Function] This command sets the printable region (current ANK character pitch x n) using the left edge as a reference after printing data in the line buffer.The left edge is also the reference for upside-down printing. Setting this command partway will print the data in the line buffer at that time, perform a line feed and then take affect from the next line. Character spacing is included in the character pitch but is unaffected by expansion settings. The right margin set using this command is unaffected by changing the character pitch. The print region within the defined range must be at least a minimum of 18 dots for the right margin. If the printable region as set by the left and right margins is smaller than one character, including the space between characters, printing is not possible. A question mark (“?”) is printed instead of the character. (*1) More than four characters of 7 x 9 fonts; more than three characters of 5 x 9 fonts (2P=1) (when character spacing = 0) Left Margin STAR Command Specifications...
  • Page 38 [Name] Move horizontal tab [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] Move print position to next horizontal tab position. The current position moves to the next tab position when at the horizontal tab position. This command is ignored with under the following conditions. • When there is no horizontal tab set. • When the current position is the same as the furthest right horizontal tab position or to the right of it. In the underline/upperline modes, underlines and upperlines are not printed in the spaces created by a horizontal tab. ESC D n1 n2 … nk NUL [Name] Set horizontal tab [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ n ≤ maximum printable digits ≤ 255 0 ≤...
  • Page 39 ESC GS a n [Name] Specify position alignment [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n ≤ 2 48 ≤ n ≤ 50 (“0” ≤ n ≤ “2”) [Initial Value] n = 0 [Function] This specifies position alignment for all data in one line, in the set print region. Position alignment 0, 48 Left alignment 1, 49 Center alignment 2, 50 Right alignment ABCD...
  • Page 40 ESC GS A n1 n2 [Name] Specify absolute position [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n1 ≤ 255 0 ≤ n2 ≤ 255 [Initial Value] [Function] Moves the printing position to the (n1 + n2 x 256) position based on the left margin. The right margin is also the reference for upside-down printing. This command is ignored if the print region is exceeded. When print data is duplicated, the new print data is overwritten by the old print data. (the portion duplicated in the new data is deleted.) However, bit image data is OR processed for the old print data.
  • Page 41: Download

    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 & Hexadecimal Decimal [Defined Area] 33 ≤ n1 ≤ n2 ≤ 127 (21h ≤ n1 ≤ n2 ≤ 7Fh) m = 0, 128 (00h, 80h) 0 0 ≤...
  • Page 42 [Ex.] When selecting 7 x 9 fonts, and defining the character to 21H: Code (Hexadecimal) (1 when printing corresponding bits, and 0 for no print) STAR Command Specifications 7 Dots ESC & NUL n1 n2 m d1 d2 d3 d4 d5 d6 d7 1B 26 00 21 21 80 3E 40 88 00 88 40 3E 3-34 Rev. 0.70...
  • Page 43 [Ex.] When selecting 5 x 9 fonts, and defining the character to 21H: Code (Hexadecimal) (1 when printing corresponding bits, and 0 for no print) STAR Command Specifications 5 Dots ESC & NUL n1 n2 m d1 d2 d3 d4 d5 1B 26 00 21 21 00 38 45 45 45 7E 3-35 Rev. 0.70...
  • Page 44 ESC & m n1 n2 [d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 ... ak dk] n2 - n1 + 1 [Name] Define download characters (vertical 2 byte font) [Code] ASCII & Hexadecimal Decimal [Defined Area] • 7 x 9 Mode • 7 x 9 Mode •...
  • Page 45 Relationship of character pattern data and print head. [Ex.] When selecting 7 x 9 fonts, and defining the character to 21H: Code (Hexadecimal) (1 when printing corresponding bits, and 0 for no print) STAR Command Specifications 7 Dots ESC & m c1 c2 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 1B 26 02 21 21 1F 00 20 00 44 00 00 00 44 00 20 00 1F 00 3-37 Rev.
  • Page 46 [Ex.:] When selecting 9 x 9 fonts, and defining the character to 21H: ESC & m c1 c2 x d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 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 corresponding bits, and 0 for no print) STAR Command Specifications 7 Dots...
  • Page 47 ESC % N [Name] Specify/cancel download characters [Code] ASCII Hexadecimal Decimal [Defined Area] n = 0, 1, 48, 49 [Initial Value] Cancel download character [Function] Specifies/cancels download character according to n value. 0, 48 Cancel download characters 1, 49 Specify download characters <Print example of download characters> 1. Register download character (ESC & NUL n1 n2 m0 m1 m2…) 2.
  • Page 48: Bit Image Graphics

    3-3-8 Bit Image Graphics ESC K n NUL d1 d2 … dn [Name] Standard density bit image [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ n ≤ t otal dot count 0 ≤ d ≤ 255 [Initial Value] [Function] This command prints bit images with only the data count determined by n. The amount of data that can be printed in one line is limited to the total dot count. Data that exceeds the total dot count or the right margin is ignored. See each printer’s product specifications manual for details regarding the total dot count.
  • Page 49 ESC L n1 n2 d1 d2 … dk [Name] Double density bit image [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ (n1 + n2 x 256) ≤ total half dot count k = n1 + n2 x 256 0 ≤ d ≤ 255 [Initial Value] [Function] This command executes the bit image of a density doubled (half dot printing) for just the data count determined by n1 and n2.
  • Page 50 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 Hexadecimal Decimal [Defined Area] Spec. 1 0 ≤ m ≤ 1 (“0” ≤ m ≤ “1”) Spec. 2 [9W Printer] 0 ≤...
  • Page 51 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 Pin Used 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 STAR Command Specifications b4 b3 b4 b3...
  • Page 52 3. When m = 4, 5 (18-dot bit image) Pin Number STAR Command Specifications dn: 1 to 8 pin data b4 b3 b4 b3 dn + 1: 9 to 16 pin data b4 b3 dn +2: 17 to 18 pin data 3-44 Rev. 0.70...
  • Page 53: Esc Fs Q N [X11 X12 Y11 Y12 D1...Dk]1...[Xn1 Xn2 Yn1 Yn2 D1...Dk] N

    3-3-9 Logo ESC FS q n [x11 x12 y11 y12 d1…dk]1…[xn1 xn2 yn1 yn2 d1…dk] n [Name] Register logo [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ n ≤ 255 0 ≤ xn1 ≤ 255, 0 ≤ xn2 ≤ 3 1 ≤ (xn1 + xn2 x 256) ≤ 1023 0 ≤...
  • Page 54 Relationships of logo and registered data xn = xn1 + xn2 x 256, yn = yn1 + yn2 x 256 (yn1 + yn2 x 256) bytes (yn1 + yn2 x 256) x 8 dots Data specification order (example of the above) d[11] d[12] • • • • d[x1] d[21] d[22] • • • • d[x2] • • • • • • • • • • • d[n1] d[n2] • • • • d[xn] STAR Command Specifications {(xn1 + xn2 x 256) x 8} dots d[11]...
  • Page 55 ESC FS p n m [Name] Print logo [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ n ≤ 255 (When printing normally) 0 ≤ m ≤ 3 48 ≤ m ≤ 51 (“0” ≤ m ≤ “3”) [Initial Value] [Function] Prints the logo of the number n registered using the logo registration command according to the print mode n: Logo Specification Function 1 to 255 Specified logo number m: Print Mode Print Size...
  • Page 56: Cutter Control

    3-3-11 Cutter Control ESC d n [Name] Paper cut instruction [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n ≤ 3 48 ≤ n ≤ 51 (“0” ≤ n ≤ “3”) [Initial Value] [Function] This command executes the auto-cut according to the n specification, after printing data in the line buffer. After auto-cutter is executed, the printer considers that position to be the top of the page. Auto-cutter 0, 48 Full cut at the current position. This command is ignored on tear-bar models. 1, 49 Partial cut at the current position.
  • Page 57: External Device Drive

    3-3-12 External Device Drive ESC BEL n1 n2 [Name] Set external drive device 1 pulse width [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ n1 ≤ 127 1 ≤ n2 ≤ 127 [Initial Value] n1 = 20 (Energizing time: 200 msec) n2 = 20 (Delay time: 200 msec) [Function] Sets the energizing and delay times for drive of the external device (such as cash drawers).
  • Page 58 [Name] External device 1 drive instruction [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] Executes the external device drive conditions set according to the ESC BEL (external device drive pulse width setting command). As with other commands, this command temporarily stores data in the data buffer, then executes in the order received. Note External device 1 and external device 2 cannot be executed simultaneously. [Name] External device 1 drive instruction (real time) [Code]...
  • Page 59 [Name] External device 2 drive instruction (real time) [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] Drives external device 2.The energizing time and delay time are fixed at 200 ms each. The printer executes this command immediately upon reception. This command is the same as the EM command. Note External device 1 and external device 2 cannot be executed simultaneously. This command is executed in real time only, so even if executed continuously, the drive occurs only once.
  • Page 60 ESC GS EM DC1 m n1 n2 [Name] Set external buzzer drive pulse condition [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ m ≤ 2 49 ≤ m ≤ 50 0 ≤ n1 ≤ 255 0 ≤ n2 ≤ 255 [Initial Value] n1 = 0, n2 = 0 [Function] Set external buzzer drive pulse condition.
  • Page 61 ESC GS EM DC2 m n1 n2 [Name] Execute external buzzer drive [Code] ASCII Hexadecimal Decimal [Defined Area] 1 ≤ m ≤ 2 49 ≤ m ≤ 50 1 ≤ n1 ≤ 20 n2 = 0 [Initial Value] [Function] Repeatedly drives the buzzer according to the ON/OFF conditions set by the external buzzer drive pulse condition command <ESC> <GS> <EM> <DC1> m t1 t2. m specifies the buzzer drive terminal to drive. Buzzer Drive Terminals 1, 49 Buzzer drive terminal 1 2, 50...
  • Page 62: Status

    3-3-13 Status [Name] Inquire ENQ status [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] This command is effective only when using an interface capable of bi-directional data communications. When this command is received, the printer sends the 1-byte of ENQ status in real time to the host (not taking it from the reception buffer, but executing it immediately upon reception from the host). Bi-directional parallel interfaces enter a “data present” state. See Appendix ENQ Command Status for details regarding status. When this command is sent once to the printer, do not send the next ENQ command until the ENQ status has been received.
  • Page 63 ESC ACK SOH [Name] Inquire status [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] This command is effective only when using an interface capable of bi-directional data communications. When this command is received, the printer sends the status in real time to the host (not taking it from the reception buffer, but executing it immediately upon reception from the host). Bi-directional parallel interfaces enter a “data present” state. See the Appendix Auto Status for details regarding status. When in the serial interface DTR mode, and using a parallel interface, set so that the status can be inquired even when offline for errors, etc.
  • Page 64 [Name] Update ETB status (check after printing) [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Spec. 1 --- Spec. 2 ETB countr = 0 [Function] This command is effective only when using an interface capable of bi-directional data communications. Spec. 1 This command waits until all printing is completed (the print motor is stopped), and after printing is completed, the auto status printer status 1-1 (ETB command) becomes 1 (ETB execution completed).
  • Page 65 ESC RS E n [Name] Initialize ASB ETB counter, and ETB status. [Code] ASCII Hexadecimal Decimal [Defined Area] n = 0 n = 48 (“0”) [Initial Value] [Function] Clears the ASB ETB counter to zero and clears the ETB status of the auto-status 1-1. STAR Command Specifications 3-57 Rev.
  • Page 66: Kanji Characters (Only On Models That Carry Kanji Characters)

    3-3-14 Kanji Characters (only on models that carry Kanji characters) ESC p [Name] Specify JIS Japanese character mode (Japanese specifications only) [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Select JIS Japanese character mode [Function] Specifies JIS Japanese character mode When in JIS Japanese character mode, all character codes are handled as 2 byte Kanji characters (First byte: upper code; second byte: lower code).Even when setting the JIS Kanji mode, the control code is valid. This command is ignored for models not equipped with Japanese characters and when the specification for the location of use is specified as SBCS (single byte countries) by the memory switch. Spec. 1 When the lower code is 20h, 7Fh, it is handled as a space code. Spec.
  • Page 67 ESC $ n [Name] Specify/cancel JIS Japanese character mode (Japanese specifications only) [Code] ASCII Hexadecimal Decimal [Defined Area] n = 0, 1, 48, 49 [Initial Value] Memory switch setting [Function] Specifies and cancels the shift JIS Japanese character mode. JIS Japanese Character Mode 0, 48 Cancels the shift JIS Japanese character mode (Selection of block graphics mode) 1, 49 Specify shift JIS Japanese character mode When in shift JIS Japanese character mode, if the data is <80>H to <9F>H or <E0>H to <FF>H, this is handled as 2 byte Kanji characters (First byte: upper code; second byte: lower code).Even when setting the shift JIS Japanese character mode, the control code is valid. When the shift JIS Chinese character mode is canceled, the block graphics mode is selected. At that time, if the data is <80>H to <9F>H or <E0>H to <FF>H, this is handled as 1 byte of block graphic characters.
  • Page 68 ESC s n1 n2 [Name] Set two byte Kanji characters left/right spaces [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n1 ≤ 255 0 ≤ n2 ≤ 255 (However, n1 + n2 + character width ≤ printable region) [Initial Value] • Japanese specifications Memory SW Condition (1) Condition (2) • For China and Taiwan specifications Spec. 1: n = 0, n2 = 4 Spec.
  • Page 69 ESC r c1 c2 d1...dk [Name] Register Chinese download characters [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ d ≤ 255 k = 32 c1 and c2 differ according to specifications and code type (see table below). [Initial Value] All spaces [Function] Registers Japanese download characters to c1 and c2 addresses, but the following shows the possible code range. If one has been already registered to an address, it is overwritten. Chinese download characters once defined are valid until redefined or the power is turned OFF. The definition range varies according to model. (Below: Specs. 1, 2, and 3) Spec. 1 Specifications Japanese Language Characters Kanji Characters Taiwan Characters Spec.
  • Page 70 They are designed as shown below and data is sent sequentially. Vertical 16 Dots 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 that are not printed are “0.” STAR Command Specifications Horizontal 16 Dots d9 d11 d13 d15 d17 d19 d21 d23 d25 d27 d29 d31 d8 d10 d12 d14 d16 d18 d20 d22 d24 d26 d28 d30 d32 3-62 Rev.
  • Page 71 ESC u 1 [Name] Specify 16 x 16 dot [single density] Kanji characters. [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Specify two-byte 16 x 16 dot (single density) Kanji characters. [Function] Specify 16 x 16 dot [single density] Kanji characters. When two-bytes is selected, they become two-pass characters (state (B) to state (A))Dots continuous horizontally are thinned for printing. This command sets to the double-tall expanded character mode by combining with ESC x 0 (Specify expanded Kanji characters) (state (B) → state (C)) See “Relationship of Kanji Character Size Selection.” ESC u 0 [Name] Specify 16 x 16 dot [Double Density] Kanji characters [Code]...
  • Page 72 ESC x 1 [Name] Specify two byte Kanji characters (cancel expanded Kanji characters) [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Specify two-byte 16 x 16 dot (single density) Kanji characters. [Function] Cancels specify Chinese character expansion, and sets to two-byte Kanji characters When 16 x 16 dot Kanji characters [single density] are selected, they become two-pass characters (state (C) to state (A)) When 16 x 16 dot Kanji characters [double density] are selected, they become four-pass characters (state (D) to state (B)) See “Relationship of Kanji Character Size Selection.” ESC x 0 [Name] Specify expanded Kanji characters (Double high/double high & wide) [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Specify two-byte 16 x 16 dot (single density) Kanji characters. [Function] Sets Chinese character expansion. When 16 x 16 dot Kanji characters [double density] are selected, they become two-pass characters (double- tall size: state (A) to state (C)) When 16 x 16 dot Kanji characters [double density] are selected, they become horizontally and vertically...
  • Page 73 ESC w 1 [Name] Specify two-byte 16 x 16 dot Kanji characters [Single Density] (Default) [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Specify two-byte 16 x 16 dot (single density) Kanji characters. [Function] Cancels specify Japanese character expansion, and sets to two-byte 16 x 16 dot Kanji characters [single density] Kanji characters become two-pass characters ( to state (A)) When the power is turned off, this is set. See “Relationship of Kanji Character Size Selection.” ESC w 0 [Name] Specify double high & wide Kanji characters [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Specify two-byte 16 x 16 dot (single density) Kanji characters. [Function] Sets double high & wide (double-wide/double-high) 16 x 16 Kanji characters. (to state (D)) See “Relationship of Kanji Character Size Selection.”...
  • Page 74 <Relationship of Chinese Character Size Selection> State (A) Two-byte 16 x 16 Dot Kanji [Single Density] (2-pass Print) ESC u 0 ESC u 1 State (B) Two-byte 16 x 16 Dot Kanji [Double Density] (4-pass Print) * See 5. Appendix 5-2 Expansion Position for details on the differences of dot configurations of [single density] and [double density] in two-byte 16 x 16 dot Kanji characters. This section uses a Japanese character to illustrate the differ- ence.
  • Page 75: Others

    3-3-15 Others [Name] Ring buzzer [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] Issues a short buzzer sound from the printer. [Name] Cancel print data and initialize commands [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] When the reception buffer and line buffer are cleared, the set commands are initialized. Immediately executed not when taking out from the reception buffer, but when received from the host. DIPSW and memory switch re-read is not performed. The following shows the specifications that are not initialized by this command. • DC1 and DC3 select/deselect status •...
  • Page 76 [Name] Printer deselect [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Select printer [Function] Deselects printer. All received data is discarded until the next DC1 (printer select) is received. [Name] Select printer [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] Select printer [Function] This cancels the deselect state of the DC3 (printer deselect) and selects the printer.
  • Page 77 ESC @ [Name] Command initialization [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] Initializes each command after printing data in the line buffer. DIPSW and memory switch re-read is not performed. The following shows the specifications that are not initialized by this command. • DC1 and DC3 select/deselect status • ESC BEL external device drive conditions • Auto status valid/invalid conditions • Sets to enable, disable black mark detection ESC U n [Name]...
  • Page 78 ESC GS # m N n1 n2 n3 n4 LF NUL [Name] Set memory switch [Code] ASCII Hexadecimal Decimal [Defined Area] m = 87, 84, 44, 43, 45 (m = “W”, “T”, “,”, “+”, “-”) 48 ≤ N ≤ 57 (”0” ≤ N ≤ “9”), 65 ≤ N ≤ 70 (”A” ≤ N ≤ “F”) 48 ≤ n1 ≤ 57 (”0” ≤ n1 ≤ “9”), 65 ≤ n1 ≤ 70 (”A” ≤ n1 ≤ “F”) 48 ≤...
  • Page 79 ESC # N m n1 n2 n3 n4 LF NUL [Name] Set memory switch [Code] ASCII Hexadecimal Decimal [Defined Area] m = 44, 43, 45 (m = “,”, “+”, “-“) 48 ≤ N ≤ 57 (”0” ≤ N ≤ “9”), 65 ≤ N ≤ 70 (”A” ≤ N ≤ “F”) 48 ≤ n1 ≤ 57 (”0” ≤ n1 ≤ “9”), 65 ≤ n1 ≤ 70 (”A” ≤ n1 ≤ “F”) 48 ≤...
  • Page 80 ESC ? LF NUL [Name] Reset printer and execute self print [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] Hardware resets the printer and executes on self print. After sending this command, the next data is not sent until the printer is online (in a state wherein it can receive data).
  • Page 81: Black Mark Related Commands

    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 specifications> Top of form (black mark detection) operation Selectable when power is turned on (reset signal is input), when self-print test is completed and by the memory switch. Memory switch setting When power is turned on (reset signal is input), when self-print ends Condition (1) Maintain Condition (2) Top of form (black mark detection) to printing start position Press FEED. Executes top of form (black mark) to printing start position Command See the following command details.
  • Page 82: Esc D N

    ESC d n [Name] Paper cut instruction [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n ≤ 3 48 ≤ n ≤ 51 (“0” ≤ n ≤ “3”) [Initial Value] [Function] This command executes the auto-cut according to the n specification, after printing data in the line buffer. After auto-cutter is executed, the printer considers that position to be the top of the page. Auto-cutter 0, 48 Full cut at the current position. This command is ignored on tear-bar models. 1, 49 Partial cut at the current position. This command is ignored on tear-bar models.
  • Page 83 [Name] Performs TOF operation [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] [Function] This command performs the following operations after the printer prints the printing data in the line buffer. Operations are set by the memory switch. Memory SW Cutter Model Condition (1) Paper feed to printing start position Condition (2) Feeds paper to the cutting position and performs a full cut. (*) Condition (3) Paper feed to printing start position Condition (4)
  • Page 84 ESC FF n1 n2 [Name] Set top of form amount after detecting black mark [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n1 x 256 + n2 ≤ 2047 (however, less that the length between marks) [Initial Value] Memory switch setting [Function] This command sets the amount for top of form after black mark detection (n1 x 256 + n2) to steps. (1 step = 1/144 of an inch) The setting value of this command affects the printer initialization command (ESC @). If the parameter is outside of the defined range, this command is received and discarded.
  • Page 85 ESC GS ( F p1 p2 a m n1 n2 [Name] Set top of form amount in black mark control [Code] ASCII Hexadecimal Decimal [Defined Area] p1 = 4, p2 = 0 a = 1, 2 m = 0, 48 0 ≤ n1 + n2 x 256 ≤ 1700 (however, less that the length between marks) [Initial Value] Memory switch setting [Function] Set top of form position (printing start position and cutting position) when using black mark control.
  • Page 86 ESC RS m n [Name] Enable, disable black mark detection [Code] ASCII Hexadecimal Decimal [Defined Area] n = 0, 1, 2, 48, 49, 50 [Initial Value] Memory SW [Function] Switchest to enable/disable black mark (BM) detection control When switching the setting, operations are the same as when switching to enable/disable using the memory switch. (However, that excludes the TOF operation that occurs when the power is turned ON.) Black mark detection settings 0, 48 Invalid 1, 49 Valid...
  • Page 87: Usb Related Commands

    Rev. 0.70 USB Related Commands The following commands control USB interface functions. STAR Command Specifications 3-79...
  • Page 88: Color Printing Command Details

    2-Color Printing Command Details ESC RS C n [Name] Select/cancel 2-color printing mode [Code] ASCII Hexadecimal Decimal [Defined Area] 0 ≤ n ≤ 1 48 ≤ n ≤ 49 (“0” ≤ n ≤ “1”) [Initial Value] DIP switch [Function] Select/cancel 2-color printing mode 0, 48 Cancel 2-color printing mode When in two-color print mode, this command cancels 2-color printing mode.
  • Page 89 ESC 4 [Name] Specify white/black inversion and red color printing [Code] ASCII Hexadecimal Decimal [Defined Area] [Initial Value] White/black inversion cancelled/black color printing specified [Function] The following shows the details of this command. They vary according to the model. Spec. 1 • Specifies white/black inverted printing (only on models that do not handle two color printing) Subsequent characters are printed, including the character pitch, with white and black inverted. Printing is uni-directional. (SP2000, BD100) Precautions for Use of This Command (1) This command is enabled for ANK characters only. White/black is not inverted for Kanji characters and block graphic characters.
  • Page 90: Character Code Table

    Rev. 0.70 4. CHARACTER CODE TABLE See the character code specifications STAR Command Specifications...
  • Page 91: Status Specifications

    5. APPENDIX Status Specifications This function is effective only when using an interface capable of bi-directional data communications. Refer to your printer’s product specification manual to verify if the interface cable on the printer you use is capable of bi-directional data communications. 5-1-1 ENQ Command Status T h i s s t a t u s i s t h e o n e t h e p r i n t e r t r a n s m i t s u s i n g t h e E N Q c o m m a n d . Contents Compulsion SW Buffer overflow...
  • Page 92: Automatic Status

    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 “plurality of bytes of the printer status and is con- tinuously returned to the host.The host always uses an identifying method to identify the data for every byte received. (It is possible that Xon/Xoff codes are exceptionally mixed in the auto status in the Xon/Xoff mode (when using a serial I/F), so it is necessary to consider that on the receiving side.)The valid/invalid conditions of the auto status abide by the DIPSW or the memory switch settings for the initial values. It is possible to change the conditions using the ESC RS a n command after turning ON the power. Also, it is possible to get the auto status using the ESC ACK SOH command, regardless of the valid/invalid conditions. 1. Header 1 Header 1 is the 1 byte length information transmitted at the head of the automatic status. The table below shows the composition of the Header 1.Header 1 represents the entire status transmission byte count, including Header 1, using bit 1 to bit 3 and bit 5.The host gets the transmission byte information and always receives the status data for that amount transmission bytes.For reference, the table below shows the relationship of actual transmis- sion bytes and the Header 1.Because the bit 0 that indicates that this is the Header 1 is normally 1 (the second byte and beyond is 0), to detect the Header 1, it is acceptable to verify that bit 0 is 1 and bit 4 = 0 for this data.Note that bit 6 is for future expansion and is ignored in host-side processes. <Header 1 (First Byte)> Bit Contents Fixed at “0”...
  • Page 93 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 status version below) using bit 1 to bit 3 and bit 5. For reference, the table below shows the relationship of actual version bytes and the Header 2.The auto status version will be used as new information is added to the printer status bit positions that were empty, by adding new functions in the future. When the host does not control the auto status version, it is acceptable to ignore Header 2 received. <Header 2 (Second Byte)> Contents ASB status expansion Version Number Version Number Fixed at “0” Version Number Version Number Version Number Fixed at “0” Actual automatic status version and header 2 table Version Number n 00000010B (02 Hex) 00000100B (04 Hex) 00000110B (06 Hex) 00001000B (08 Hex) 00001010B (0A Hex) 00001100B (0C Hex) 00001110B (0E Hex)
  • Page 94 3. Printer Status Printer status is the status of the printer sent from the 3 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 exists.) The following shows the composition of the status. <Printer status 1 Printer status (Third Byte)> Contents Fixed at “0” OFFLINE By Switch Input Cover Status Fixed at “0”...
  • Page 95 <Printer status 4 Sensor Information (Sixth Byte)> Bit Contents Fixed at “0” Not Used (Fixed at “0”) Black Mark Detection Status Fixed at “0” Paper end Paper near-end Not Used (Fixed at “0”) Fixed at “0” <Printer status 5 Sensor Information (Seventh Byte)> Contents Fixed at “0” Not Used (Fixed at “0”) Not Used (Fixed at “0”) Fixed at “0” Not Used (Fixed at “0”) Not Used (Fixed at “0”) Not Used (Fixed at “0”) Fixed at “0” <Printer status 6 ETB Information (Eighth Byte)> Contents Fixed at “0” ETB Counter (Bit 4) ETB Counter (Bit 3) Fixed at “0” ETB Counter (Bit 2) ETB Counter (Bit 1) ETB Counter (Bit 0) Fixed at “0”...
  • Page 96 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 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 XOFF...
  • Page 97: Printer Status Transmission Specification When Using Ethernet And Wireless Lan Interfaces

    5-1-4 Printer Status Transmission Specification when using Ethernet and Wireless LAN Interfaces The following explains the printer status transmission specification when using Ethernet and wireless LAN interfaces. Transmission Format: • When transmitting only STAR ASB: STAR ASB (Second byte Bit-7=1) + Length (Length = 0x0000) • When transmitting printer status other than STAR ASB: STAR ASB (Second byte Bit-7=1) + Length + Status Data <Length Details> • 2 byte value indicating status data byte count (0x0000 ≤ Length ≤ 0x0200) • When the status data is 10 bytes: Length = 0x000a • When transmitting only STAR ASB: Add Length = 0x0000 • When STAR ASB Second byte Bit-7, and Length is added, Bit-7 = 1 is set.
  • Page 98 Classification character 1 (1 Byte) Sends “:” (3AH). Data Type (1byte) Indicates the data type of the printer status, and sends “B” (binary type, 42H). Status length (2 bytes) 2 byte value indicating byte count of printer status Printer status (variable) Status sent by printer The content of the status differs according to the cause. Refer to Commands That are Factors, and Automatic Status for details on the content of the status. Classification character 2 (1 byte) Send “;” (3BH). Status Transmission Specifications List Status Factors Length STAR Automatic Status...
  • Page 99: Expansion Position

    Expansion Position 5-2-1 7 x 9 Fonts Normal Dot Half Dot Head Pin No. Normal 7 x 9 5-2-2 5 x 9 (2P-1) Fonts Normal Dot Head Pin No. Normal 5 x 9 STAR Command Specifications Head Pin No. Double high 7 x 9 Head Pin No.
  • Page 100: Japanese Character Fonts

    5-2-2 Japanese Character Fonts Head Pin No. ANK 7 x 9 First Pass Head Pin No. ANK 7 x 9 First Pass STAR Command Specifications Normal Dot Half Dot Head Pin No. Two-byte Kanji 16 x 16 [Single Density] First Pass Second Pass Normal Dot Half Dot Head Pin No.
  • Page 101: Special Appendix Command List By Model

    6. SPECIAL APPENDIX COMMAND LIST BY MODEL • Standard Commands Class Commands ESC GS t Font Style and Character ESC R ESC / ESC 6 ESC 7 ESC M ESC P ESC : ESC SP Character Expansion Settings ESC W ESC h Print Modes ESC E...
  • Page 102 Class Commands Horizontal ESC RS A Direction ESC I Position ESC Q ESC D ESC GS a ESC GS A ESC GS R Download ESC & ESC % Bit Image ESC K Graphics ESC L ESC ^ Logos ESC FS q ESC FS p Cutter Control ESC d...
  • Page 103 Class Commands Others ESC @ ESC U ESC GS # ESC # ESC ? • Black Mark Related Commands Class Commands Black mark ESC d (Note 3) Related (Note 3) Commands ESC FF ESC GS ( F ESC RS m •...
  • Page 104 ELECTRONIC PRODUCTS DIVISION STAR MICRONICS CO., LTD. 536 Nanatsushinya, Shimizu-ku, Shizuoka, 424-0066 Japan Tel: (int+81)-54-347-0112, Fax: (int+81)-54-347-0709 Please access the following URL http://www.star-m.jp/eng/dl/dl02.htm for the latest revision of the manual. OVERSEAS SUBSIDIARY COMPANIES STAR MICRONICS AMERICA, INC. 1150 King Georges Post Road, Edison, NJ 08837-3729 U.S.A.

This manual is also suitable for:

Sp2000Sp500Sp700Bd100Bd500

Table of Contents