background image

 

 
 

 

MPT Series 

Mobile Thermal Printer 

 

 

 

Technical Manual 

 

 

 

 

 

 

 

 

 

 

 

 

 

Summary of Contents for MPT Series

Page 1: ...MPT Series Mobile Thermal Printer Technical Manual...

Page 2: ...COMMANDS 9 3 1 1 ESC 9 3 1 2 FF 9 3 1 3 LF 10 3 1 4 CR 10 3 1 5 ESC J n 10 3 1 6 ESC d n 11 3 1 7 HT 11 3 2 CHARACTER COMMANDS 12 3 2 1 ESC n 12 3 2 2 GS n 13 3 2 3 ESC n 13 3 2 4 ESC E n 14 3 2 5 ESC...

Page 3: ...k 28 3 6 USER DEFINED CHARACTER COMMANDS 30 3 6 1 ESC n 30 3 6 2 ESC y c1 c2 x1 d1 d y x1 xk d1 d y xk 31 3 6 3 ESC 32 APPENDIX A INDEX OF PRINT CODES 33 APPENDIX B BARCODE 34 B 1 Barcode 34 B 2 Barc...

Page 4: ...ermal paper Thermal paper lable paper Paper Width 58mm 80mm Paper Roll Diameter Max 30 0mm Max 40 0mm Roll Core Inner Diameter 13mm min 13mm min Paper Thickness 0 06 to 0 07mm 0 06 to 0 07mm Paper Loa...

Page 5: ...right towards to each other angle shall not be more than 30 and no obstacles between them the distance shall be less than 0 5M MPT II IR and MPT III IR can communicate with the host device not only b...

Page 6: ...e using make sure whether RAW IR of your host device can work under this baud rate Otherwise please change baud rate When host device is on set RAW IR interface as follow Data bit 8 bit Stop bit 1 bit...

Page 7: ...ries printing tools software 2 2 1 Pairing Before printing MPT II BT and MPT III BT need pairing with main devices that drives the mobile thermal printer Pairing process originates from main devices P...

Page 8: ...nection yourself otherwise the printer can t work well or even cause loss to printer Buffer area capacity of printer is about 3K bytes When printing data is less than 3K byte there is no need to use f...

Page 9: ...tion Commands 3 1 1 ESC Name Initialize printer Format ASCII ESC Hex 1B 40 Decimal 27 64 Description Initialize the printer All settings including character font and line spacing settings are canceled...

Page 10: ...This command sets the print position to the beginning of the line Reference CR Program example char SendStr 2 SendStr 0 n C language n feed line PrtSendData SendStr 1 3 1 4 CR Name Print and carriage...

Page 11: ...3 feeding 2 lines 3 1 7 HT Name Horizontal tab Format ASCII HT Hex 09 Decimal 9 Description HT moves the print start position to the next horizontal tab Note Set horizontal tab position by ESC D comma...

Page 12: ...rints character that is forth as much When underline mode is turned on 90 clockwise rotated characters and white black reverse characters cannot be underlines There are some characters with double hei...

Page 13: ...ion and horizontal direction reverse and that means the priority of this command is lower than SC V When these two commands are valid character rotates first and then enlarges Enlarge characters in th...

Page 14: ...27 69 n Range 0 n 255 Description Turn emphasized mode on off When the LSB least significant bit of n is 1 emphasize mode is turned on when LSB is 0 emphasized mode is turned off Note LSB of n is all...

Page 15: ...rse printing mode is turned off Only LSB of n is allowed to be used This command is effective for all characters except for HRI characters In white black reverse printing mode characters are printed i...

Page 16: ...SendStr 2 2 180 rotation PrtSendData SendStr 3 3 3 Print position commands 3 3 1 ESC nL nH Name Set absolute print position Format ASCII ESC nL nH Hex 1B 24 nL nH Decimal 27 36 nL nH Range 0 nL 255 0...

Page 17: ...han 8 tap position will be processed as general data Transfer n k according to ascending order put NULL code 0 at the end In this command nk n k 1 if nk n k 1 data after n k 1 processes as the general...

Page 18: ...Str 0 0x1B SendStr 1 2 PrtSendData SendStr 2 3 3 4 ESC 3 n Name Set line spacing Format ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n Range 0 n 255 Description Sets the line spacing to n vertical motion u...

Page 19: ...n n value and definition n definition 0 Left justification 1 Center 2 Right justification Note This command is enable only when processed at the beginning of a line This command is effective in the pr...

