ESC l n ................................2-22 ESC Q n ................................ 2-22 HT .................................. 2-23 ESC D n1 n2…nk NUL ..........................2-23 ESC D NUL ..............................2-23 ESC GS A n1 n2 ............................2-24 ESC GS R n1 n2 ............................2-24 Star PRNT Command Specifications...
Page 3
<Function 48> ESC GS 8 L p1 p2 p3 p4 m fn (fn=48) ................... 2-46 <Function 51> ESC GS ( L pL pH m fn (fn=51) ..................... 2-47 <Function 51> ESC GS 8 L p1 p2 p3 p4 m fn (fn=51) ................... 2-47 Star PRNT Command Specifications...
Page 4
<Function 480> ESC GS ( k pL pH cn fn m a b d1...dk (cn=52, fn=80) ............2-78 <Function 481> ESC GS ( k pL pH cn fn m (cn=52, fn=81) ................2-79 2.3.18. Initialization Command ........................2-80 ESC @ ................................2-80 ESC ACK CAN .............................. 2-80 Star PRNT Command Specifications...
Page 5
External Device Drive ........................2-107 ESC BEL n1 n2 ............................2-107 BEL ................................2-108 FS ................................2-108 SUB ................................2-109 EM ................................2-109 ESC GS BEL m t1 t2 ............................ 2-110 ESC GS EM DC1 m n1 n2 ........................... 2-111 Star PRNT Command Specifications...
Page 6
Printer Status Transmission Specification for Ethernet I/F ............... 4-16 4.3. Appendix 3: Blank Code Page Configuration................... 4-18 4.4. Appendix 4 Maximum Number of Input Characters for Each Version of QR Code ........4-20 4.5. Appendix 5 Explanation of Page Mode ....................4-24 Star PRNT Command Specifications...
Page 7
Card Specifications ......................... 4-28 4.7.2. Magnetic Card Data Transmission Format ..................4-29 4.8. Appendix 10 Specifications when a melody speaker is connected ............4-30 SPECIAL APPENDIX ..........................5-1 5.1. COMMAND LIST FOR EACH MODEL ...................... 5-1 Star PRNT Command Specifications...
Page 8
Information contained herein applies to the following models. < Applicable Models:> ・mPOP ・SM-L Series SM-L200 SM-L300 ・SM-S Series SM-S210i (For Japanese market only) SM-S220i (Other than Japanese market) SM-S230i (Other than Japanese market) ・SM-L Series SM-T300i SM-T400i ・mC-Print3 MCP31 ・mC-Print2 MCP20 MCP21 Star PRNT Command Specifications...
Page 10
• Page Function Commands Name ESC GS h 0 Invert 180˚ • Cutter control Commands Name ESC d Paper cutter instruction • Reduced Printing Function Command Commands Name ESC GS c h v Set reduced printing Star PRNT Command Specifications...
Page 11
Send the registered individual NV graphics memory capacity ESC GS ) L (fn=50) all key code of the registered NV graphics ESC GS ) L (fn=51) Send the registered NV graphics data • Bar code Commands Name ESC b Print bar code Star PRNT Command Specifications...
Page 12
Compound symbol: Print symbol data of symbol saving region • Initialization Command Commands Name ESC @ Command initialization ESC ACK CAN Real-time printer reset ESC ? Reset printer • Memory Switch Command Commands Name ESC GS # Set memory switch Star PRNT Command Specifications...
Page 13
ESC RS c Specify printing color in 2 color printing mode ESC RS C Select/cancel 2 color printing mode ESC 4 Specify white/black inversion and printing color red ESC 5 Cancel white/black inversion and specify printing color black Star PRNT Command Specifications...
Page 14
• Customer Display Command Commands Name ESC GS B @ Send data to a customer display ESC RS B A Status request ESC GS B B Customer display data request ESC GS B C Buffer clear Star PRNT Command Specifications...
When the printer uses a parallel I/F or USB I/F, sends the automatic status each time the reverse transfer mode is entered. When the printer uses Ethernet I/F or wireless I/F, sends the automatic status when the printer is connected to the print port (TCP#9100). The ASB and NSB status formats are the same. Star PRNT Command Specifications...
(Ex.) If processing the data string of <1B>H<52>H<15>H, the printer will discard the data string of <1B>H<52>H<15>H because although <1B>H<52>H is defined as a commands (ESC R), the argument <15>H is outside of the definition. Therefore, the international character set that is already set experiences no change. Star PRNT Command Specifications...
[Defined Region] 0≤n≤2 [Initial Value] n = 0 [Function] Selects a font mPOP Font mC-Print2 SM-L Series SM-S, T Series mC-Print3 Font-A (12 x 24 dots) Font-B (9 x 24 dots) Font-C ( 9 x 17 dots) Star PRNT Command Specifications...
Page 19
Thai Character Code 42 (Thai) Thai Character Code 11 (Thai) Thai Character Code 13 (Thai) Thai Character Code 18 (Thai) User Setting (Blank Code Page) When UTF-8 code is valid with SBCS setting, the UTF-8 becomes invalid by this command. Star PRNT Command Specifications...
Page 20
Thai Character Code 11 (Thai) Thai Character Code 13 (Thai) Thai Character Code 14 (Thai) Thai Character Code 16 (Thai) Thai Character Code 17 (Thai) Thai Character Code 18 (Thai) (Reserved) (Reserved) User Setting (Blank Code Page) Star PRNT Command Specifications...
The printer is reset when writing with this command is completed. mPOP Font mC-Print2 SM-L Series SM-S, T Series mC-Print3 Font-A (12 x 24 dots) Font-B (9 x 24 dots) Font-C ( 9 x 17 dot) Star PRNT Command Specifications...
The ANK character width is "left space amount” + "ANK font dot count” + right space amount.” (See the information on character specifications in the appropriate printer specifications manual for details on the ANK font dot count.) Standard mode and page mode can be set independently of each other. Star PRNT Command Specifications 2-10...
This command is ignored when UTF-8 is specified (command: ESC GS t 128) for DBCS. Shift JIS Kanji character mode 0, 48 Cancels shift JIS Kanji character mode 1, 49 Specifies shift JIS Kanji character mode Star PRNT Command Specifications 2-13...
This command is ignored for models not equipped with Chinese fonts (for overseas) and when the specification for the location of use is specified as SBCS (single byte countries) by the memory switch. Standard mode and page mode can be set independently of each other. Star PRNT Command Specifications 2-14...
4 dots.) Upperlines are enabled for white/black inversion. This command is enabled for ANK characters and Kanji characters. IBM block ignores upperlines. Upperline 0, 48 Cancels upperline 1, 49 Specifies upperline Star PRNT Command Specifications 2-19...
IBM block ignores white/black inversion. ESC 5 [Name] Cancel white/black inversion [Code] ASCII Hex. Decimal [Defined Area] - - - [Initial Value] White/black inversion cancelled [Function] Cancels white/black inversion for ANK characters and Kanji characters. Star PRNT Command Specifications 2-20...
Page 35
• Bar codes [Name] Cancel upside-down printing [Code] ASCII Hex. 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. Star PRNT Command Specifications 2-21...
The right margin set using this command is unaffected by changing the character pitch. This command is ignored if settings are for a printing region less than 36 mm. Setting this command partway will take affect from the next line. Printable Region Left Margin Print Region Right Margin Star PRNT Command Specifications 2-22...
[Code] ASCII D NUL Hex. Decimal [Defined Area] - - - [Initial Value] - - - [Function] Clears the currently set horizontal tab. Standard mode and page mode can be set independently of each other. Star PRNT Command Specifications 2-23...
0≤n≤2 48≤n≤50 (”0”≤n≤”2”) [Initial Value] n = 0 [Function] Specifies the alignment position in the printing region that has been set. Position alignment 0, 48 Left alignment 1, 49 Center alignment 2, 50 Right alignment Star PRNT Command Specifications 2-24...
Executes a paper feed for (the currently specified line feed amount x n). If print data exists in the line buffer, it prints that data. The initial value for the amount of paper is set according to the memory switch settings. Star PRNT Command Specifications 2-25...
[Code] ASCII Hex. Decimal [Defined Area] - - - [Initial Value] Memory switch setting [Function] Specifies the line feed amount to 3 mm. Standard mode and page mode can be set independently of each other. Star PRNT Command Specifications 2-26...
Executes a n/8mm paper feed. If print data exists in the line buffer, it prints that data. Using this command will intermittently feed paper, therefore, it is normally recommended that this command not be used. Star PRNT Command Specifications 2-27...
• Form feed command (FF): Executes a form feed. • Cutter command (ESC d n): Sets cutter position at top of page. • Error cancel operations: Sets position when quitting error cancellation operations at top of page. Star PRNT Command Specifications 2-28...
When the top margin is set to 10 mm or less, the paper length (cut length) should not exceed 50mm. (If the cut paper remains at the paper-exit, a paper jam may occur. There is no limitation when the cut paper is removed.) Star PRNT Command Specifications 2-29...
1) 180° inversion function enabled: <ESC> <GS> h 0 k m n (k=0x01, m=0x00, n=0x00) 2) Print data transmission: Print data (Print length must be within the image buffer length.) 3) Trigger command transmission: <ESC> d n (Cutter command is the 180° inversion trigger.) Star PRNT Command Specifications 2-30...
(*) The printer which is not equipped with an auto-cutter works in the following ways. • Command for full cut at the current position Executes printing • Command for feeding paper to cutting position Executes printing and feeds paper to the tear bar position. Star PRNT Command Specifications 2-31...
Valid (67%) 2 to 255 Command ignored Set vertical direction reduced printing Invalid (Reserved) 2 to 255 Command ignored • Reduced printing in the horizontal direction compresses the entire horizontal direction. • Disabled in Page Mode. Star PRNT Command Specifications 2-32...
In that case, printing in standard mode is unaffected. • The starting point in the print region specified by ESC GS P 3 (Set print region in page mode) is used for the start of character expansion. Star PRNT Command Specifications 2-34...
• If the calculated results is a fraction that is corrected to the minimum mechanical pitch and excess is discarded. See Appendix 5 for details on the maximum and minimum of the specified print region. Star PRNT Command Specifications 2-35...
When the starting point is “upper right” or “bottom left,” specify the relative position of the perpendicular direction to the paper feed. • If the calculated results is a fraction that is corrected to the minimum mechanical pitch and excess is discarded. Star PRNT Command Specifications 2-36...
Erases all data in presently set print region, in page mode. • Valid only when page mode is selected. • Portion included in the currently set print region is deleted even if data of the print region set previously. Star PRNT Command Specifications 2-37...
• When {(n1 + n2 x 256) x 3} exceeds the printable region that is currently set, only the data in the printing region is printed. At this time, all data for the print region is discarded. • If the current position already exceeds the print region, this command discards all data. Star PRNT Command Specifications 2-41...
•parameter m: Command processing end (ESC GS S m). •parameter n: n=0 •parameter xL,xH,yL,yH:Command processing end(ESC GS S m xL xH yL yH) [Restrictions by model] SM-L Series: The vertical direction is less than 3200 dots (1≤ (yL + yH x 256) ≤3200). Star PRNT Command Specifications 2-42...
Page 57
Horizontal data byte count :64dotx4/8=32 (xL + xH x 256) ・・ ・・ 10 dots (yL + yH x 256) d289 d290 d291 d292 d293 d294 d295 d296 d320 ・・ Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Dot data Dot data Star PRNT Command Specifications 2-43...
ESC GS ( L pL pH m fn a kc1 kc2 b xL xH yL yH Define NV graphics data [c d1...dk]1 [c d1...dk]b ESC GS ( L pL pH m fn kc1 kc2 x y Print the specified NV graphics data Star PRNT Command Specifications 2-45...
When the header sent by the printer is [Hex = 37H/Decimal = 55], data up to NUL [Hex = 00H/Decimal = 0] is handled as one group, and identified by corresponding to the combination of the header and identifier. Star PRNT Command Specifications 2-46...
• Information region is also included in the use capacity. • See the Note for <Function 48> for a detailed explanation of the sending process. [Reference] ESC GS ( L / ESC GS 8 L <Function 48> Star PRNT Command Specifications 2-47...
1 Byte Identifier information 1 Byte 1 Byte • See the Note for <Function 48> for a detailed explanation of the sending process. [Reference] ESC GS ( L / ESC GS 8 L <Function 48> Star PRNT Command Specifications 2-48...
• If you use this function, all NV graphics data is erased. Take special care if NV graphics data is used in multiple applications. [Reference] ESC GS ( L / ESC GS 8 L <Function 67> Star PRNT Command Specifications 2-49...
• Data for this counter is discarded in page mode. • Do not use this function for macro definition because this function is not compatible with the macros [Reference] ESC GS ( L / ESC GS 8 L <Function 67> Star PRNT Command Specifications 2-50...
• “c” specifies the definition data color as follows. c=49: Black c=50: Red • “d” specifies the definition data (in raster format). • If the specified key code already exists in memory, it is overwritten by the specified one. Star PRNT Command Specifications 2-51...
Page 66
NV graphics region, this function does not operate. • This function uses the NV graphics area of “Number of data sets (k) + Management data (14 bytes)”. [Reference] ESC GS ( L / ESC GS 8 L <Function 51>, <Function 69> Star PRNT Command Specifications 2-52...
SM-S and T Series : Prints up to 30 cm when the expanded high mode is specified. [Reference] ESC GS ( L/ESC GS 8 L , ESC GS A , ESC GS R , ESC RS A , HT , SI Star PRNT Command Specifications 2-53...
Send the registered individual logo CRC Function 49 Send the registered individual NV graphics memory capacity Function 50 Send all key code of the registered NV graphics Function 51 Transmit the registered NV graphics data Star PRNT Command Specifications 2-54...
* The CRC data is converted into a character string and sent. If a unregistered key code is specified, the following data is sent instead: ESC GS ) L pL pH fn kc1 kc2 LF NUL Star PRNT Command Specifications 2-55...
Page 70
= 0x0001; j < 0x0100; j = j << 1) if( result & 0x0001 ) result >>= 1; result ^= CRC16; else result >>= 1; result = (~result) & 0xFFFF; return result; [Reference] ESC GS ( L, ESC GS 8 L Star PRNT Command Specifications 2-56...
ESC GS ) L pL pH fn k1 k2 LF NUL (where, k1=2 and k2=0) If the USB interface is used, the NSB must be made invalid. [Reference] ESC GS ( L , ESC GS 8 L Star PRNT Command Specifications 2-57...
・ “d" specifies the definition data (in raster format). If a unregistered key code is specified, the following data is transmitted instead: ESC GS ) L pL pH fn kc1 kc2 LF NUL [Reference] ESC GS ( L/ESC GS 8 L <Function 67> Star PRNT Command Specifications 2-58...
Font B Upper not execute 13, 68 - - - - - - - - - Font B Upper,Under Execute 14, 69 - - - - - - - - - Font B Upper,Under not execute Star PRNT Command Specifications 2-59...
Page 74
32 ≤ d ≤ 34, 37 ≤ d ≤ 63, 65 ≤ d ≤ 90, d = 95, 97 ≤ d ≤ 122, d = 123 [However, d1 = 40, 48 ≤ d2 ≤ 57, 48 ≤ d3 ≤ 57, or 48 ≤ d1 ≤ 57, 48 ≤ d2 ≤ 57] Star PRNT Command Specifications 2-60...
Page 75
• GS1DataBar Expanded :k is freely set, and maximum value differs according to the mode and the print character type. • GS1-128: k is freely set, and maximum value differs according to the mode and the print character type. Star PRNT Command Specifications 2-61...
(4) Print command (<ESC> <GS> “y” “P”) is ignored. • Error is generated when generating a bar code by the combination of each setting command. • Print data exceeds the currently set print region Star PRNT Command Specifications 2-62...
Sets the cell size. • Parameter details • n: Cell size (Units: Dots) • It is recommended that the specification using this command be 3 ≤ n. If n = 1 or 2, check by actually using. Star PRNT Command Specifications 2-64...
• The data storage region of this command is shared with the manual setting command so data is update d each time either command is executed. [Model Limitations] SM-L Series : Refer to Appendix 4. Star PRNT Command Specifications 2-65...
• When data type is set to alphanumeric (m=2) and data of alphabet characters "a" to "z" is sent, they are converted into uppercase alphabet characters "A" to "Z" and their barcode data is generated. [Model Limitations] SM-L Series: Refer to Appendix 4. Star PRNT Command Specifications 2-66...
When receiving this command, if there is unprinted data in the image buffer, the printer will print the bar code after printing the unprinted print data. A margin of more than 4 cells is required around the QR code. The user should ensure that space. Always check printed bar codes in actual use. Star PRNT Command Specifications 2-67...
• Error is generated when generating a bar code, due to the combination of the bar code setting commands. • The bar code data that is generated exceeds the printable size of PDF417. • Print data exceeds the currently set print region. Star PRNT Command Specifications 2-68...
Page 83
<ESC> <GS> “x” “S” “3” 3: Sets module aspect ratio to 3 2. Bar code data setting <ESC> <GS> “x” “D” 10 0 “0123456789”: Sets the bar code data 3. Printing bar code <ESC> <GS> “x” “P”: Print Star PRNT Command Specifications 2-69...
Parameter details • n: Sets the module X direction size (x-dim). Units: Dots It is recommended that 2 ≤ n when specifying using this command. When using with n = 1, check by actual use. Star PRNT Command Specifications 2-70...
• When the bar code data that is generated exceeds the printable size of PDF417 • When the print data exceeds the currently set print region When a bar code is printed, always verify it by actual use. Star PRNT Command Specifications 2-71...
Compound symbol:Set The maximum width of the 2D Function 471 GS1DataBar Expanded Stacked Function 472 Compound symbol: Set HRI Font Function 480 Compound symbol: Store data in symbol saving region Function 481 Compound symbol: Print symbol data of symbol saving region Star PRNT Command Specifications 2-72...
This setting is enabled until ESC@ is executed, the printer is reset, or the power is turned off. The set unit is 1 dot. The width is set as 0.125 mm (1/203 inches). [Reference] ESC GS ( k Function 381 , ESC @ Star PRNT Command Specifications 2-73...
This setting is valid until this function is reset, ESC@ is executed, the printer is reset, or the power is off. [Reference] ESC GS ( k Function 381 , ESC @ Star PRNT Command Specifications 2-74...
Therefore, you cannot print mixed data (characters, bit images, bar codes) on the same line. For page mode: - This command only deploys bar code data to the image buffer. Star PRNT Command Specifications 2-75...
This setting is enabled until ESC@ is executed, the printer is reset, or the power is turned off. The set unit is 1 dot. The width is set as 0.125 mm (1/203 inches). [Reference] ESC GS ( k Function 481, ESC @ Star PRNT Command Specifications 2-76...
Omnidirectional,GS1 DataBar Expanded Stacked), this setting is not affected and HRI is not printed. This setting is valid until this function is reset, ESC@ is executed, the printer is reset, or the power is off. [Reference] ESC GS ( k Function 481, ESC @ Star PRNT Command Specifications 2-77...
This setting is valid until this function is reset, ESC@ is executed, the printer is reset, or the power is off. [Reference] ESC GS ( k Function 481, ESC @ Star PRNT Command Specifications 2-78...
- If unprinted data still exists in the line buffer, the buffered data is printed out, the command is executed, and then the bar code is printed. Therefore, you cannot print mixed data (characters, bit images, bar codes) on the same line. For page mode: Star PRNT Command Specifications 2-79...
Execute real-time printer reset. [Limitations by model] mPOP, mC-Print2, mC-Print3: Execution of this command during printing may be delayed. Reconnection is required, because the connection between printer and host is disconnected by the execution of this command. Star PRNT Command Specifications 2-80...
After sending this command, the next data is not sent until the printer is online (in a state wherein it can receive data). When resetting the printer, the following processes are performed. Mode Process Parallel - - - BUSY output RS-232C DTR mode DTR mark output Xon/Xoff mode Xoff output Star PRNT Command Specifications 2-81...
Specify data m = (“,”) Specify data m = (“+”) Bit number to set m = (“-“) Bit number to clear [Model Limitations] SM-L200, SM-S, T Series : The function “load default settings” is not supported. Star PRNT Command Specifications 2-82...
- - - [Initial Value] - - - [Function] Sends ASB status information to the host. This command is not used when ASB is valid. See Appendix 2, Automatic Status for details regarding ASB status. Star PRNT Command Specifications 2-83...
[Initial Value] ASB ETB counter = 0 [Function] Clears the ASB ETB counter to zero, then clears the ETB status. However, ASB status is not send when clearing the ETB counter to zero using this command. Star PRNT Command Specifications 2-84...
(When multi-sessions is valid) session (host) that is connected (hosts) that are connected * This print end counter and the ETB counter sent by the ETB command are separate. They have no affect on each other. Star PRNT Command Specifications 2-85...
Page 100
• Specify n1+n2 x 256 as the document ID and check the compatibility with the document ID in the same way. • When it is not possible to check compatibility of the source and returned data, fix at n1 = 0, n2 = 0. Star PRNT Command Specifications 2-86...
Page 101
* Echoes back the specified contents from the host as is until ESC GS ETX s n1 n2, and then sends the print end counter value and NUL. This function is invalid at the time of program rewriting. Star PRNT Command Specifications 2-87...
Function No. Function Name Function 48 Transmit all types of multibyte fonts Function 49 Transmit printer information Function 50 Transmit the remaining battery power Transmit installed I/F kind Function 51 Function 52 Transmit external device information Star PRNT Command Specifications 2-88...
ESC GS ) I pL pH fn k1 k2 CHINA GB18030 , TAIWAN BIG-5 , LF NUL (Where, k1 = 29, k2 = 0) When no multibyte font is installed, the following is transmitted. ESC GS ) I pL pH fn k1 k2 LF NUL Star PRNT Command Specifications 2-89...
(“NUL” is filled when less than 16 digits.) ↓ BtAtC Bluetooth AutoConnection AutoConnection invalid:BtAtC=00 valid:BtAtC=01 Bluetooth iOS Port Name ↓ BtIpN Fixed 16 digits (“NUL” is filled when less than 16 digits.) Bluetooth New Pairing ↓ BtNpP New Pairing invalid:BtNpP=00 valid:BtNpP=01 Star PRNT Command Specifications 2-90...
Page 105
1.0 is returned. < F/W Ver.2.0 or later > If a circuit board which supports DK ports is equipped, 2.0 is returned. If a circuit board which does not support DK ports is equipped, 1.0 is returned. Star PRNT Command Specifications 2-91...
USB-B USB-A USB-A Bluetooth BT-I Ethernet ETHERNET Example: When USB-B, USB-A, Bluetooth and Ethernet are installed in the printer: ESC GS ) I pL pH fn k1 k2 USB-B,USB-A,BT-I,ETHERNET,LF NUL (k1 = 28, k2 =0) Star PRNT Command Specifications 2-93...
When these tags are transmitted from the printer, the data for tag DkVer is also transmitted. DkVer External device connection terminal When these tags are transmitted from the Connected device version information printer, the data for tag DkMdl is also transmitted. Star PRNT Command Specifications 2-94...
SM-L Series SM-S, T Series 0, 48 1, 49 2, 50 3, 51 4, 52 5, 53 6, 54 *1) See the appropriate printer specifications manual for details on the print modes that are available. Star PRNT Command Specifications 2-95...
[ 2-color Printing Mode Installed print mode depends on the model. *1 ] mPOP SM-L Series SM-S, T Series mC-Print3 mC-Print2 0, 48 1, 49 2, 50 3, 51 *1) See the appropriate printer specifications manual for details on the print modes that are available. Star PRNT Command Specifications 2-96...
The below settings are invalid Thai ・ANK fonts specialized for Thai are Page mode, International characters, slash 0 and large font selected. ・The baseline for Thai is adopted. (Reserved) (Reserved) (Reserved) (Reserved) (Reserved) (Reserved) Star PRNT Command Specifications 2-97...
When the UTF is valid, code page characters and Kanji characters are specified by the selected UTF code. Only Kanji character types which are installed on the printer and selected can be printed by the UTF code. Star PRNT Command Specifications 2-98...
MSW0-4=1: m=1 1 byte priority (At the time of shipment: m = 0) [Function] Specifies the 1byte or 2byte priority for ambiguous width characters (1byte/2byte) of Unicode. Function Name 1 byte priority 2 byte priority Star PRNT Command Specifications 2-99...
Traditional Chinese → Hangul n1 = 1, n2 = 2, n3 = 3, n4 = 4 Example 2) Parameter setting when outputting only Japanese kanji. n1 = 1, n2 = 0, n3 = 0, n4 = 0 Star PRNT Command Specifications 2-100...
Page 115
”, all characters are output using the highest preference, Japanese (Gothic). In order 验 for the font to be consistent within each word, the highest preference must be specified for each location where the language changes, as shown in Sending Example 1. Star PRNT Command Specifications 2-101...
(*) The printer which is not equipped with an auto-cutter works in the following ways. • Command for full cut at the current position Executes printing • Command for feeding paper to cutting position Executes printing and feeds paper to the tear bar position. Star PRNT Command Specifications 2-102...
Set page length to n x 24 mm units [Code] ASCII Hex. Decimal [Defined Area] 1≤n≤22 [Initial Value] (Form feed amount initial value x 42) [Function] When black mark is effective, this command is ignored. Star PRNT Command Specifications 2-103...
The specification of this command is not cleared by ESC @. However, print color is initialized to black by the ESC @ only when in the compatible 2 color print mode. Specifies 2 color print mode color 0, 48 Black 1, 49 Star PRNT Command Specifications 2-104...
Page 119
• Waits to stop printing when printing in single-color print mode. • Initializes print color setting (2-color print mode setting) • Sets logo print setting to 2 color mode setting. Invalid in page mode. Star PRNT Command Specifications 2-105...
Page 120
IBM block ignores white/black inversion. ESC 5 [Name] Cancellation of white/black inversion [Code] ASCII Hex. Decimal [Defined Area] - - - [Initial Value] White/black inversion cancelled [Function] Cancels white/black inversion for ANK characters and Kanji characters. Star PRNT Command Specifications 2-106...
This command is ignored. <F/W Ver.2.0 or later> If the hardware supports DK ports, this command is set as the drive condition of the external drawer. If the hardware does not support DK ports, this command is ignored. Star PRNT Command Specifications 2-107...
The internal drawer is driven by this command. <F/W Ver.2.0 or later> If the hardware supports DK ports, drawers (internal/external) subject to driving follow the memory switch settings. If the hardware does not support DK ports, the internal drawer is driven. Star PRNT Command Specifications 2-108...
When the external drawer is driven, it applies the drive setting conditions from the setting command (ESC BEL n1 n2) of the external drive device pulse width. If the hardware does not support DK ports, this command is ignored. Star PRNT Command Specifications 2-109...
(There is the possibility of damage if using this command for driving the drawer on models that support external device terminals.) Drive Pulse 20 × t1 (msec) 20 × t2 (msec) (Energizing Time) (Delay Time) Print Operation Printing and Paper Feed Prohibited Star PRNT Command Specifications 2-110...
= 20msec x n1 • Delay time: = 20msec x n2 Drives for external buzzers set using this command is performed by <ESC> <GS> <EM> <DC2> m n1 n2. The setting value is not initialized by <ESC> “@”. Star PRNT Command Specifications 2-111...
The buzzer can be stopped by pressing the paper feed switch or opening the cover when it is ringing. Example: For the additional specifications when a melody speaker is connected, refer to Appendix 10. For the melody speaker specifications, refer to the melody speaker product specifications. Star PRNT Command Specifications 2-112...
This command is ignored if the melody speaker is not connected when the printer power is turned on. Use of this command when a drawer is connected to the external device connection terminal is prohibited because it may damage the drawer. Star PRNT Command Specifications 2-113...
The barcode data transmission format from the printer <ESC> <GS> B 1 n Bit (n) Status No data in barcode buffer Data exists in barcode buffer No connection of barcode reader Barcode reader is connected to the printer 2 – 7 Reserved Star PRNT Command Specifications 2-114...
Page 129
: n1 + n2 x 256 ESC GS B 3 [Name] Buffer clear [Code] ESC GS ASCII Hex. Decimal [Defined Area] - - - [Initial Value] - - - [Function] A barcode buffer of a printer is cleared. Star PRNT Command Specifications 2-115...
[Code] ASCII Hex. Decimal [Function] Reads data of 2 tracks simultaneously. [Note] The printer waits to read a card. When reading is successful, the printer sends data to the host and exits the MSR mode. Star PRNT Command Specifications 2-116...
The printer waits to read a card. When reading is successful, the printer sends data to the host and exits the MSR mode. [Name] Cancel MSR mode [Code] ASCII Hex. Decimal [Function] Stops reading and exits the MSR mode. Star PRNT Command Specifications 2-117...
<ESC> <RS> B A n Bit (n) Status No data in customer display buffer Data exists in customer display buffer No connection of customer display Customer display is connected to the printer Reserved 2 – 7 Star PRNT Command Specifications 2-118...
• By selecting interleaved 2 of 5 bar code symbols, start and stop patterns are automatically inserted. • When the bar code data digit count is odd, a zero is added to the highest value digit. • Details conform to standards for AIM, USS-12/5, ANSI and JIS x 0502. Star PRNT Command Specifications...
Page 136
The check digit uses a modulus weight of 10/3 and is automatically applied. When the calculated value and the numerical value of the 12 digit differ, the calculated value has priority. Data conversion to rectangles is automatic. Data that cannot be shortened is processed as invalid data. Star PRNT Command Specifications...
• When start code is omitted: Uses START C when more than 4 digits continue after header. Uses START A when initial data other than numbers are the control code. Uses START B for other cases. Star PRNT Command Specifications...
• Check character (C, K) is automatically applied. • 2 character set expression conforms to Code 128. However, items marked with a star are codes that can only be used with Code 128, and not with Code 93. 4.1.6. NW7 (CODERBAR) NW7 normally uses either A through D as the start/stop codes and represents special symbols (- (minus sign)/$ (dollar sign)/: (colon)// (slash)/.
The available data ranges for each code set (CODE A, CODE B, CODE C) are shown in the following table. Bar code data for special characters (FNC1, FNC3) or “(“,”)”, “*”, “{“ sends double-byte characters as shown in the following table. Star PRNT Command Specifications...
Page 141
CODE C Hex. Decimal CODE A CODE B CODE C & & ‘ ‘ 7B, 28 123, 40 7B, 29 123, 41 7B, 2A 123, 42 < < > > 7B, 1E 123, 30 “ “ Star PRNT Command Specifications...
Page 142
CODE C Hex. Decimal CODE A CODE B CODE C 7B, 7B 123, 123 Special Characters Hex. Decimal CODE A CODE B CODE C 7B, 31 123, 49 FNC1 FNC1 FNC1 7B, 33 123, 51 FNC3 FNC3 Star PRNT Command Specifications...
Bar code data [“{“ + (“(“, “)”)] is printed as (“(“, “)”). When the setting for the bar code height is smaller than [module width x34], the bar code height is printed at the [module width x34]. (Except for HRI heights) Star PRNT Command Specifications...
00001111B (0F Hex) 00100001B (21 Hex) SM-L Series 00100011B (23 Hex) SM-S, T Series 00100101B (25 Hex) mPOP 00100111B (27 Hex) mC-Print2 00101001B (29 Hex) mC-Print3 00101011B (2B Hex) 00101101B (2D Hex) 00101111B (2F Hex) Star PRNT Command Specifications 4-10...
Page 145
Up to printer status 7 (9th byte) loaded 3 (06Hex) SM-S, T Series mPOP 4 (08 Hex) Up to printer status 9 (11th byte) loaded mC-Print2 5 (0A Hex) Up to printer status 10 (12th byte) loaded mC-Print3 Star PRNT Command Specifications 4-11...
Page 146
• BM Error On models that use a common PE and BM sensor, if a continuous error is detected beyond a determined amount, it indicates not a black mark error, but a paper out error. Star PRNT Command Specifications 4-12...
Page 147
The ETB counter is initialized by the following commands. When doing so, ASB ETB status is cleared. However, when initializing the ETB counter, ASB is not transmitted. <ETB Counter Initialization Commands> • <ESC> <RS> E n : ETB Counter Initialization Star PRNT Command Specifications 4-13...
Page 148
6 PCB thermistor error No error Error 5 Sensor adjustment error No error Error 4 Fixed at “0” 3 Printer Unit status Closed Open 2 Reserved (Fixed at “0”) 1 Reserved (Fixed at “0”) 0 Fixed at “0” Star PRNT Command Specifications 4-14...
Page 149
* ASB (Other than header 1) * * * * * 0 = Indicates a bit fixed to "0". / 1 = Indicates a bit fixed to "1". / * = Indicates a variable bit. Star PRNT Command Specifications 4-15...
・ If length is added to STAR ASB second byte Bit-7, then is set to Bit-7 = 1 Detect whether analysis of status detects all the bytes for ASB for the first byte STAR ASB, and length is added to the bit-7 for the 2nd byte for STAR ASB.
Page 151
“B” Variable Block “;” response length length Data (*1) For automatic status it is delivered to all hosts in the TCP # 9100 port connection. (*) Depending on a model, the installed MSW region differs. Star PRNT Command Specifications 4-17...
Page 153
2. Example configuration of Font B data. (9 x 24 font) The STAR mode is not loaded with Font B. However, when registering data, Font A and Font B must be registered as a set. When doing so, Font B data can be zero data.
4.4. Appendix 4 Maximum Number of Input Characters for Each Version of QR Code Model 1 Version and Maximum Number of Input Characters Mistake Cell Count on Number of English Version Correction Binary Kanji One Side Characters Characters Level 1030 1167 Star PRNT Command Specifications 4-20...
Page 155
Model 2 Version and Maximum Number of Input Characters [Model Limitations] SM-L200 : Able to print up to Version 9 Mistake Cell Count on Number of English Version Correction Binary Kanji One Side Characters Characters Level 1022 1101 1250 Star PRNT Command Specifications 4-21...
(LF, ESC J and the like), the line feed is automatically performed in the print region, and the expansion position of the print data is moved one line so the next expansion position is at the top of the line. The line feed amount at that time uses the line feed amount set by ESC 0. Star PRNT Command Specifications 4-24...
Page 159
Bar code 40 dots (GS k m) A Vertical 20 dots double 24 dots size Bit image Expanded Baseline character A 4 dots 8 dots HRI Character Point B Point B Point B 24 Dots Star PRNT Command Specifications 4-25...
For details on image buffer length and how to set print startup control, see the product specifications manual. Print starting trigger • Cutter command : <ESC> d n • FF command : <FF> • BM detection command : <ESC> d n, <FF> Star PRNT Command Specifications 4-27...
ISO-3 Track (MINTS) Recording Density 210 BPI Recording Capacity 107 characters Data Format Numeric Data Capacity 104 characters JIS-II (JIS) Recording Density 210 BPI Recording Capacity 72 characters Data Format Alphanumeric Data Capacity 69 characters Star PRNT Command Specifications 4-28...
ESC GS EM DC2 Ver1.3 or later - : Not supported *1 After a command is executed, the system waits until melody speaker playback is completed. *2 Command is ignored when a melody speaker is connected. Star PRNT Command Specifications 4-30...
StarLine mPOP mC-Print3 mC-Print2 SM-L200 SM-L300 SM-S, T Series ESC i ESC W ESC h ESC SO ESC DC4 ESC E ESC F ESC - ESC _ ESC 4 ESC 5 SI ● ESC GS b Star PRNT Command Specifications...
Page 166
SM-L300 SM-S, T Series ESC d • Reduced Printing Commands Model Name StarLine mC-Print3 mC-Print2 mPOP SM-L200 SM-L300 SM-S, T Series Only horizontal Only horizontal Only horizontal ● ESC GS c h v direction direction direction Star PRNT Command Specifications...
Page 167
ESC FS q ESC FS p ESC RS L • Bar code Commands Model Name StarLine mPOP SM-L200 SM-L300 SM-S, T Series mC-Print3 mC-Print2 ESC b (n1=0 to 8) ● ESC b (n1=9 to 13) *SM-S230i:Ver2.0 or later. Star PRNT Command Specifications...
Page 168
Model Name StarLine mPOP mC-Print3 mC-Print2 SM-L200 SM-L300 SM-S, T Series ESC @ ESC ACK CAN ESC ? • Memory Switch Command Commands Model Name StarLine mPOP mC-Print3 mC-Print2 SM-L200 SM-L300 SM-S,T Series ESC GS # Star PRNT Command Specifications...
Page 169
ESC C 0 ● ● ESC B • 2-Color Printing Related Commands Commands Model Name StarLine mPOP mC-Print3 mC-Print2 SM-L200 SM-L300 SM-S,T Series ● ESC RS c ● ESC RS C ● ESC 4 ● ESC 5 Star PRNT Command Specifications...
Page 170
StarLine mPOP SM-L200 SM-L300 SM-S,T Series mC-Print3 mC-Print2 ESC GS B @ V2.0 or later ESC RS B A V2.0 or later ESC GS B B V2.0 or later ESC GS B C V2.0 or later Star PRNT Command Specifications...
Page 172
SM-L200 SM-L300 SM-S,T Series ● ESC GS s O ● ESC GS s P ● ESC GS s R ● ESC GS s I ● ESC GS s U ● ESC GS s T Star PRNT Command Specifications...