background image

SPRT

®

SP-RMDIIID/SP-RMDIVD

MINI THERMAL PRINTER

User Manual

(VER 1.03)

Beijing Spirit Technology Development Co., Ltd

www.sprt-priner.com

Содержание SP-RMDIIID

Страница 1: ...SPRT SP RMDIIID SP RMDIVD MINI THERMAL PRINTER User Manual VER 1 03 Beijing Spirit Technology Development Co Ltd www sprt priner com...

Страница 2: ...ection 9 3 1 3 The printer parameter setting 10 3 2 Light and button operation 13 3 3 Self test and HEX 14 3 4 Printer initialization 16 Chapter 4 Printing commands 17 4 1 Summary 17 4 2 Commands Desc...

Страница 3: ...aracters Chinese characters have 24 24 16 16dots secondary character selection as well as a large number of mathematical symbols special symbols graphics curve Can change through the command to print...

Страница 4: ...M DIIID DIVD installation size 103 5mm 57 5mm W H Depth 61mm DIIID DIVD outer dimension 110mm 64mm 72 5mm W H D Printing characters Chinese GB18030 16 16 24 24 English ASCII 5 7 12 24 8 16 Graphic sup...

Страница 5: ...eeding button and LF lamp is power light The combination of Button SEL and LF can modify printer parameters Refer to Chapter 3 1 3 Printing paper thermal paper width 57 5 0 5mm MCBF MCBF Mean Cycles B...

Страница 6: ...4 Chapter 2 Install Instruction 2 1 Outer appearance 2 1 1 Open Button 2 Self Button Error 3 Lf Button Power indicator 4 Paper roll...

Страница 7: ...5 2 2 Outer dimension 2 2 SP RMDIIID model picture...

Страница 8: ...6 2 2 SP RMDIVD model picture 2 3 Paper install Press the button to open the door After loading the paper roll close the door...

Страница 9: ...col the interface type is IDC10 PIN socket and 5 PIN SIL each types of socket cords number are defined as follows IDC10 pin number definition shown as figure 3 1 1 9 2 10 3 1 Serial interface IDC10 pi...

Страница 10: ...e means the source for the signal The signal logic is divided into EIA and TTL level due to insert different sockets Under the serial interface connect the baud rate and data structure can be set with...

Страница 11: ...el interface is compatible with CENIRONICS whose interface socket is 26 lines flat cable or replace model Parallel interface pin number shown as below 1 2 5 2 6 2 3 3 Parallel interface pin number Par...

Страница 12: ...online 4 ERR output Via resistance pull up to high level mean no trouble 2 6 8 NC Not connected 10 12 14 16 18 20 22 24 GND Ground connect logic 0 level 3 4 Parallel interface cords define Mark input...

Страница 13: ...Press LF button once the setting item will go to the next Exit the parameter Settings press the LF button then press SEL button release LF button and SEL button print out Exit Set Mode notice message...

Страница 14: ...nal character 2 The standard model 24 models only support interface secondary character GB2312 a pattern 16 point models sup interface BIG5 and traditional GB12345 choice 4 Printing Font Description c...

Страница 15: ...RMDIVD VS VQ VPH voltage input DC9V 24V Electric current 3A 3 2 Light and button operation The function of each button is different according to the different working mode Refer the detailed to 3 1 3...

Страница 16: ...nd The nose heating plate damage irreversible need to repair Mark When the printer is in a state of busy red light will light up 3 3 Self test and HEX Self test can test whether the printer is working...

Страница 17: ...content of each configuration is according to the actual content of printed receipt The above picture is just for reference 2 The specific content of each item set can reference 3 1 3 printer paramete...

Страница 18: ...r loosen LF button The red indicator will continue to flash After flashing three times again the flashing stops The printer will print out Hexadecimal Dump Now the printer enters into the hex printing...

Страница 19: ...uence Explanation the function of command and usage method Example some examples are listed to illustrate the command for better understanding The following is the description of each command accordin...

Страница 20: ...e Spacing Format ASCII ESC 1 n Decimal 27 49 n Hexadecimal 1B 31 n Explanation The n dot line spacing is set for future Line Feed command n 0 255 Default setting n 3 for text printing n 0 for bitmap p...

Страница 21: ...66 2 5 8 0 Hexadecimal 1B 42 02 05 08 00 The BASIC programs about the above example are as below LPRINT CHR 27 B CHR 2 CHR 5 CHR 8 CHR 0 ESC B command LPRINT CHR 11 VT command LPRINT SPRM1 print chara...

Страница 22: ...ues at 2nd 9th line 14th character position in one line ASCII ESC D STX HT SO NUL Decimal 27 68 2 9 14 0 Hexadecimal 1B 44 02 09 0E 00 The BASIC programs for this example are as below LPRINT 123456789...

Страница 23: ...width the printer will continue to print blank in the next line When m 1 paper will feed n current line heights Example print 6 blank characters in one line you can send the following commands ASCII E...

Страница 24: ...s model printer Default n 0 that means no right margin This command sets absolute position and won t be influenced by character commands ESC U and ESC W After setting this command the printer will car...

Страница 25: ...cter Setting Commands ESC U Enlarge Width Format ASCII ESC U n Decimal 27 85 n Hexadecimal 1B 55 n Explanation After inputting this command the characters graphics and Chinese characters are printed a...

Страница 26: ...command should be sent out at the beginning of one line Remark n 1 8 the other value of n will be invalid The BASIC programs for observing the enlarging effect of this command are as below FOR I 1 TO...

Страница 27: ...t n 0 cancel underline print All characters including spaces will be printed out with underline after selecting underline print command unless cancel the underline print command This command is also v...

Страница 28: ...line print unless prohibit the up line print command This command is also valid for Chinese characters Remark Only the lowest dot of n is valid Default n 0 The BASIC programs for observing the effect...

Страница 29: ...ack background just like the film of photography The normal printing is that printing black characters in white background The default is prohibiting reverse white print Remark Only the lowest dot of...

Страница 30: ...out according to the Characters Set 1 in ANK ESC 7 Choose Characters Set 2 Format ASCII ESC 7 Decimal 27 55 Hexadecimal 1B 37 Explanation After inputting this command all the characters will be print...

Страница 31: ...largest character number which can be replaced is 32 Character NUL is added at the end to mean the command is over Ref ESC and ESC command Remark No matter in Chinese mode or character mode replacing...

Страница 32: ...the width of printed bitmap through ESC K command is n2x256 n1 In our printer series n2 0 1 The sum of dots number should be 384 Data are the bytes content of each column in this graphics The bytes n...

Страница 33: ...value of m is the number of curves to be printed m 0 255 There are m dots of curve in one horizontal line n1L n1H n2L n2H nIL nIH presents the positions of these m curves The numbers of nIL or nIH sh...

Страница 34: ...art won t be printed out It needs the special setting tool to download the bitmap Pls ref RMDIIID Setting Tool The downloaded bitmap through this method won t be low unless it is covered by other bitm...

Страница 35: ...55 29 CP857 CP857 Turkish 30 WCP1250 WCP1250 Central Eurpoe 31 CP775 CP775 32 WCP1254 WCP1254 Turkish 33 WCP1255 WCP1255 Hebrew 34 WCP1256 WCP1256 Arabic 35 WCP1258 WCP1258 Vietnam 36 ISO 8859 2 2 ISO...

Страница 36: ...ode in some commands such as ESC B ESC D ESC and ECS to denote these commands are over NUL command is ignored when used alone 4 2 8 Chinese Character Print Commands The command to print Chinese charac...

Страница 37: ...rint mode to ANK characters print mode Notice This command is used to switch printer into ANK characters print mode when printer is in normal printing mode but won t be saved after power off Only afte...

Страница 38: ...t Format ASCII FS K Decimal 28 75 Hexadecimal 1C 4B Explanation This command is to print Chinese characters horizontally if have not set rotation the Chinese characters will be printed horizontally th...

Страница 39: ...up line When LSB n 1 up line selected when LSB n 0 it canceled Remark Only LSB of n is valid Default n 0 This command is valid for both characters and Chinese ESC Hex Mode Print Format ASCII ESC n Dec...

Страница 40: ...be used within the data sequence of another command that consists of 2 or more bytes The printer transmits the current status Each status is represented by one byte data The printer transmits the stat...

Страница 41: ...39 n 3 Error status n 4 paper feeding status...

Страница 42: ...ow m Barcode type Character number d 0 UPC A 11 k 12 48 d 57 1 UPC E 11 k 12 48 d 57 2 JAN13 EAN13 12 k 13 48 d 57 3 JAN 8 EAN8 7 k 8 48 d 57 4 CODE39 1 k 255 45 d 57 65 d 90 32 36 37 43 5 ITF 1 k 255...

Страница 43: ...ata Explanation If barcode data d is beyond the specified range this command is invalid If the barcode is beyond printing zone at horizontal direction invalid No matter how much the line height is set...

Страница 44: ...ending character to combine with the other character ASCII character is finished by sending character twice Specified Characters Set Sending Data ASCII Hex Decimal SHIFT S 7B 53 123 83 CODE A A 7B 41...

Страница 45: ...t both left and right side of barcode The space will be different according to the different barcode Pls refer to GS H GS h GS w Appendix 5 GS H n Choose printing position of HRI character Format ASCI...

Страница 46: ...do not disassemble the printing head If the outer case of printer is not used pls pay more attention to protect the printing head 1 If you do not use the printer for a long time please don t put throu...

Страница 47: ...DRV211 The manual for driver software and installation can be downloaded from our website Do not introduce the details here Remark During installing driver choose the printer model 58 thermal series...

Страница 48: ...46 Characters Set 2...

Страница 49: ...47...

Страница 50: ...8 Appendix 2 Valid Codes Form under Chinese printing The serial numbers of valid codes are from 00H to 0FFH under Chinese printing among which 00H 1FH are control codes and 20H 0FFH are character code...

Страница 51: ...rohibit Up line Print 23 27 44 1B 2C ESC m nIL nIH CR Print M Curve dots full line 28 27 45 n 1B 2D n ESC n Select cancel Underline Print 23 27 49 n 1B 31 n ESC 1 n Set n Dot line Spacing 16 27 54 1B...

Страница 52: ...inese Double Width Print 30 28 38 1C 26 FS Select Chinese Print Mode 30 28 43 n 1C 2B n FS n Chinese Character with Up line Print 29 28 45 n 1C 2D n FS n Chinese Character with Underline Print 31 28 4...

Страница 53: ...er Source Instruction RXD 3 3 PCB board Printer receive data from computer TXD 2 2 printer Printer send data to computer when use X ON X OFF handshaking protocol agreement the printer will send contro...

Страница 54: ...und DCD 1 Printer Same as CTS Each pin signal is defined as shown Pin No Signal name Source Explain 2 RXD computer Printer receive data from computer 3 TXD printer Printer send control code XON XOFF a...

Страница 55: ...9600 Mode 3 Get number End mark 00H Busy Odd parity C reverse Even parity Waiting for sendingg finish Program as follows Send a word to Serial Busy Odd parity Even parity Waiting for sending finish Se...

Страница 56: ...data 3 5 7 9 11 13 15 17 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA8 Input Input Input Input Input Input Input input Those signals represent the message from 1 to 8 when the logic is 1 of each sig...

Страница 57: ...resistance pull up to high level mean no trouble 2 6 8 NC Not connected 10 12 14 16 18 20 22 24 GND Ground connect logic 0 level DB 25 Parallel interface Parallel interface each cords number define sh...

Страница 58: ...ERR output Via resistance pull up to high level mean no trouble 14 16 17 NC Not connected 18 25 GND Ground connect logic 0 level DB 36 Parallel interface Parallel interface each cords number define sh...

Страница 59: ...tput high level mean printer is busy can not receive data 12 PE output Via resistance drop down to low level mean have paper 13 SEL Via resistance pull up to high level mean printer online 32 ERR outp...

Страница 60: ...58 Compilation program as follows Printing finish mark Busy Send STB rising edge C program as follow Send a character to Parallel Busy STB rising edge Sdjust STB mulse Serial sending string...

Страница 61: ...tion program as follows Printer address Busy Cycle sending define utter add Parallel send a character Busy Parallel send string Master machine parallel port bus mode recommended schematic C language a...

Отзывы: