Line Thermal Printer
StarPRNT
Command Specifications
Rev. 2.13
Star Micronics Co., Ltd.
Special Products Division
Страница 1: ...Line Thermal Printer StarPRNT Command Specifications Rev 2 13 Star Micronics Co Ltd Special Products Division...
Страница 2: ...R n 2 9 ESC n 2 10 ESC SP n 2 10 ESC c1 c2 n d1 d48 2 11 ESC c1 c2 n 2 12 ESC n 2 12 2 3 2 Kanji characters 2 13 ESC p 2 13 ESC q 2 13 ESC n 2 13 ESC s n1 n2 2 14 ESC t n1 n2 2 14 ESC r c1 c2 d1 dk 2...
Страница 3: ...GS P 1 2 34 ESC GS P 2 n 2 34 ESC GS P 3 xL xH yL yH dxL dxH dyL dyH 2 35 ESC GS P 4 nL nH 2 36 ESC GS P 5 nL nH 2 36 ESC GS P 6 2 37 ESC GS P 7 2 37 ESC GS P 8 2 37 2 3 12 Bit Image Graphics 2 38 ES...
Страница 4: ...sional Bar Code QR Code Command Details 2 62 ESC GS y S 0 n 2 64 ESC GS y S 1 n 2 64 ESC GS y S 2 n 2 64 ESC GS y D 1 m nL nH d1 d2 dk 2 65 ESC GS y D 2 a m1 n1L n1H d11 d12 d1k m2 n2L n2H d21 d22 d2k...
Страница 5: ...2 3 21 Print Settings 2 95 ESC RS d n 2 95 ESC RS r n 2 96 2 3 22 Special Command 2 97 ESC RS R n 2 97 2 3 23 UTF Command 2 98 ESC GS U pL pH fn parameter 2 98 Function 48 ESC GS U pL pH fn m fn 48 2...
Страница 6: ...RACTER CODE TABLES 3 1 4 APPENDIX 4 1 4 1 Appendix 1 Bar Code Specification Details 4 1 4 1 1 Code 39 4 1 4 1 2 Interleaved 2 of 5 4 1 4 1 3 JAN EAN UPC 4 2 4 1 4 Code 128 4 3 4 1 5 Code 93 4 5 4 1 6...
Страница 7: ...Mode Print Maximum Region 4 26 4 6 Appendix 6 Explanation of Print Startup Control Starting Printing When Set to Page Units 4 27 4 7 Appendix 7 Specifications of Magnetic Cards 4 28 4 7 1 Card Specifi...
Страница 8: ...printer 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 mark...
Страница 9: ...ji characters left right spaces ESC r Register Chinese download characters Kanji character control commands are ignored on printers not installed with Kanji character fonts those intended for overseas...
Страница 10: ...ng Commands Name LF Line feed ESC a Feed paper n lines ESC z Select line feed amount ESC 0 Specify line spacing to 3 mm ESC J n 4 mm line feed ESC I n 8 mm line feed Page control commands Commands Nam...
Страница 11: ...key code of the registered NV graphics ESC GS L fn 64 Send all key code of the NV graphics ESC GS L fn 65 Erase entire NV graphics data ESC GS L fn 66 Erase the specified NV graphics data ESC GS L fn...
Страница 12: ...ds Name ESC GS k cn 51 fn 67 Set 2D module siz ESC GS k cn 51 fn 71 Set The maximum width of the 2D GS1DataBar Expanded Stacked ESC GS k cn 51 fn 80 Store data in 2D symbol saving region ESC GS k cn 5...
Страница 13: ...tings Commands Name ESC RS d Set print density ESC RS r Set printing speed Special Commands Commands Name ESC RS R Specify the special location of use UTF Commands Commands Name ESC GS U fn 48 Selects...
Страница 14: ...Speaker Command Commands Name ESC GS s R Playback of received data Barcode Reader Command Commands Name ESC GS B 0 Send data to a barcode reader ESC GS B 1 Status Request ESC GS B 2 Barcode data requ...
Страница 15: ...ad of the next line then starts with the new print data Top of line The top of line is a state that satisfies the following conditions There is currently no print data in the line buffer The position...
Страница 16: ...equent 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 Proce...
Страница 17: ...er Set ESC RS F n Name Select font Code ASCII ESC RS F n Hex 1B 1E 46 n Decimal 27 30 70 n Defined Region 0 n 2 Initial Value n 0 Function Selects a font n Font mPOP mC Print2 mC Print3 SM L Series SM...
Страница 18: ...1 Icelandic O 8 Codepage 863 Canadian French O 9 Codepage 865 Nordic O 10 Codepage 866 Cyrillic Russian O 11 Codepage 855 Cyrillic Bulgarian O 12 Codepage 857 Turkey O 13 Codepage 862 Israel Hebrew O...
Страница 19: ...Latvian 1 O 77 Codepage 3012 Latvian 2 O 78 Codepage 3021 Bulgarian O 79 Codepage 3041 Maltese O 96 Thai Character Code 42 Thai O 97 Thai Character Code 11 Thai O 98 Thai Character Code 13 Thai O 102...
Страница 20: ...Codepage 1252 Windows Latin 1 O O 33 Codepage 1250 Windows Latin 2 O X 34 Codepage 1251 Windows Cyrillic O X 64 Codepage 3840 IBM Russian O X 65 Codepage 3841 Gost O X 66 Codepage 3843 Polish O X 67 C...
Страница 21: ...es from 80h to FFh are all blank A blank code page can be selected using the ESC GS t n command n 255 The following is the data written to the blank code page Font A 1 character 48 bytes 6144 bytes 48...
Страница 22: ...Star PRNT Command Specifications 2 8...
Страница 23: ...d with Hangeul language characters and DBCS setting Fixed at n 13 Function Specifies international characters When installed with Japanese language characters and DBCS setting this command is ignored...
Страница 24: ...Name Set ANK right space Code ASCII ESC SP n Hex 1B 20 n Decimal 27 32 n Defined Area 0 n 15 48 n 57 0 n 9 65 n 70 A n F Initial Value Memory switch setting Function Specify the right space amount of...
Страница 25: ...aracters can be registered to 20 H to 7F H If one has been already registered to an address it is overwritten When parameters c1 and c2 and n are outside of the defined area subsequent data is handled...
Страница 26: ...ess ESC n Name Specifies cancels ANK download characters Code ASCII ESC n Hex 1B 25 n Decimal 27 37 n Defined Area n 0 1 48 49 Initial Value ANK download characters cancelled Function Specifies cancel...
Страница 27: ...7 113 Defined Area Initial Value JIS Kanji character mode cancelled Function Cancel JIS Kanji character mode This command is ignored when UTF 8 is specified command ESC GS t 128 for DBCS ESC n Name Sp...
Страница 28: ...ntries by the memory switch Standard mode and page mode can be set independently of each other ESC t n1 n2 Name Set 1 byte Kanji character left right spaces Code ASCII ESC t n1 n2 Hex 1B 74 n1 n2 Deci...
Страница 29: ...ds up to d1 and dk Specification c1 c2 Registration count Japanese char JIS type c1 77h 21h c2 7Eh 94 characters Japanese char Shift JIS type c1 ECh 40h c2 7Eh 80h c2 9Eh 94 characters Kanji character...
Страница 30: ...nd is ignored if either n1 or n2 is outside of the defined area n1 Expanded high mPOP mC Print2 mC Print3 SM L200 SM L300 SM S T Series 0 48 Cancels expanded high O O O O 1 49 Specifies 2x high expans...
Страница 31: ...ide expansion 4 52 Specifies 5x wide expansion 5 53 Specifies 6x wide expansion ESC h n Name Specify cancel expanded high Code ASCII ESC h n Hex 1B 68 n Decimal 27 104 n Defined Area 0 n 5 48 n 53 0 n...
Страница 32: ...phasized printing selected Function Specifies emphasized printing for ANK characters and Kanji characters IBM block ignores emphasized printing ESC F Name Cancel emphasized printing Code ASCII ESC F H...
Страница 33: ...haracters and Kanji characters IBM block ignores underlines n Underline 0 48 Cancels underline 1 49 Specifies underline ESC _ n Name Specify cancel upperline Code ASCII ESC _ n Hex 1B 5F n Decimal 27...
Страница 34: ...ck inversion cancelled Function Specifies white black inversion for ANK characters and Kanji characters IBM block ignores white black inversion ESC 5 Name Cancel white black inversion Code ASCII ESC 5...
Страница 35: ...when at the top of the line 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 Logos Bar codes...
Страница 36: ...anging 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 ESC Q n Name Set right margin...
Страница 37: ...ANK character pitch includes the right space and expansion settings are enabled All other horizontal tabs set before setting the horizontal tab using this command are cancelled A maximum of 16 horizon...
Страница 38: ...ed Area 0 n1 255 0 n2 255 Initial Value Function Moves the printing position from the current position to the n1 n2 x 256 position This command is ignored if the print region is exceeded When n1 n2 x...
Страница 39: ...hat data The initial value for the amount of paper is set according to the memory switch settings ESC a n Name Feed paper n lines Code ASCII ESC a n Hex 1B 61 n Decimal 27 97 n Defined Area 1 n 127 In...
Страница 40: ...eed amount Standard mode and page mode can be set independently of each other n Line feed amount 0 48 Specifies 3 mm line feed amount 1 49 Specifies 4 mm line feed amount ESC 0 Name Specify line spaci...
Страница 41: ...ta Using this command will intermittently feed paper therefore it is normally recommended that this command not be used ESC I n Name n 8mm line feed Code ASCII ESC I n Hex 1B 49 n Decimal 27 73 n Defi...
Страница 42: ...rent form feed amount x n The page length set using this command is unaffected by changing the form feed amount later Moving to the top of the page is performed using the following commands Form feed...
Страница 43: ...n Defined Area 2 n 11 Initial Value Memory switch setting Function Sets the top margin at n mm from the top edge of the paper When the top margin is set to 10 mm or less the paper length cut length s...
Страница 44: ...ts in the image buffer length In case with print data longer than the image buffer length the 180 inversion function is ignored Also when printing is started by other than the 180 inversion trigger de...
Страница 45: ...e buffer is printed before the operation described above This command is ignored if the printer is not equipped with an auto cutter 3 51 Paper is fed to cutting position then a partial cut Print data...
Страница 46: ...lue h 0 Horizontal direction reduced printing setting invalid v 0 Vertical direction reduced printing setting invalid Function Set reduced printing h Set horizontal direction reduced printing 0 Invali...
Страница 47: ...cified by ESC GS P 3 set print region in page mode Switches the following command setting values that have independent values for both page and standard modes to the setting values of page mode Set sp...
Страница 48: ...page mode ESC GS P 5 Specify character vertical direction relative position in page mode ESC GS P 6 Print data in page mode ESC GS P 7 Print in page mode and recover ESC GS P 8 Cancel print data in p...
Страница 49: ...r vertical starting point is outside of the print region invalidate all settings If the horizontal or vertical length direction is 0 invalidate all settings The character expansion stating point is th...
Страница 50: ...lts is a fraction that is corrected to the minimum mechanical pitch and excess is discarded ESC GS P 5 nL nH Name Specify character vertical direction relative position in page mode Code ASCII ESC GS...
Страница 51: ...ed ESC GS P 7 Name Print in page mode and recover Code ASCII ESC GS P 7 Hexadecimal 1B 1D 50 37 Decimal 27 29 80 55 Function Lump prints data expanded to the entire print region and recovers to standa...
Страница 52: ...0 d 255 Initial Value Function Prints bit images using 3 dots wide and 3 dots high per 1 dot of input data The following shows the data processing in this command When n1 n2 x 256 x 3 exceeds the pri...
Страница 53: ...tial Value Function Prints bit images using 1 dot wide and 3 dots high per 1 dot of input data The following shows the data processing in this command When n1 n2 x 256 exceeds the printable region tha...
Страница 54: ...ots high per 1 dot of input data The following shows the data processing in this command When n1 n2 x 256 x 8 exceeds the printable region that is currently set only the data in the printing region is...
Страница 55: ...x 256 x 3 0 d 255 Initial Value Function Prints input bit images with 8 dots mm resolution for both horizontal and vertical The following shows the data processing in this command When n1 n2 x 256 x...
Страница 56: ...g 8tones X X X 5 1Block 1collar Grayscale printing 16tones X X X Grayscale printing 2tones 1bit 1dot Grayscale printing 8tones 1 bit 4dot Grayscale printing 16tones 1 bit 4dot n Print collar n Print c...
Страница 57: ...8 d79 d80 2 Grayscale printing 16 tones 8 tones data horizontal 64dot vertical 10dot ESC GS S m xL xH yL yH n d1 d2 dk m 5 n1 0 16 tones 8 tones black data d1 d2 d3 d4 d5 d6 d7 d8 d32 d33 d34 d35 d36...
Страница 58: ...x 256 specifies the number of dots in the vertical direction before compression K Compressed data count d1 d2 dk specifies the compressed data Data d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15...
Страница 59: ...L are the same function If parameter in each function exceeds 65533 bytes use GS 8 L Function Runs the process related to the graphics data specified by the function code fn Fn Code Function No Functi...
Страница 60: ...order from the MSB Ex When the total capacity is 1200 bytes 1200 Hex 31H 32H 30H 30H Decimal 49 50 48 48 is converted to 4 bytes of data This command is used when sending total capacity and the total...
Страница 61: ...fn 3 51 Function Sends the remaining capacity or unused area of NV graphics area in bytes Details Sends the number of bytes in the following format Transmission data Hex Decimal Data length Header 37...
Страница 62: ...he defined NV graphics key code list Details Sends the key code in the following format Transmission data Hex Decimal Data length Header 37H 55 1 Byte Identifier 72H 114 1 Byte Identifier information...
Страница 63: ...56 5 pL 5 pH 0 Parameter for ESC GS 8 L p1 p2 256 p3x65536 p4x16777216 5 p1 5 p2 0 p3 0 p4 0 Parameter are shared by for ESC GS L and GS 8 L m 48 fn 65 d1 67 d2 76 d3 82 Function Erases all NV graphic...
Страница 64: ...2 Defined Region Parameter for ESC GS L pL pH 256 4 pL 4 pH 0 Parameter for ESC GS 8 L p1 p2 256 p3x65536 p4x16777216 4 p1 4 p2 0 p3 0 p4 0 Parameter are shared by for ESC GS L and ESC GS 8 L m 48 fn...
Страница 65: ...8 L 12 p1 p2 256 p3x65536 p4x16777216 4294967295 0 p1 255 0 p2 255 0 p3 255 0 p4 255 Parameter are shared by for ESC GS L and ESC GS 8 L m 48 fn 67 a 48 32 kc1 126 32 kc2 126 b 1 2 1 xL xH 256 8192 0...
Страница 66: ...dk are processed as one item of the defined NV graphics data Bits that correspond to the dots to print are 1 and the bits that correspond to the dots that are not printed are 0 When single color b 1...
Страница 67: ...de If any data exists in the print buffer the data for this counter is discarded Data for this counter is discarded in page mode If graphics that exceeds the print area size is specified the data with...
Страница 68: ...graphics data processing pL and pH specify the parameter count pL pH x 256 in bytes after fn See the function specifications for details on parameter Fn Function No Function Name 48 Function 48 Send...
Страница 69: ...le colors is stored the logo data of the n 1 color is added after the logo data of the n th color and calculated The CRC operation is as follows CRC16 P olynomial x16 x15 x2 x0 Initial value FFFF Hex...
Страница 70: ...efine CRC16 0xA001 unsigned int CalcCrc16 int size unsigned char data unsigned int result int i j result 0xFFFF for i 0 i size i result data i for j 0x0001 j 0x0100 j j 1 if result 0x0001 result 1 res...
Страница 71: ...owing data is transmitted instead ESC GS L pL pH fn kc1 kc2 LF NUL Reference ESC GS L ESC GS 8 L Function 50 ESC GS L p L p H f n d 1 d 2 Name Send all key code of the registered NV graphics Code ASCI...
Страница 72: ...cs The registered data is transmitted in the format below ESC GS L pL pH fn kc1 kc2 b xL xH yL yH c d1 dk 1 c d1 dk b LF NUL Data below shall become as the parameter defined by the NV graphics data de...
Страница 73: ...O 6 54 Code128 O O O O 7 55 Code93 O O O O 8 56 NW 7 O O O O 9 57 GS1 128 O X O O 10 65 GS1 DataBar Omnidirectional O X O O 11 66 GS1 DataBar Truncated O X O O 12 67 GS1 DataBar Limited O X O O 13 68...
Страница 74: ...ar code is not guaranteed n4 bar code height dot count Form feed at Bar code height underbar characters k Bar code data count d Bar code data Bar code type Defined area of k Defined area of d UPC E 11...
Страница 75: ...and maximum value differs according to the mode If data is oddly numbered a 0 is applied to the top CODE 128 k is freely set and maximum value differs according to the mode and the print character typ...
Страница 76: ...ing when codes are large ESC GS y S 1 Sets the error correction level QR codes can be read even if a part of the data is corrupted by using error correction Raising this level increases the size of th...
Страница 77: ...ialize command ESC Turning the power OFF When there is an error in sending a command with 2 the set data is cleared and the command itself is disabled 4 is sent when necessary Printing When printing p...
Страница 78: ...vel Code ASCII ESC GS y S 1 n Hex 1B 1D 79 53 31 n Decimal 27 29 121 83 49 n Defined Area 0 n 3 Initial Value n 0 Function Sets the mistake correction level Parameter details n Mistake Correction Leve...
Страница 79: ...bar code and sets the data Parameter details nL nH x 256 Byte count of bar code data dk Bar code data Max 7089 bytes When using this command the printer receives data for the number of bytes k specif...
Страница 80: ...wer 8 bits are 0x40 to 0x7E and 0x80 to 0xFC The printer receives the data type specified by m and the data of the number of bytes k specified by nL and nH based on the block count specified by a 1 bl...
Страница 81: ...ea Initial Value Function Prints bar code data 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...
Страница 82: ...e ESC GS x S 1 specifies values of error correction levels PDF417 can read information even if a portion of the data is corrupted by using the error correction By increasing this level the bar code si...
Страница 83: ...ting When printing position shifting according to the horizontal tab absolute position specification relative position specification and position alignment is valid Upside down printing and two color...
Страница 84: ...lines 0 3 to 90 p2 Number of columns 0 1 to 30 However p1 p2 928 When either p1 or p2 specifies 0 it indicates that that setting value is variable Setting the bar code size using this command specifi...
Страница 85: ...a count dk Bar code data Maximum 1024 data When nL nH x 256 is outside of the definition data of nL nH x 256 bytes is discarded Model Limitations SM L200 Maximum data size 128 Bytes ESC GS x P Name Pr...
Страница 86: ...taBar Stacked Omnidirectional GS1 DataBar Expanded Stacked 52 GS1 compound symbol 2 dimensional code cn fn Function No Function Name 51 67 Function 367 2D GS1 DataBar Set module size 71 Function 371 2...
Страница 87: ...125 mm 1 203 inches units Reference ESC GS k Function 381 ESC Function 371 ESC GS k pL pH cn fn nL nH cn 51 fn 71 Name 2D GS1 DataBar Set The maximum width of the 2D GS1DataBar Expanded Stacked Code...
Страница 88: ...of Symbol Data k ASCII Data d 72 GS1 Databar Stacked k 13 0 to 9 48 d 57 73 GS1 Databar Stacked Omnidirectional k 13 0 to 9 48 d 57 76 GS1 Databar Expanded Stacked 2 k 255 0 9 A Z a z SP _ 48 d 57 65...
Страница 89: ...and prints bar code data or deploys it to the image buffer This command is ignored when one of the following errors occurs Error that occurs when the bar code is generated due to the combination of ea...
Страница 90: ...as 0 125 mm 1 203 inches Reference ESC GS k Function 481 ESC Function 471 ESC GS k pL pH cn fn nL nH cn 52 fn 71 Name Compound symbol Set The maximum width of the 2D GS1DataBar Expanded Stacked Code A...
Страница 91: ...RI font 0 48 not printed 1 49 printed Select font A 12x24 2 50 printed Select font B 9x24 Details Data stored in the symbol saving region by this function is processed using function 481 When Print HR...
Страница 92: ...aBar Stacked k 13 0 to 9 48 d 57 73 GS1 DataBar Stacked Omnidirectional k 13 0 to 9 48 d 57 74 GS1 DataBar Limited k 13 0 to 9 48 d 57 However d1 48 49 75 GS1 DataBar Expanded 2 k 255 0 9 A Z a z SP _...
Страница 93: ...mmand prints bar code data or deploys it to the image buffer This command is ignored when one of the following errors occurs Error that occurs when the bar code is generated due to the combination of...
Страница 94: ...al character external register character data is retained Page length Current position move to top of page top of line Horizontal tab Line feed amount Set upside down position alignment Left right mar...
Страница 95: ...nitial 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 Whe...
Страница 96: ...olatile memory by the command to write the printer executes a reset You can load the default settings by specifying m 42 You can register any 16 bit data by specifying N 85 U See the Special Appendix...
Страница 97: ...g the memory switch Therefore the command specifications vary depending on the memory switch setting as follows n Command function selection by memory switches Status transmission conditions Status tr...
Страница 98: ...nting has ended then sets the ASB ETB status 4 Sends ASB only when ASB is enabled Precautions when using Ethernet When multi session is valid the ASB ETB counter sent by ETB is sent to all hosts that...
Страница 99: ...1 Data timeout setting n2 0 Timeout disabled Others n2 Data timeout time units seconds 1 to 255 seconds n1 2 Sends the current timeout setting to the host n2 0 The data formats sent to the host when s...
Страница 100: ...GS ETX 0x02 0x02 0x00 ESC GS ETX 0x00 0x02 0x00 ESC GS ETX 0x00 0x02 0x00 0x00 0x00 Clear Counter Reference Counter Print Data ESC GS ETX 0x01 0x02 0x11 ESC GS ETX 0x01 0x02 0x11 0x01 0x00 Reference U...
Страница 101: ...etermined to have been disconnected when no data is received for a specified period of time at the data read section of the printer When a disconnection is detected during a command execution the comm...
Страница 102: ...printer information processing pL and pH specify the number of parameters after fn as pL pH 256 bytes See the function specifications for details on parameter fn Function No Function Name 48 Function...
Страница 103: ...tes k1 k2 256 transmitted after the multibyte font type When two or more multibyte fonts are installed the fonts are transmitted separated by a separator 2Ch The multibyte font type is transmitted as...
Страница 104: ...ng information Information a set of a tag and a parameter is transmitted in order from the top of the list shown below only if it corresponds to the printer LF NUL represents a termination and the tag...
Страница 105: ...etooth iOS Port Name Fixed 16 digits NUL is filled when less than 16 digits BtDsC Bluetooth Search Permission Setting Search prohibited BtDsC 00 Search permitted BtDsC 01 BtAdS Bluetooth Address Fixed...
Страница 106: ...set of a tag and a parameter is separated by a delimiter 2CH The number of parameters varies depending on the printer which is transmitting information Information a set of a tag and a parameter is tr...
Страница 107: ...t Detail Information is transmitted in the following format ESC GS I pL pH fn k1 k2 I F type1 I F type2 LF NUL k1 and k2 indicate the number of transmission data bytes k1 k2 256 after the I F types Wh...
Страница 108: ...MCS10 is connected to the external device and the MCS10 FW version is 1 0 ESC GS I pL pH fn k1 k2 DkMdl MCS10 DkVer 1 0 LF NUL k1 24 k2 0 When an external device is not connected or when a connected e...
Страница 109: ...2 SM L Series SM S T Series mC Print3 0 48 Print density 3 Medium Middle Print density 3 1 49 Print density 2 Low Low Print density 2 2 50 Print density 1 High High Print density 1 3 51 Standard print...
Страница 110: ...setting becomes valid when returned from the two color print mode to the single color print mode Invalid in page mode Single Color Printing Mode N mPOP SM L Series SM S T Series mC Print3 mC Print2 0...
Страница 111: ...ttings by this command If choose destination that is currently selected executes initialization of various settings The printer reset or initialize command initializes the setting of this command Inva...
Страница 112: ...nction Name 48 Function 48 Select UTF Code 64 Function 64 Set 1byte priority or 2byte priority Function 48 ESC GS U pL pH fn m fn 48 Name Select UTF Code Code ASCII ESC GS U pL pH fn m Hex 1B 1D 29 55...
Страница 113: ...29 41 85 pL pH fn m Defined range pL 2 pH 0 fn 64 m 0 1 Initial Value Spec A m 0 Spec B According to setting of memory SW Specification for the location of use SBCS MBCS MSW0 4 0 m 0 MSW0 4 1 m 1 1 by...
Страница 114: ...tional Chinese Simplified Chinese Japanese language characters Hangeul language Function Set the font for the output language for Unicode CJK Unified Ideographs Set the font language for parameter n1...
Страница 115: ...0 n3 0 n4 0 To output Simplified Chinese only n1 3 n2 0 n3 0 n4 0 To output Traditional Chinese only n1 4 n2 0 n3 0 n4 0 Hangul only n1 1 n2 0 n3 0 n4 0 To output Japanese only Japanese is specified b...
Страница 116: ...ter executing top of form paper is fed to cutting position then a full cut Print data in line buffer is printed before the operation described above This command is ignored if the printer is not equip...
Страница 117: ...I ESC C n Hex 1B 43 n Decimal 27 67 n Defined Area 1 n 127 Initial Value Form feed amount initial value x 42 Function When black mark is effective this command is ignored ESC C 0 n Name Set page lengt...
Страница 118: ...9 n Defined Area 0 n 1 48 n 49 0 n 1 Initial Value n 0 48 When in 2 color print mode Function Specifies print color in 2 color print mode This command is ignored when not in the 2 color print mode Spe...
Страница 119: ...ode if unprinted data exists in the line buffer Waits to stop printing when printing in 2 color print mode Recovers logo print setting to single color mode setting 1 49 Select 2 color printing mode Wh...
Страница 120: ...ersion cancelled Function Specifies white black inversion for ANK characters and Kanji characters IBM block ignores white black inversion ESC 5 Name Cancellation of white black inversion Code ASCII ES...
Страница 121: ...elay time 200 msec Function Sets the energizing and delay times for drive of the external device Energizing time 10 x n1 ms Delay time 10 x n2 ms Restrictions by model For mPOP the restrictions differ...
Страница 122: ...ct to driving follow the memory switch settings If the hardware does not support DK ports the internal drawer is driven FS Name External device 1 drive instruction Code ASCII FS Hex 1C Decimal 28 Defi...
Страница 123: ...s 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 EM Name External device...
Страница 124: ...zzer Drive Terminal 1 2 50 Buzzer Drive Terminal 2 t1 specifies energizing time t2 specifies the delay time Energizing time 20 msec x t1 Delay time 20 msec x t2 The buzzer will not ring while printing...
Страница 125: ...0 n2 0 Function Sets external buzzer derive pulse condition m specifies the buzzer drive terminal to perform the condition settings M Buzzer Drive Terminal 1 49 Buzzer Drive Terminal 1 2 50 Buzzer Dr...
Страница 126: ...er Drive Terminal 1 2 50 Buzzer Drive Terminal 2 Specifies the number of repetitions of the buzzer drive with n2 x 256 n1 The buzzer will not ring while printing This command is prohibited for uses ot...
Страница 127: ...ies depending on the sampling frequency and number of quantizing bits of the sound data for playback z Sampling frequency Quantizing bits Maximum number of seconds that can be registered 1 12 8kHz 8bi...
Страница 128: ...Area n1 n2x256 BYTE count 1 d 65535 K n1 n2x256 Initial Value Function The serial command is sent to a barcode reader ESC GS B 1 Name Status request Code ASCII ESC GS B 1 Hex 1B 1D 42 31 Decimal 27 29...
Страница 129: ...Function Acquire barcode data or the cereal command from a barcode reader The barcode data transmission format from the printer ESC GS B 2 n1 n2 d1 dk n1 n2x256 BYTE count 1 d 65535 k n1 n2 x 256 ESC...
Страница 130: ...card When reading is successful the printer sends data to the host and exits the MSR mode ESC M D Name Read ISO track Code ASCII ESC M D Hex 1B 4D 44 Decimal 27 77 68 Function Reads track data Note T...
Страница 131: ...G Hex 1B 4D 47 Decimal 27 77 71 Function Reads data of ISO track 3 Note The printer waits to read a card When reading is successful the printer sends data to the host and exits the MSR mode ESC M J Na...
Страница 132: ...1 d 65535 k n1 n2x256 Initial Value Function The customer display command is sent to a customer display ESC RS B A Name Status request Code ASCII ESC RS B A Hex 1B 1E 42 41 Decimal 27 30 66 65 Defined...
Страница 133: ...e Function Acquire customer display data from a customer display The customer display data transmission format from the printer ESC GS B B n1 n2 d1 dk n1 n2x256 BYTE count 1 d 65535 k n1 n2 x 256 ESC...
Страница 134: ...Star PRNT Command Specifications 3 1 3 CHARACTER CODE TABLES Refer to the separate Character Code Tables...
Страница 135: ...aracter Spacing 2 dots 3 dots 4 dots 2 dots 3 dots 4 dots 2 dots 3 dots 4 dots Length of 1 Character 4 mm 6 mm 8 mm 3 625 mm 5 625 mm 7 25 mm 3 25 mm 4 875 mm 6 5 mm The length of 1 character includes...
Страница 136: ...d the numerical value of the 8th digit differ the calculated value has priority JAN EAN 13 Data is in 12 or 13 digits The command is ignored for others The check digit uses a modulus weight of 10 3 an...
Страница 137: ...host PC so the control codes are sent as data as shown below When sending the following data it represents a 2 character set 25H represents 0 25H 30H Control codes 00H to 1FH represent 40H to 5FH app...
Страница 138: ...BEL 07H G 25H 47H FNC4 4 25H 34H BS 08H H 25H 48H HT 09H I 25H 49H Start Codes LF 0AH J 25H 4AH Code Format VT 0BH K 25H 4BH START A 6 25H 36H FF 0CH L 25H 4CH START B 7 25H 37H CR 0DH M 25H 4DH START...
Страница 139: ...gn colon slash period plus sign between 0 to 9 These are used as carrier package marking bar codes DPE photo prints and for medical related industries USA 1 Length of 1 character in each mode Items Mo...
Страница 140: ...in encoding data 29 41 The first after d1 is the data division identifier for identifying AI The is reflected by the HRI but is not included in the encoding data 2A 42 The check digit calculated by m...
Страница 141: ...48 0C 12 FF 12 31 49 1 1 49 0D 13 CR 13 32 50 2 2 50 0E 14 SO 14 33 51 3 3 51 0F 15 SI 15 34 52 4 4 52 10 16 DLE 16 35 53 5 5 53 11 17 DC1 17 36 54 6 6 54 12 18 DC2 18 37 55 7 7 55 13 19 DC3 19 38 56...
Страница 142: ...77 119 w 53 83 S S 83 78 120 x 54 84 T T 84 79 121 y 55 85 U U 85 7A 122 z 56 86 V V 86 7B 7B 123 123 57 87 W W 87 7C 124 58 88 X X 88 7D 125 59 89 Y Y 89 7E 126 5A 90 Z Z 90 7F 127 DEL 5B 91 91 5C 9...
Страница 143: ...pplication identifiers and check digits When HRI printing is enabled 18 digits of 01 d1 d13 check digit are printed by the HRI When the setting for the bar code height is smaller than module width x10...
Страница 144: ...osition 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 recei...
Страница 145: ...der 2 received Header 2 Second Byte Bit Contents Status Model Compatability 0 1 mPOP L Series S T Series mC Print3 mC Print2 7 ASB Status Expansion No Expansion Expansion 6 Not Used Fixed at 0 5 Versi...
Страница 146: ...drawer F W Ver 2 0 or later If the hardware supports DK ports OPEN indicates that either the internal drawer or external drawer are open while CLOSE indicates that both are closed If the hardware doe...
Страница 147: ...ed Fixed at 0 1 Reserved Fixed at 0 0 Fixed at 0 Printer status 6 ETB Counter Eighth Byte Bit Contents Status Model Compatability 0 1 mPOP L Series S T Series mC Print3 mC Print2 7 Fixed at 0 6 ETB Co...
Страница 148: ...C Print3 mC Print2 7 Fixed at 0 6 Stopped printing due to high PCB temperature No Stop Stop OK No No OK OK 5 Drawer open error No error Error OK No No No No 4 Fixed at 0 3 FLASH access error No error...
Страница 149: ...communication I F Bit2 Bit1 During communication I F 0 0 USB B 0 1 USB A 1 0 Bluetooth 1 1 Ethernet 4 Notes While the automatic status is valid do not use ESC ACK SOH Before using these inquiry comman...
Страница 150: ...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 Furthermore by obtaining the number of bytes of subsequent Status Data with the length...
Страница 151: ...rrence factor Type Length Status ASB Automatic status 1 ASB 0x0000 ESC ACK SOH Request printer status ASB 0x0000 ESC GS ETX n1 n2 Request print end counter ASB 0x000F 20 B 0x0008 Status Request other...
Страница 152: ...using the command below ESC GS 1 Example configuration of Font A data 12 x 24 font MSB LSB MSB LSB d1 d2 0 0 0 0 d3 d4 0 0 0 0 d5 d6 0 0 0 0 d7 d8 0 0 0 0 d9 d10 0 0 0 0 d11 d12 0 0 0 0 d13 d14 0 0 0...
Страница 153: ...0 0 0 0 d29 d30 0 0 0 0 0 0 0 d31 d32 0 0 0 0 0 0 0 d33 d34 0 0 0 0 0 0 0 d35 d36 0 0 0 0 0 0 0 d37 d38 0 0 0 0 0 0 0 d39 d40 0 0 0 0 0 0 0 d41 d42 0 0 0 0 0 0 0 d43 d44 0 0 0 0 0 0 0 d45 d46 0 0 0 0...
Страница 154: ...154 106 65 M 191 116 80 49 Q 157 95 66 40 H 105 63 44 27 6 41 L 321 194 134 82 M 249 151 104 64 Q 201 122 84 51 H 133 81 56 34 7 45 L 402 244 168 103 M 311 188 130 80 Q 253 154 106 65 H 167 101 70 43...
Страница 155: ...64 44 27 6 41 L 322 195 134 82 M 255 154 106 65 Q 178 108 74 45 H 139 84 58 36 7 45 L 370 224 154 95 M 293 178 122 75 Q 207 125 86 53 H 154 93 64 39 8 49 L 461 279 192 118 M 365 221 152 93 Q 259 157...
Страница 156: ...9 314 H 969 587 403 248 22 105 L 2409 1460 1003 618 M 1872 1134 779 480 Q 1358 823 565 348 H 1056 640 439 270 23 109 L 2620 1588 1091 672 M 2059 1248 857 528 Q 1468 890 611 376 H 1108 672 461 284 24 1...
Страница 157: ...3183 2188 1347 M 4134 2506 1722 1060 Q 2949 1787 1228 756 H 2301 1394 958 590 35 157 L 5529 3351 2303 1417 M 4343 2632 1809 1113 Q 3081 1867 1283 790 H 2361 1431 983 605 36 161 L 5836 3537 2431 1496 M...
Страница 158: ...rections the x direction when there is no rotation when printing is rotated 90 or 270 are larger than that For details see the setting ESC GS P 3 command of the print region in page mode 4 5 3 Print D...
Страница 159: ...on Position of Print Data For SM S and T series the base line is the upper end of each data Bar Code Height h dots Bar code 40 dots GS k m Vertical 20 dots double 24 dots size Expanded Bit image chara...
Страница 160: ...176 1 170 3 54mm 117 3mm 54mm 300mm 50 8mm 150 1 170 3 50 8mm 117 3mm 50 8mm 300mm SM L200 48mm 128 1 96 9 48mm 117 3mm 48mm 300mm SM L300 72mm 64 2 96 9 72mm 117 3mm 72mm 300mm SM S210 SM S220 SM S23...
Страница 161: ...ng starts when the image buffer length is full or the following commands are run If data with vertical movement such as line feed is received printing starts after a 1 second timeout For details on im...
Страница 162: ...Capacity 79 characters Data Format Alphanumeric Data Capacity 76 characters ISO 2 Track ABA Recording Density 75 BPI Recording Capacity 40 characters Data Format Numeric Data Capacity 37 characters I...
Страница 163: ...37 1Ch 03h 0Dh 0Ah Track 3 02h 44h 31h 31h 1Ch DATA 104 03h 0Dh 0Ah Track 2 3 02h 45h 31h 31h 1Ch 1Ch DATA 37 1Ch DATA 104 1Ch 03h 0Dh 0Ah 1 2 3 Track Version Track 1 02h 43h 31h 31h 1Ch DATA 76 1Ch 0...
Страница 164: ...ndicated in the table below Command Model Name mPOP SM L200 SM L300 SM S T Series mC Print3 mC Print2 BEL 1 Ver1 3 or later FS 1 Ver1 3 or later SUB 2 Ver1 3 or later EM 2 Ver1 3 or later ESC GS EM DC...
Страница 165: ...K No No No OK OK OK ESC OK No No No OK OK OK ESC M OK ESC P OK ESC OK ESC g OK Chinese characters Commands Model Name StarLine mPOP SM L200 SM L300 SM S T Series mC Print3 mC Print2 ESC p OK No No No...
Страница 166: ...OK OK Page control commands Commands Model Name StarLine mPOP SM L200 SM L300 SM S T Series mC Print3 mC Print2 FF OK OK OK OK OK OK OK ESC C OK OK OK OK OK OK OK ESC C 0 OK OK OK OK OK OK OK VT OK ES...
Страница 167: ...OK OK OK OK OK OK OK ESC GS X m No OK OK No No No No Logos Commands Model Name StarLine mPOP SM L200 SM L300 SM S T Series mC Print3 mC Print2 ESC GS L fn 48 OK OK OK OK OK OK OK ESC GS L fn 51 OK OK...
Страница 168: ...OK OK ESC GS x P OK V1 1 or later OK OK OK OK OK 2D GS1 code Compound symbol Commands Commands Model Name StarLine mPOP SM L200 SM L300 SM S T Series mC Print3 mC Print2 ESC GS k cn 51 fn 67 OK No OK...
Страница 169: ...ESC RS d OK OK OK OK OK OK OK ESC RS r OK No OK OK OK OK OK Special Commands Commands Model Name StarLine mPOP SM L200 SM L300 SM S T Series ESC RS R V 1 2 or later No No No UTF Commands Commands Mod...
Страница 170: ...ne mPOP SM L200 SM L300 SM S T Series mC Print3 mC Print2 ESC GS B 0 OK No No No OK OK ESC GS B 1 OK No No No OK OK ESC GS B 2 OK No No No OK OK ESC GS B 1 OK No No No OK OK Magnetic Card Reader Comma...
Страница 171: ...K k n1 n2 d1 dk OK ESC r Y OK ESC FF NUL OK ESC FF EOT OK ESC r N OK ESC r V OK ESC r S OK ESC r s 0 OK ESC r s 1 OK ESC r s 2 OK ESC r s 3 OK Mark Commands Commands Model Name StarLine mPOP SM L200 S...
Страница 172: ...L300 SM S T Series ESC GS h 0 OK ESC GS h 1 OK Print starting trigger Commands Model Name StarLine mPOP SM L200 SM L300 SM S T Series mC Print3 mC Print2 ESC GS g 0 OK ESC GS g 1 OK Presenter Related...
Страница 173: ...URL http www starmicronics com support...