Introduction SP-DVII dot matrix printer is a intelligent printer which manufactured by SPRT in 21th century. The machine adopt new imported clock mechanism with computer single chip, with the advantages of small volume, light weight, fully functional, high speed, high-definition, beautiful appearance, simple operation, convenient connection and so on.
Chapter 1 Feature and Performance 1.1 Features Adopt impact dot-matrix print method. ◇ Special design for convenient installation on the vertical panel of the instrument or ◇ equipment. ◇Comes with single - chip processor, have standard parallel or serial, could online use with various microcomputers or smart instruments conveniently.
Page 5
◇Interface: Parallel interface (compatible with CENTRONICS) or serial nterface (compatible with RS-232C or TTL). ◇Interface connector: Parallel port: IDC26 needle socket; Serial port: IDC10 needle socket or 5-pin single-row socket; ◇Control code: ESC, FS control codes ◇Reliability: MCBF (Mean cycles between failure) (5~15) × 10 ◇THP: 1,500,000 lines ◇Power: DC5V±5% , 1.5A ◇Operation temp/Humidity: 0~50℃, 10~80%...
Chapter 2 System Installation 2.1 Installation Size SP-DVII printer’s outline dimension is as Fig. 2-1 shows: Figure 2-1 2.2 Paper Roll Installation SP-DVII dot matrix printer uses 44.5mm/57.5mm paper roll which has been equipment with before leaving factory. In order to prevent damage of printer head while long-distance...
Page 7
transporting or long-time storing, the paper didn’t inserted in the print head. So the paper roll needed to insert into the printer head firstly before using. The general steps of installing the paper are as follows: (1) As figure 2-2: Push panel center inward, then inner shell will auto eject when released.
Page 8
Figure 2-4 (4) Switch on, press feed button and insert paper from feeding paper slot, press feed button again to stop feeding after paper comes out. As figure 2-5: Figure 2-5 (5) Hold two sides of inner shell, rotate inner shell downward as figure2-6, and push it inward as the same time.
2-7: Figure 2-7 Notice: 1, The fluffy paper roll will not be pushed easily and happen paper jam, hold the paper tightly and push it inward as the direction of figure 2-8 until inner shell is inserted fully. Figure 2-8 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.
mechanisms, can be inserted directly in the socket which is on the control panel of SP micro dot matrix printers. The red line of the power cable should be connected to the positive pole (+) of power, the white line should be connected to the negative pole (–) of power.
have same function, but different orders of pin assignment. See details in figure 3-3 and 3-4. Notice: Do not use both sockets at the same time. Signal Pin No. Source Function Printer Printer sends data to host Host Printer receives data from host Printer Printer and host flow control signal(Busy) Printer...
Signal Printer interface PC pin No. pin No. Instruction Name IDC10 DB25 Printer receives data from host Printer send data to computer,when use X-ON/X-OFF handshaking protocol agreement, the printer will send control code X-ON/X-OFF to computer When the signal show “MARK”, it means the printer is busy and can not receive data, when the signal show “...
Page 13
Pin assignments of parallel interface are as figure 3-6: Pin No. of IDC26 Signal Direction Instruction Strobe pulse to latch data, /STB reading occurs at falling edge. DATA1 These signals represent the DATA2 DATA3 bit to 8 bit of the parallel DATA4 data DATA5...
10, 12, 14, 16, Grounding logical 0 level 18, 20, 22, 24 Fig.3-6 Pin Assignment of Parallel Interface Notice: (1) “In” denotes input to the printer, “Out” denotes output from the printer. (2) Signal level is TTL standard. 3.3 Button and Indicator SP-DVII micro printer has one button, which is feed button “LF”...
the user-defined characters or graphics characters; select character set 1 and select non reverse white print etc. For watching the receipt bar conveniently, the default direction are different, for example, T series is forward, others are inverse. Chapter 4 Print command 4.1 Summary Dot matrix printer support printing commands all compatible with traditional ESC printing commands.
Page 16
Explanation: All the data in buffer will be printed and feeds paper forwards one line when send one LF. The effect is the same as CR, if using both LF and CR commands, only one command will work. ESC J n Dot Line Feed Format: ASCII: Decimal:...
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: Decimal: Hexadecimal: Explanation: The page length is set to n character lines. n=0~255, when n=0, the page length is 256 lines.
Page 18
The binding length is set to n lines. n=0~255, default n= 0. In SP-T, binding length denotes the number of blank line between one page and the next page. Example: set binding length to 3 lines, send the following sequence to the printer: ASCII: Decimal: Hexadecimal:...
Page 19
ASCII: Decimal: Hexadecimal: The BASIC programs for this example are as below: LPRINT CHR$(27); CHR$(66);CHR$(2);CHR$(5);CHR$(8);CHr$(0); ‘ESC command LPRINT CHR$(11); VT command LPRINT “SPRM1” Print character string LPRINT CHR$(11); VT command LPRINT “SPRM2” Print character string LPRINT CHR$(11); VT command LPRINT “SPRM3” Print character string The print result in dot matrix is as following: Carry out Vertical Tab Value...
Page 20
ESC D Set Horizontal Tab Value Format: ASCII: n3………NUL Decimal: 68 n1 n3………0 Hexadecimal: 44 n1 n3………00 Explanation: The tab positions are entered as n1, n2 and so on, all of these should be within the line width of this model printer. Command NUL added at the end indicates the command is over.
Page 21
Carry out Horizontal Tab Value Format: ASCII: Decimal: Hexadecimal: Explanation: The print position is advanced to the next horizontal tab position which is set by ESC D command. Note : If there is no horizontal tab value setting, or the current position equals or is beyond the last horizontal tab position, HT command won’t be carried out.
Page 22
ESC l Set Left Margin 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 left margin. This command sets absolute position, and won’t be influenced by character enlarging commands ESC U and ESC W.
commands ESC U and ESC W. After setting this command, the printer will auto add feed line as long as the right margin position is reached. Example: set right margin value to 12, you can send the following commands: ASCII: Decimal: Hexadecimal: 1B The BASIC programs for this example are as below:...
Page 24
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 Enlarge Height Format: ASCII: Decimal: Hexadecimal: Explanation: The characters and graphics following this command are printed at n times of normal height, n=1~4, default n=1.This command should be sent at the beginning of one line.
Page 25
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” Print character string NEXT I The print result in dot matrix series is as following:...
Page 26
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 27
ESC 6 Select Character Set I Format: ASCII: Decimal: 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:...
Page 28
Explanation: Double width printing mode which is set by SO command can be canceled by DC4 command. This command doesn’t cancel width enlarging print which set by ESC U and ESC W. Select/cancel Reverse White Print Format: ASCII: Decimal: Hexadecimal: Explanation: When n=1, select reverse white print;...
Reverse print not only supports character mode but also supports graphics and Chinese mode. When print the graphics in reverse direction, pay attention to the print order of graphic units, please see ESC K command. 4.2.4 User-defined Character Setting Commands User-defined Characters &...
Page 30
Hexadecimal: n2……mk nk 00 Explanation: This command is used to replace the character n with the user-defined character m, and the user-defined character m will be printed out as the replacement of character n. m1, m2……mk are the codes of user-defined characters. n1, n2……nk are codes of characters in the current character set the replaced characters.
80 LPRINT CHR$(65); ’Restore characters in the character set The print result in dot matrix series is as following: 4.2.5 Graphics Print Commands Print bit-map graphics Format: ASCII: n2……data…… Decimal: n2……data…… Hexadecimal: n2……data…… Explanation: This command is used to print (n2×256+n1) ×8bit map. The width of this graphics is n2×256+n1 dots.
Page 32
7C, 44, 44, FF, 44, 44, 7C, 00, 41, 62, 54, C8, 54, 62, 41 7C,44,44,FF,44,44,7C,00,41,62,54,C8,54,62,41 The BASIC programs for this example are as below: LPRINT CHR$(27); “W”; CHR$(4); ’Enlarge the width and height 4 times LPRINT CHR$(27); “K”; CHR$(15); CHR$(0); ’ESC K command LPRINT CHR$(&H7C);...
curving graphics based on the data of n1, n2…. Nm. 4.2.6 Initialization Commands Initialize Printer Format: ASCII: Decimal: Hexadecimal: Explanation: This command is to initialize the following contents of the printer: ·Clear the data in the print buffer; ·Restore the default; ·Select character set 1;...
Page 34
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: Decimal: Hexadecimal: Explanation:...
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 36
* Set Chinese Double Width Print* Format: ASCII: Decimal: Hexadecimal: Explanation: 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:...
Page 37
shins for 90 Set Horizontal Print Format: ASCII: Decimal: Hexadecimal: 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. Set Chinese Character Rotational Print Format: ASCII: Decimal: Hexadecimal:...
Page 38
The specified Chinese characters after this command are printed with underline. When n=1, underline selected; when n=0, it canceled. Select Superscript and Subscript Print Format: ASCII: Decimal: Hexadecimal: Explanation: This command is to select the position for superscript and subscript, n=0 is superscript and n=1 is subscript.
Page 39
Select Chinese Character Bit Map Format: ASCII: Decimal: Hexadecimal: Explanation: This command is to select Chinese characters with different bit map, as the following tab shows: Chinese Character Bit Map 16*16 8*16 16*8 Characters with different bit map can be printed in one line, but before the Chinese character code, should set the bit map with FS i or FS SI command firstly.
Decimal: Hexadecimal: Explanation: This command is to cancel Chinese character misplace print, and restore to normal single-line Chinese character print mode. 4.3 Printer default parameter setting commands The setting command is used to set printer default parameters, only set once before using, the parameter will be stored into inner FLASH, it doesn’t change after power off.
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 7bits 8bits...
Page 42
Set Chinese, character dots in Chinese mode. n=00H : 16×16 dots Chinese ,8×16dots character; n=01H: 12×12dots Chinese ,6×12dots character; default n=00H, printer will return value of n after received commands. & Default Chinese mode set when power on Format: ASCII: &...
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.
Chapter 6 Printer Using under Windows SP micro dot matrix printers can be used under Windows of PC. Installation method is same to the large-scale EPSON printer. 1. start-----set-----printer-----add the printer------default 2. Key in the contents. 3. Set the paper width to 44mm or 57mm, spacing and the length of page are optional. 4.
Appendix 1 Valid Codes Tab The serial number of valid codes is from 00H to 0FFH, among them 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...
Appendix 2 Print Commands Decimal Hexadecimal Command Name Function Page Ending symbol Carry out horizontal tab Feed line Carry out vertical tab Feed page Carriage return double width character print Cancel SO Command Cancel the characters in current line Delete the last character Select/cancel hexadecimal 27 34 n 1B 22...
Page 48
27 64 1B 40 ESC @ Initialize printer 27 66 1B 42 ESC B n1…nkNUL Set vertical tab value 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...
Page 49
28 46 1C 2E FS · Cancel Chinese print mode Select Chinese character 28 71 1C 47 FS G misplace print Cancel Chinese character 28 72 1C 48 FS H misplace print Set Chinese character 28 73 n 1C 49 n FS I n rotational print...
Need help?
Do you have a question about the SP DVII Series and is the answer not in the manual?
Questions and answers