Page 20: ...Printing height is 8 dots or 24 dots width should not exceed printable area of black white bitmap Parameter definition as following Use m to select bitmap mode nl and nH set the dots of horizontal di...

Page 21: ...age dot line bitmap SendStr 6 0xFF SendStr 7 0x60 SendStr 8 0x1C SendStr 9 0x03 SendStr 10 0x1C SendStr 11 0x60 SendStr 12 0xFF SendStr 13 0 PrtSendData SendStr 14 print image Example2 m 1 8 dots sing...

Page 22: ...x60 SendStr 12 0xFF SendStr 13 0 PrtSendData SendStr 14 print image Example3 m 32 24 dots double width d1 d2 d3 indicate the first second and third list data dk indicates the kth list data bn indicate...

Page 23: ...ndStr 33 0xC0 SendStr 34 0x0C 10 SendStr 35 0x80 SendStr 36 0x40 SendStr 37 0x1C 11 SendStr 38 0x80 SendStr 39 0x60 SendStr 40 0x1C 12 SendStr 41 0x80 SendStr 42 0xFF SendStr 43 0xF8 13 SendStr 44 0x4...

Page 24: ...45 0x9F SendStr 46 0xF0 14 SendStr 47 0x7F SendStr 48 0x07 SendStr 49 0xC0 15 SendStr 50 0x3E SendStr 51 0x00 SendStr 52 0x00 16 SendStr 53 0x00 SendStr 54 0x00 SendStr 55 0x00 17 PrtSendData SendStr...

Page 25: ...endStr 1 SendStr 2 2 x 2 Width 16 dots SendStr 3 3 y 3 Height 24 dots Image data SendStr 4 0x00 SendStr 5 0x00 SendStr 6 0x00 1 SendStr 7 0x00 SendStr 8 0x00 SendStr 9 0x03 2 SendStr 10 0x00 SendStr 1...

Page 26: ...2 Double height 3 Double width double height Note If bit image data is not defined this command is ignored The print position is emphasized mode double strike mode underline character size or white b...

Page 27: ...finition as follow N Module width mm for multilevel bar code Binary level bar code Thin element width mm Thick element width mm 1 0 125 0 125 0 25 2 0 25 0 25 0 50 3 0 375 0 375 0 75 4 0 50 0 50 1 0 M...

Page 28: ...program example 3 5 4 GS k Name print bar code Format two formats in this command Format 1 0 m 8 ASCII GS k m d1 dk NUL Hex 1D 6B m d1 dk 00 Decimal 29 107 m d1 dk 0 Format 2 65 m 73 ASCII GS k m n d...

Page 29: ...size exceeds print area the exceeding part will be ignored Print mode emphasized mode double strike mode underline character size or white black reverse printing mode etc is not effect for this comma...

Page 30: ...1D SendStr 1 k SendStr 2 4 SendStr 3 SendStr 4 T SendStr 5 E SendStr 6 S SendStr 7 T SendStr 8 8 SendStr 9 0 SendStr 10 5 SendStr 11 2 SendStr 12 SendStr 13 0 PrtSendData SendStr 14 Use format 1 to pr...

Page 31: ...g character code c2 specifies end character code x specifies the number of dots in the horizontal direction define character A font x 12 define character B font y 12 k c2 c1 1 Note From 0x20 to 0x7E A...

Page 32: ...ndStr 18 0x40 SendStr 19 0x80 SendStr 20 0x20 5 SendStr 21 0x40 SendStr 22 0x80 SendStr 23 0x20 6 SendStr 24 0x40 SendStr 25 0x80 SendStr 26 0x20 7 SendStr 27 0x61 SendStr 28 0x80 SendStr 29 0x60 8 Se...

Page 33: ...ex of Print Codes HEX HEX HEX HEX HEX HEX HEX HEX 20 Bla nk 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 0 31 1 32 2 33 3 34 4 35 5 36 6 37 7 38 8 39 9 3A 3B 3C 3D 3E 3F 40 41 A 42 B 43 C 44 D 45 E...

Page 34: ...nclude parity check codes parity check codes have fixed algorithm ITF also known as INTERLEAVED 25 cross 25 codes INTERLEAVED 2 of 5 the length of data only can be even the data can include parity che...

Page 35: ...g regulation when print the black mark otherwise the black mark can t be recognized by the printer The black mark ready printing regulation Print position as the following figure shows the black mark...

Reviews: