background image

41

Chapter 6 Printer Using under Windows

The version of SP-RMD8 printers’ driver software is SP-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”. The other

details can be checked from Installation Manual.

Appendix 1 Valid Codes Form under ANK printing

The serial numbers of valid codes are from 00H to 0FFH under ANK printing, among which
00H-1FH are control codes and 20H-0FFH are character codes. Character codes are
composed by two characters sets. The character codes of each character set are all in
20H-0FFH permutation.

Characters Set 1:

Characters Set 2:

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

Страница 1: ...SPRT SP RMD8 Thermal Micro Panel Printer User s Manual Ver 1 04 Beijing Spirit Technology Development Co Ltd www sprt printer com SP RMD8A SP RMD8C SP RMD8B ...

Страница 2: ... 1 2 Parallel interface connection 11 3 1 3 Printer Parameters Setting 12 3 1 4 Power connecting 13 3 2 Indicator and button 13 3 3 Self test and Hex printing 13 3 4 Pinter Initialization 14 Chapter 4 Printing commands 15 4 1 Summary 15 4 2 Commands Description 15 4 2 1 Paper Feeding Commands 15 4 2 2 Format Setting Commands 16 4 2 3 Character Setting Commands 20 4 2 4 User defined Character Setti...

Страница 3: ...de Printing Commands 34 Chapter 5 Using and Maintenance 40 5 1 Printing Head Maintenance 40 5 2 Other 40 Chapter 6Printer Using under Windows 41 Appendix 1 Valid Codes Form under ANK printing 41 Appendix 2 Valid Codes Form under Chinese printing 43 Appendix 3 Printing Commands Form 44 ...

Страница 4: ...e same character set 1 and character set 2 as RMDIIIB in the Western characters mode In Chinese characters mode it can print 12 24 half width characters and 16 dots according to the Chinese character dot matrix The 8 16 half width characters of the array have Chinese characters 24 24 16 16 and the selection of the second level fonts as well as a large number of mathematical symbols special symbols...

Страница 5: ...er Support kinds of codepages and pre saved bitmap printing Self testing function All codes can be printed characters with high definition and beauty Enough receiving buffer 3K Front installation to be convenient for customers to install Printing paper Width 57 5 0 5mm thermal paper Power request Broad Input Voltage DC5V 8 5V Current 3A Operating temperature 0 50 Can be used in DOS and Windows 8do...

Страница 6: ...tor has different meanings please refer to section 3 2 to learn more details Printing paper D8A 57 5 φ20mm MAX D8B 57 5 φ30mm MAX D8C 57 5 φ50mm MAX Reliability MCBF Average number of trouble free rows 5 15 10 6 TPH 50KM Operating temperature 0 50 relative humidity 10 80 Storage temperature 20 50 relative humidity 10 90 Chapter 2 Printer Installation 2 1 Printer outline 1 3 2 Picture 2 1 1 LF Butt...

Страница 7: ...ne Dimension Installation dimension 75 5mm 38 5mm W H depth 37mm Outline dimension 79 5mm 42mm 39 5mm W H D Picture 2 2 Outline Installation dimension of SP RMD8A Installation dimension 78 5mm 54mm W H depth 43mm ...

Страница 8: ... of SP RMD8B Installation size 80 5mm 80 5mm W H depth 55 5mm Outline dimension 85mm 85mm 57 5mm W H D Picture2 4 Outline Installation dimension of SP RMD8C 2 3 Paper loading Pull the hand shank to open the paper case cover Close the cover after loading the paper as showed in Picture2 5 ...

Страница 9: ...6 Picture 2 5 ...

Страница 10: ...nel at customer s side and open the paper case cover as showed in Picture2 6 Then screw up the bolts in a clockwise direction until the installation ear moves to the position as showed in Picture2 7 the mounting finished Notice Tightening force on bolts can not be over 2kgf cm Picture 2 6 Picture 2 7 ...

Страница 11: ...ssignment When the electrical level of printer is TTL the definition of pins is as showed in Picture3 2 Signal name Pin No of IDE20 Socket Source Explanation RXD 20 Host Printer receives data from host TXD 19 Printer Printer send data to host When X ON X OFF handshaking protocol is used printer send Control code X ON X OFF to host CTS 18 Printer When data is 1high it means printer is too busy to r...

Страница 12: ... and means the printer is online CTS 18 Printer When data is 1high it means printer is too busy to receive data when data is 0low it means printer is ready to receive data GND 2 6 8 12 16 Signal ground Picture3 3 Definition of PIN assignment of serial interface If connecting post is two IDC 10 type sockets the functions and definitions of PIN assignment are same the only difference is the electric...

Страница 13: ...empty pin 232 electrical level is negative logic Negative electrical level means data 1 while positive electrical level means data 0 When the electrical level is 485 the definition of pins is as showed in Picture3 6 Signal name Pin No of IDE20 Socket Pin No of IDEC10Socket COM 1 A 20 7 B 19 9 GND 2 6 8 12 16 5 Picture 3 6 definition of PIN Assignment Notice Non listed pin No is empty pin During se...

Страница 14: ... X OFF Control data can enter Send X ON code 11H on TXD signal line data can t enter Send X OFF code 13H on TXD signal line Picture3 7 Two handshake methods 3 1 2 Parallel interface connection The parallel of SP RMD8 printer is compatible with CENTRONICS standard and the interface socket is 20 pin flat cable socket or its substitute for connecting with it The pin order of parallel port is showed a...

Страница 15: ...r is BUSY and can not receive data 19 PE Out HIGH means printer is out of paper LOW means there is paper 4 SEL Out It is raised to HIGH level through electric resistance and means the printer is ONLINE 2 6 8 NC Unconnected 10 12 16 GND Ground connected The logic is 0 level Picture 3 9 Definition of parallel PIN assignment Notice In means sending into the printer Out means sending out from printer ...

Страница 16: ... paper Recover to be normal after paper loading Flicker twice per second Printing head over heat Recover automatically after the temperature of printing head falling Flicker three times per second The heating plate of printing head broken Unrecoverable At this time the printer needs to be repaired 3 3 Self test and Hex printing Self test can test whether the printer is normal working or not If the...

Страница 17: ...s loosen the button The printer will print out Hexadecimal Dump and enters into Hex printing mode The method of quit hex printing Press LF button constantly three times Then send 0x00 Restart the printer directly 3 4 Pinter Initialization There are two methods of printer initialization One is that through the control code ESC the host sends commands to printer to initialize printer by commands The...

Страница 18: ...he function of each command 4 2 Commands Description 4 2 1 Paper Feeding Commands LF Feed Line Format ASCII LF Decimal 10 Hexadecimal 0A Explanation The printer prints the current line and feeds paper forwards one line Remark One line means the current character line ESC J n Dot Line Feed Format ASCII ESC J n Decimal 27 74 n Hexadecimal 1B 4A n Explanation The printer feeds paper n dot lines n 1 2...

Страница 19: ...UL Decimal 27 66 n1 n2 n3 0 Hexadecimal 1B 42 n1 n2 n3 00 Explanation The vertical tab positions are entered as n1 n2 and so on Character NUL is added at the end to indicate that the command is over VT command is to carry out vertical tab and the paper is fed to the next vertical position All input vertical tab positions can be deleted by using this command in ESC B NUL format Example set three ve...

Страница 20: ...imal 1B 44 n1 n2 n3 00 Explanation The horizontal tab positions are entered as n1 n2 and so on all of which should be within the line width of this model printer Character NUL is added at the end to indicate that the command is over All set horizontal tab positions can be deleted by using this command in ESC D NUL format Example set three horizontal tab values at 2nd 9th line 14th character positi...

Страница 21: ...ines Format ASCII ESC f m n Decimal 27 102 m n Hexadecimal 1B 66 m n Explanation When m 0 ESC f NUL n will command to print n blank characters When m 1 ESC f SOH n will command to print n blank lines n 0 255 Remark When m 0 if the value of n is beyond the current line 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 bla...

Страница 22: ...at ASCII ESC Q n Decimal 27 81 n Hexadecimal 1B 51 n Explanation The value of n should be in the range from 0 to the line width of this 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 carry out carriage return and feed line as long as the right margin p...

Страница 23: ...times of normal width n 1 8 Default n 1 when the dots are 24 while default n 2 when the dots are 16 These are normal printing width 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 3 LPRINT CHR 27 CHR 85 CHR I ESC U command LPRINT SPRM Print character string NEXTI CR command The print result is as follow...

Страница 24: ...n Hexadecimal 1B 57 n Explanation After inputting this command the characters graphics and Chinese characters are printed at n times of normal width and height n 1 8 Remark n 1 8 the other value of n will be invalid FOR I 1 TO 3 from 1 to 3 times LPRINT CHR 27 CHR 87 CHR I ESC W command LPRINT SPRM Print character string NEXT I The print result is as following ESC Select cancel Underline Print For...

Страница 25: ...t is as following ESC Select prohibit Up line Print Format ASCII ESC n Decimal 27 43 n Hexadecimal 1B 2B n Explanation When the lowest dot n 1 select up line print when the lowest dot n 0 prohibit up line print All characters including spaces will be printed out with up line after selecting up line print unless prohibit the up line print command This command is also valid for Chinese characters Re...

Страница 26: ... dot of n is valid Default n 0 The BASIC programs are as below LPRINT CHR 27 CHR 105 CHR 1 Select reverse white print LPRINT SPRD The print result is as following ESC c Select prohibit Reverse Print Format ASCII ESC c n Decimal 27 99 n Hexadecimal 1B 63 n Explanation When the lowest dot n 1 select reverse print when the lowest dot n 0 prohibit reverse print Remark Only the lowest dot of n is valid...

Страница 27: ...ser Define Character Format ASCII ESC m n1 n2 n6 Decimal 27 38 m n1 n2 n6 Hexadecimal 1B 26 m n1 n2 n6 Explanation This command permits user to define one character Parameter m is character code the user defines m 32 255 parameter n1 n2 n6 is structure code to define this character The character dots should be 6x8 which means 6column and 8dots each column There is one character byte in each column...

Страница 28: ...r character mode replacing character will be printed when printing this character code ESC Recover Character in Character Set Format ASCII ESC Decimal 27 58 Hexadecimal 1B 3A Explanation This command is used to recover original character in character set This character has been replaced by user defined character through command ESC previously However the used defined character won t be deleted fro...

Страница 29: ...ytes content of each column in this graphics The bytes number should equal to n2x256 n1 Remark If the width of printed graphics is beyond the remaining width of current line the beyond part of graphics won t be printed out and the printed position will change to the next line For example If you want to print two Chinese characters 中文 with ESC K command the bit map for the two Chinese is as the bel...

Страница 30: ...rk The dot whose position is beyond the paper width won t be printed out This command is valid no matter there is OD or not ESC Print Curve II supplement dots automatically to be full curve Format ASCII ESC m n1L n1H n2L n2H nIL nIH CR Decimal 27 44 m n1L n1H n2L n2H nIL nIh 13 Hexadecimal 1B 2C m n1L n1H n2L n2H nIL nIh OD Explanation The using explanation is same as the command for Printing Curv...

Страница 31: ... U S A Standard Europe 1 KataKana 片假名 Katakana 2 PC850 多语言 PC850 Multilingual 3 PC860 葡萄牙 PC860 Portuguese 4 PC863 加拿大 法语 PC863 Canadian French 5 PC865 北欧 PC865 Nordic 6 WCP1251 斯拉夫语 WCP1251 Cyrillic 7 CP866 斯拉夫 2 CP866 Cyrilliec 2 8 MIK 斯拉夫 保加利亚 MIK Cyrillic Bulgarian 9 CP755 东欧 拉脱维亚 2 CP755 East Europe Latvian 2 10 伊朗 波斯 Iran 11 保留 reserve 12 保留 reserve 13 保留 reserve 14 保留 reserve 15 CP862 希伯来 C...

Страница 32: ...859 8 希伯来语 ISO 8859 8 Hebrew 43 ISO 8859 9 土耳其语 ISO 8859 9 Turkish 44 ISO 8859 15 拉丁语 9 ISO 8859 15 Latin 3 45 泰文 2 Thai2 4 2 6 Initialization Commands ESC Initialize Printer Format ASCII ESC Decimal 27 64 Hexadecimal 1B 40 Explanation This command is to initialize the following contents of the printer Clear the data in the print buffer Restore the default Delete user defined characters 4 2 7 Data...

Страница 33: ... from ASCII character print mode to Chinese character print mode Using GB Chinese Character Library I II Notice This command is used to switch printer into Chinese Mode when printer is in normal printing mode but won t be saved after power off Only after setting through Setting Tool the result can be saved FS Cancel Chinese Print Mode Format ASCII FS Decimal 28 46 Hexadecimal 1C 2E Explanation Aft...

Страница 34: ...is to print Chinese characters vertically which is that to print characters by rotating 90o at anticlockwise direction FS K Set Horizontal Print 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 that is normal print status FS I Set Chinese Character Rota...

Страница 35: ...pecified Chinese characters after this command are printed with 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 Decimal 27 34 n Hexadecimal 1B 22 n Explanation When LSB n 0 cancel hex mode print when LSB n 1 hex mode print is valid When in hex mode pr...

Страница 36: ...ommand should not 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 status without confirming whether the host computer can receive data The printer executes this command at once upon receiving it This command is valid only for serial interface printer T...

Страница 37: ...34 n 3 Error status n 4 paper feeding status 4 2 10 Bar Code Printing Commands GS k m d1 dk NUL Print Barcode ...

Страница 38: ...h of barcode is beyond the effective printing width no characters can be printed but paper feeds m is used to choose the barcode type showed as below 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 48 d 57 6 CODABAR 1 k 255 48 d 57 65 d 68 36 43 45 4...

Страница 39: ...he last one will be ignored Explanation for command n is used to denote the number of barcode data Printer will deal with the last n bytes data as the barcode data If n is beyond the specified range the printer will not deal with this command and just deal with the data as the common data Explanation If barcode data d is beyond the specified range this command is invalid If the barcode is beyond p...

Страница 40: ...ndix 5 Related information and characters set of CODE128 When CODE128 is used pls encode according to the below structions 1 Do choose characters set one of CODE A CODE B and CODE C before the barcode data 2 Choosing characters set is finished through sending character to combine with the other character ASCII character is finished by sending character twice Specified Characters Set Sending Data A...

Страница 41: ...ter will stop dealing with this command and deal with the other data as the common data If the character received by printer is not barcode characters set data the printer will stop dealing with this command and deal with the other data as the common data When printer prints HRI characters it doesn t print shift character and choosing data in characters set Function characters in HRI character won...

Страница 42: ...S h n Decimal 29 104 n Hexadecimal 1D 68 n Explanation Set the height of printed barcode n 0 255 unit is dot If n 0 it is 256dots Default value n 60 GS w n Set Barcode Width Format ASCII GS w n Decimal 29 119 n Hexadecimal 1D 77 n Explanation 2 n 6 the other value of n is invalid Set the horizontal module width of barcode The detail is as below n Width of single basic module mm Width of double bas...

Страница 43: ... used power must meet the requirements otherwise it will be disadvantageous for the print head 4 While changing the paper roll please notice whether there is paper scrap on the print head If so please blow gently 5 Keep the circuit board of the printer clean and dustless 6 When the thermal printer can t print clearly the printing head can be wiped by alcohol cotton ball 5 2 Other Please also notic...

Страница 44: ...choose the printer model 58 thermal series The other details can be checked from Installation Manual Appendix 1 Valid Codes Form under ANK printing The serial numbers of valid codes are from 00H to 0FFH under ANK printing among which 00H 1FH are control codes and 20H 0FFH are character codes Character codes are composed by two characters sets The character codes of each character set are all in 20...

Страница 45: ...42 ...

Страница 46: ...43 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 codes ...

Страница 47: ...prohibit Up line Print 22 27 44 1B 2C ESC m nIL nIH CR Print M Curve dots full line 27 27 45 n 1B 2D n ESC n Select cancel Underline Print 21 27 49 n 1B 31 n ESC 1 n Set n Dot line Spacing 16 27 54 1B 36 ESC 6 Choose Characters Set 1 24 27 55 1B 37 ESC 7 Choose Characters Set 2 24 27 58 1B 3A ESC Recover Character in Character Set 25 27 64 1B 40 ESC Initialize Printer 29 27 66 1B 42 ESC B n1 nkNUL...

Страница 48: ...hinese Double Width Print 31 28 38 1C 26 FS Select Chinese Print Mode 30 28 43 n 1C 2B n FS n Chinese Character with Up line Print 32 28 45 n 1C 2D n FS n Chinese Character with Underline Print 32 28 46 1C 2E FS Cancel Chinese Print Mode 30 28 73 n 1C 49 n FS I n Set Chinese Character Rotational Print 31 28 74 1C 4A FS J Set Vertical Print 31 28 75 1C 4B FS K Set Horizontal Print 31 28 80 n 1C 50 ...

Отзывы: