Page 1
® SPRT Micro Dot Matrix Printers User’s Manual V1.1 Beijing Spirit Technology Development Co, Ltd. Before using this product, please read the manual and keep it for later use 2010.6...
Page 2
File version description Date Version Amended content 2008 V1.0 2010 V1.1 Add content of DVII series...
Content Content ............................. 3 Product brief............................. 5 Chapter 1 Feature and Performance ....................6 1.1 Features ..........................6 1.2 Performance Index......................6 Chapter 2 System Installation....................8 2.1 Installation Dimension......................8 A model diagram2-1 ...................... 8 T model diagram 2-2...................... 9 C model diagram 2-3 .....................
Page 4
5.1 Print Head Protection ....................... 48 5.2 Other..........................48 Chapter 6 Printer Using under Windows..................48 Appendix 1 Effective code table ....................49 Appendix 2 Printing commands table ..................51...
Page 5
Introduction SP series dot panel printer is dot matrix smart printer developed by Beijing Spirit Technology Development Co, Ltd facing the 21 century.Machine itself uses the new import core comes with single - chip computer,small volume、light weight、fully featured、high-speed、high definition、 good appearance、 easy operation and easy connection .etc.SP series dot matrix printers have complete models,standard installation dimension,is the ideal matching product for updating by Medical equipment、fire control、industry control and other instruments.
Chapter 1 Feature and Performance 1.1 Features ◇ Adopt impact dot-matrix print method. ◇ Special design for available being installed on the vertical panel of the instrument or equipment conveniently. ◇Comes with single - chip processor,have standard parallel or serial,could online use with various microcomputers or smart instruments conveniently.
Page 7
◇ Control code: ESC、FS control codes ◇ Reliability:MCBF (Average lines of none error)Reliability: MCBF:(5~15)× 10 ◇ Power:DC5V±5% , 1.5A ◇ Operation temp:0~50℃,relative temp:10~80% ◇ Installation dimension details see the chapter 2 The Main Characteristics of SP Series Printers Speed (line/s) Model Character/line Character Dots/line (5×7)...
The general steps of installing the paper for SP series printers are as follows: A:...
Page 12
Figure 2- - - - 7 (3)Take down the paper roller from the printer (see Fig.2-8), if there is already paper in the printer, can jump over this step to the fifth step; Figure 2- - - - 8 (4)Put the new paper on the paper roller, and install the roller firmly according to Fig.2-9...
Page 13
shows, so that it won’t lose out. Figure 2- - - - 9 (5)Cut the paper end like Fig.2-10...
Page 14
Figure 2- - - - 10 (6)Put through the power of printer, press SEL button, make SEL indicator to put out, then press LF button, make the print head to turn, and insert the end of paper into the paper-in slot by hand and make sure that the paper end appears from above the print head, the paper should appear for a certain length, press LF button or SEL button again.
Page 15
Figure 2-12 (3) Install paper roll to paper reel as figure 2-13,hold both sides of paper reel,put paper roll into paper case,then release paper reel and fastened it. Figure- 13 (4)Switch on,press feed button and insert paper from feeding paper slot,press feed button again to stop feeding after paper comes out.
Page 16
Figure2- - - - 14 (5)Hold two sides of inner shell,rotate inner shell downward,and push it inward as the same time. Figure 2- - - - 15 (6) Figure 2- - - - 16 Push inner shell fully,fastened with outer,paper installation is over.As figure 2-16: : : : Notice:...
fully. Figure 2- - - - 17 2、When fail to push inner shell inward,pls pull out then push again,not use too big strength,or the printer will be damaged. 2.3 Power Supply Connection Dot matrix printer use +5V DC power. SP micro dot matrix printers adopt single DC+5V power supply. A two-line power cable with plug has been offered.
Page 18
Figure 3- - - - 1 Pin order of IDC10 needle serial interface DB25 hole serial interface socket No. as figure 3-2 Figure 3- - - - 2 DB25 hole serial interface socket No. 5PIN single row serial interface socket No. as figure3-3 Figure3-3 5PIN single row serial interface socket No.
Page 19
3.1.2 Pin assignment of DⅦ Ⅶ Ⅶ Ⅶ series interface DⅦ series serial sockets have COM1 and COM2,both use IDC-10,their function are the same,only the orders of pin assignment are different,assignment detail see the figure 3-5and 3-6. Notice: Do not use both sockets at the same time. Signal Pin No.
Page 20
“SPACE” indicates that the printer is “READY” for receiving data. Signal “SPACE” indicates that Printer the printer is “ONLINE” Signal Ground - Printer Same to signal CTS Figure 3-7 Pin assignment of serial interface socket(except CF) Notice:① “Source” denote the source that signal come from; ②...
Page 21
8bits data odd parity 8bits data even parity 8bits data no parity 7bits data odd parity 7bits data even parity 7bits data no parity Figure 3-10 Asynchronous transfer format There are two kinds of handshaking modes for selection, one is mark control mode, another is X-ON/X-OFF protocol mode, they can be selected by DIP switch K3, as Fig.3-6 shows.
Page 22
1200,2400,4800, 9600、and 19200 bps, and it is set by DIP switch. You can do some adjustments according to your demands. Select the proper baud rate as figure3-12.It has set the baud rate to 9600bps at ex-factory. transmission speed (bps) 1200 2400 4800 9600...
Page 23
Figure 3-14 Asynchronous transfer format There are two kinds of handshaking modes for selection, one is mark control mode, another is X-ON/X-OFF protocol mode, they can be selected by DIP switch K4, It is K4=OFF at ex-factory. Mark signal still be effective in the X-ON/X-OFF mode.The description for the two kinds of handshaking mode is as Fig.3-15 shows.
Page 24
same as CTS, connect to the host according to if needs connecting or not. Figure 3- - - - 16 Two Kinds of Handshaking Modes DB25 hole printer and PC serial wiring as figure3-17: Figure3-17 Connection diagram of DB25 hole printer and PC serial 3.2 Parallel interface connection SP micro dot matrix printers adopt parallel interface, which is compatible with CENTRONICS standard, and the interface socket are IDC26-pin needle cable socket and DB25 needle socket, the...
Page 25
Pin assignment of two kinds of parallel interface is as figure 3-20: Pin No. Pin No. Signal Direction Instruction of IDC26 of DB25 Strobe pulse to latch data,reading /STB occurs at falling edge. DATA1 DATA2 DATA3 These signals represent the 1 DATA4 bit to 8 bit of the parallel data...
(2)Signal level is TTL standard. 3.3 Buttons and Indicators SP series micro printer have two kinds of two buttons and one button, series of A、DIII、DIV、T have two buttons,B、 C、 DN、 DVII have one,two button are on_line button SEL and feed button LF.
forward,others are inverse. Chapter 4 Print command 4.1 Summary Dot matrix printer support printing commands all compatible with traditional ESC printing commands.Each command is described in following format: Command name Function Format: ASCII: the standard ASCII character sequence Decimal: the Decimal number sequence Hexadecimal: the Hexadecimal number sequence Explanation: what the command does and how to use it.
Page 28
Hexadecimal: Explanation: The printer feeds paper n dot lines. n=0~255. This command sends carriage return and feed line. It won’t influence the latter feed line command. If you need to feed paper immediately but no carriage return, can use ESC J command. Line spacing will be adjusted automatically when using commands ESC V、...
LPRINT CHR$(27);CHR$(49);CHR$(I); ‘ESC 1 set line spacing LPRINT “RMWD TEST” ‘print character string and feed line NEXT I 4.2.2 Format Setting Commands Feed Page Format::ASCII: Decimal: Hexadecimal: Explanation: Feed paper to the beginning of the next page. ESC C Set Page Length Format:ASCII:...
Page 30
The BASIC programs for sending the said sequence are as below: LPRINT CHR$(27);“N”; CHR$ (3) ESC O Cancel Binding Length Format:ASCII: Decimal: Hexadecimal: Explanation: The binding length is set to 0 line, it means the printer will print line-by-line, won’t vacate blank lines between each page.
Page 31
The print result in dot matrix is as following: Carry out Vertical Tab Value Format:ASCII: Decimal: Hexadecimal: Explanation: Feed paper to the next vertical tab position which is set by ESC B command. Notice: if there is no vertical tab value setting, or the current position equals or is beyond the last vertical tab position, VT command is to feed paper one line only (same to LF command).
Page 32
The BASIC programs for this example are as below: LPRINT “1234567890123456789” Ruler LPRINT CHR$(27); CHR$(68);CHR$(2);CHR$(9);CHR$(14); CHR$(0);‘ESC Dcommand LPRINT CHR$(9); HT command LPRIN “HT1”; Print character string LPRINT CHR$(9); HT command LPRINT “HT2”; Print character string LPRINT CHR$(9); HT command LPRINT “HT3”; Print character string LPRINT CHR$(13);...
Page 33
When m=1, ESC f SOH n will command to print n blank lines. n=0~255. Example: print 6 blank characters in one line, you can send the following commands: ASCII: Decimal: 102 0 Hexadecimal: 1B Another example: print 6 blank lines, you can send the following commands: Format:ASCII:...
Format:ASCII: Decimal: Hexadecimal: 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 enlarging commands ESC U and ESC W.
Page 35
n=1~4, default n=1, that means normal width, no width enlarging. 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 NEXT I The print result in dot matrix is as following: ESC V...
Page 36
Format:ASCII: Decimal: Hexadecimal: Explanation: The characters and graphics following this command are printed at n times of normal width and height, n=1~4, default n=1. FOR I=1 TO 3 from 1 to 3 times LPRINT CHR$(27); CHR$(87); CHR$(I); ESC W command LPRINT “SPRM”...
Page 37
LPRINT ”SPRM” The print result in dot matrix is as following: ESC + Select/cancel Up-line Print Format:ASCII: Decimal: Hexadecimal: Explanation: When n=1, select up-line print; when n=0, cancel up-line print. All characters including spaces will be printed out with up-line after selecting up-line print command, unless cancel the up-line print command.
Page 38
Hexadecimal: Explanation: All characters following this command are printed using the character set I. There are two character sets are available for SP micro dot matrix printers, character set I is selected at power on or on ESC @ command. ESC 7 Select Character Set II Format:ASCII:...
When n=1, select reverse white print; when n=0, cancel reverse white print. Reverse white print is printing in the black background, just like the film of photography. It is normal print that printing black characters in white background, the default is canceling reverse white print.
Page 40
MSB is on the top, as the below figure shows: The user-defined characters are stored in printer RAM until power off. If many ESC & commands use same m value, only the last one is valid. User can define at most 32 characters. Please refer to ESC % and ESC : commands.
user-defined characters using ESC % command. However, user-defined characters won’t be deleted from the RAM in printer and may brought back again with ESC % command. The BASIC programs for observing the effect of ESC &, ESC % and ESC : are as below: 10 LPRINT CHR$(27);“W”;...
Page 42
use blank dots to make up it, then print out every graphic unit with ESC K command orderly, at last compose an intact graphics. Notice: when adopting reverse print mode, you should print every graphic unit sequentially according to the order from top to bottom of the graphics. For example: If you want to print two Chinese characters “中文”...
value of m is the line number of the printing curve,it should be within the range of the max. dots number of each line of this model printer. There are m curving dots in one horizontal line. n1, n2…. nm denote the position of m curves.
Page 44
Format:ASCII: Decimal: Hexadecimal: Explanation: This command is to cancel all the characters in the print buffer before this command code, and return to the last carriage return code. It doesn’t cancel any control code sequences in the current line. Delete One Character Format:ASCII:...
These data will be printed out in hexadecimal: Hexadecimal print mode carries out print only when the print buffer is full. 4.2.8 Chinese Character Print Control Commands Chinese character print commands adopt FS standard commands. The Chinese character library is the level I, II Chinese characters, graphics and symbols which all meet the specifications of GB2312-80.
Page 46
Characters following this command are printed at twice their normal width, does not enlarge the height. Notice:the command only be effective in one line. Cancel Chinese Double Width Print* Format:ASCII: Decimal: Hexadecimal: Explanation: This command is to cancel FS SO command. Set the Enlarging Multiple of Chinese Character Format:ASCII:...
Page 47
Hexadecimal: Explanation: This command is to rotate Chinese characters, the values of n are as following: Chinese characters rotated widdershins 0° 90° 180° 270° Chinese Character with Underline Print Format: ASCII: Decimal: Hexadecimal: Explanation: The specified Chinese characters after this command are printed with underline.
Page 48
Explanation: After the printer received this command, it will print Chinese characters with 8×16 dots.(the command only be effective for16×16 dots) Cancel Vertical DBC Case Chinese Character Print Format:ASCII: Decimal: Hexadecimal: Explanation: This command cancels FS SI, restore to print Chinese characters with 16×16 dots.(the command only be effective for16×16 dots)...
Explanation: This command is to set Chinese character misplace print. The characters that put in the printer after this command will be printed out in misplace mode, namely Chinese characters will become thicker and heavier than normal single-line ones, can be used for printing titles or printing heavily. FS H Cancel Chinese Character Misplace Print Format:ASCII:...
command rightly. 4.3.2 Printer basic parameter setting ESC # Serial parameter setting Format: ASCII: Decimal: Hexadecimal: Explanation: The command set serial parameter, n means serial baud rate and data format,as following figure: Function Baud rate 000~111 are 1200,2400,4800,9600,19200,38400,57600,115200 handshaking XON/XOFF RTS/CTS protocol Character length...
Page 51
Explanation: Set default is Chinese mode when switched on,printer will return to 01H after received command. Default ANK mode set when power on Format:ASCII: Decimal: Hexadecimal: Explanation: Set default is Chinese mode when switched on,printer will return to 01H after received command.Default is ANK mode when exit factory.
Page 52
Chapter 5 Operation and maintenance 5.1 Print head protection In order to guarantee the printer works normally, please especially pay attention not to dismantle the print head at random. As to the users who don’t use the outer cover of the printer should give their attention to protect the print head even more.
Page 53
00H-1FH are control codes, 20H-0FFH are character codes. Character codes composed by two character sets, the character codes of each character set are all 20H-0FFH permutation. Character Set I...
Page 55
Appendix 2 Print Commands Command Name Function Decimal Hexadecimal Page Ending symbol horizontal tab Carry out Feed line Carry out vertical tab Feed page Carriage return Set double width character print Cancel SO Command Cancel the characters in current line Delete the last character 27 34 n 1B 22...
Page 56
Set page length to n 27 67 1B 43 ESC C n lines 27 68 1B 44 ESC D n1…nk NUL Set horizontal tab value 27 74 n 1B 4A n ESC J N Feed line n dot lines 27 75 1B 4B ESC K n1…n2…data Print n×18 bit-map graphics...
Page 57
Cancel Chinese character misplace 28 72 1C 48 FS H print Set Chinese character rotational 28 73 n 1C 49 n FS I n print 28 74 1C 4A FS J Set vertical print 28 75 1C 4B FS K Set horizontal print Set the enlarging multiple of 28 87 n...
Need help?
Do you have a question about the SP Series and is the answer not in the manual?
Questions and answers