SPRT
®
SP-D10 Dot Matrix Printer
User’s Manual
V1.05
Beijing Spirit Technology Development Co., Ltd
www.sprt-printer.com
Страница 1: ...SPRT SP D10 Dot Matrix Printer User s Manual V1 05 Beijing Spirit Technology Development Co Ltd www sprt printer com...
Страница 2: ...3 The printer parameters setting 11 3 2 Self test and HEX printing 14 3 4 Printer Initialization 16 Chapter 4 Print Commands 17 4 1 Summary 17 4 2 Commands Description 17 4 2 1 Paper feed command 17 4...
Страница 3: ...uct line standard installation size It is the best replacement used in medical equipment fire control station industrial control and other instruments and apparatus SP D10 dot matrix mini printer can...
Страница 4: ...e 1 2lines s 0 7line s 0 4line s three types for different models With self test function print all code high HD characters and beautiful font DC power supply 5V 5 1 5A Operating Temp Humidity 0 50 1...
Страница 5: ...ines Power supply DC5V 5 1 5A Working Temp 0 50 Humidity 10 80 Storage temp and humidity 20 60 10 90 Installation dimensions 103mm 57mm W H Embedded depth 51mm Outline dimensions 107mm 61 5mm 55 5mm W...
Страница 6: ...m 0 5mm width plain paper It has installed paper roll before out of factory but the paper isn t inserted into the printer head in order to avoid the damage of printer head during transport or long tim...
Страница 7: ...e paper shaft shown as below take out the reel 2 3 3 Install the paper to the reel as shown the figure of 2 4 holding the both ends of the reel put the paper roll into the paper storehouse release the...
Страница 8: ...the exit Shown as figure of 2 5 2 5 5 Push in the inner shell completely chucking with the outer shell to finish the paper loading shown as figure of 2 6 2 6 Attention 1 It will cause a paper jam if t...
Страница 9: ...hich with two lines power cable The socket has polarity protection agency which can insert the dot PCB board directly And the red cable need connect to the anode white cable connect to cathode Please...
Страница 10: ...ol the interface types are IDC10 PIN socket and 5 PIN single socket each types of socket cords number are defined as follows IDC10 pin numbers definition shown as figure 3 1 1 9 2 10 3 1 Serial interf...
Страница 11: ...e pin number definition Mark Source mean the source for the signal The signal logic can be EIA or TTL level due to different insert sockets Under the serial interface connection baud rate and data str...
Страница 12: ...printer s parallel interface is compatible with CENIRONICS Its interface socket is 26 lines flat cable or replace model Parallel interface socket pin number shown as below 1 2 5 2 6 2 3 3 Parallel int...
Страница 13: ...ans have paper 25 SEL Via resistors pull down to high level which means printer online 4 ERR output Via resistors pull down to high level which means have trouble free 2 6 8 NC Not connected 10 12 14...
Страница 14: ...ing items the setting items will change to the next by pressing the SET every time and print out the current setting value Use LF button to choose the value you want for the setting items and the valu...
Страница 15: ...Bit 8bit or 7 Handshaking RTS CTS or XON XOFF Parity None or Odd or Even 2 3 Language Status 2 4 Printing Font Chinese setting Instruction Chinese characters font is only effective in Chinese mode Und...
Страница 16: ...receipt and analysis Self test shows software version interface forms characters and other configuration information Self test receipt shown as below 3 4 Self test receipt The left is the self test r...
Страница 17: ...ted receipt the above picture is for reference only 2 The specific content of each item set can refer to 3 1 3 printer parameters set section After setting manually each time it can be identified whet...
Страница 18: ...s release the LF button After that the green light will continue flash three times then off Printer will print out Hexadecimal Dump now the printer enter into HEX DUMP mode 3 4 Printer Initialization...
Страница 19: ...mand function the commands will be introduced by groups The following will introduce these commands according to the function types of commands The printing results of following examples are all from...
Страница 20: ...will enlarge line spacing ESC 1 Set n point line spacing Form ASCII ESC 1 n Decimal 27 49 n HEX 1B 31 n Explain Set n point line spacing for changing line commands later The value of N should be betw...
Страница 21: ...vertical tab and the paper is fed to the next vertical position Example set three vertical tab values at 2nd line 5th line 8th line in one page you can send the following commands ASCII ESC B STX ENQ...
Страница 22: ...n2 n3 0 Hexadecimal 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...
Страница 23: ...lt of the above program is as following HT Carry out Horizontal Tab Value Format ASCII HT Decimal 9 Hexadecimal 09 Explanation The print position is advanced to the next horizontal tab position which...
Страница 24: ...6 blank characters in one line you can send the following commands ASCII ESC f NUL ACK Decimal 27 102 0 6 Hexadecimal 1B 66 00 06 Another example print 6 blank lines you can send the following command...
Страница 25: ...in the range of the line width value of dot matrix series printers Default n 0 that means no right margin This command sets absolute position and won t be influenced by character commands ESC U and E...
Страница 26: ...II ESC U n Decimal 27 85 n Hexadecimal 1B 55 n Explanation After inputting this command the characters graphics and Chinese characters are printed at n times of normal width n 1 4 Default n 1 The BASI...
Страница 27: ...The BASIC programs for observing the enlarging effect of this command are as below FOR I 1 TO 3 from1 to 3 times LPRINT CHR 27 CHR 86 CHR I ESC V command LPRIN SPRM Print a string NEXT I This process...
Страница 28: ...All characters including spaces will be printed out with underline after selecting allow underline print command This command is also valid for Chinese characters To observe the effect of the command...
Страница 29: ...s command is also valid for Chinese characters The BASIC programs for observing the effect of this command are as below LPRINT CHR 27 CHR 57 CHR 2 Enlarge the vertical and horizontal size twice LPRINT...
Страница 30: ...ain In one line all characters will be printed as twice width of normal width after this command This command can be canceled by Enter or DC4 command Normal width characters and width enlarged charact...
Страница 31: ...t also support graphics mode and Chinese character mode When print the graphics in reverse direction pay attention to the printing sequence of graphic units please check ESC K command 4 2 4 User defin...
Страница 32: ...inted out instead of character n in current characters set m1 m2 mk is user defined character code n1 n2 nk is replaced character code in current character set Both the value of m and n should be 32 2...
Страница 33: ...trix graphics Form ASCII ESC K n1 n2 data Decimal 27 75 n1 n2 data HEX 1B 4B n1 n2 data Explain This command is used to print n2x256 n1 8bit dot matrix graphics The width of this graphics is n2 256 n1...
Страница 34: ...PRINT CHR 27 K CHR 15 CHR 0 ESC K command LPRINT CHR H7C CHR H44 CHR H44 CHR HFF LPRINT CHR H44 CHR H44 CHR H7C CHR H00 LPRINT CHR H41 CHR H62 CHR H54 CHR HC8 LPRINT CHR H54 CHR H62 CHR H41 LPRINT CHR...
Страница 35: ...to initialize the following contents of the printer Remove the print buffer Recover Defaults Select the character set Delete user defined characters 4 2 7 Data control command CR Enter Form ASCII CR D...
Страница 36: ...ese printing mode Form ASCII FS Decimal 28 46 HEX 1C 2E Explain After entering the command the printer will print from Chinese characters mode to ANK characters mode FS SO Set Chinese Double Width Pri...
Страница 37: ...mmand will make the print characters of vertical print namely 90 anticlockwise printing FS K Set the horizontal print Form ASCII FS K Decimal 28 75 HEX 1C 4B Explain This command will make the print c...
Страница 38: ...in one line Chinese characters 8 16 or 6 12 or Chinese 16 16 or 12 12 exist with English characters 6 8 English characters are in one same line with Chinese The format is superscript or subscript Defa...
Страница 39: ...er works in abnormality 3 The power supply must meet the requirement or will damage the print head 4 Please do not put lubricating oil on the print head 5 When change the paper roll pay attention to t...
Страница 40: ...of valid code table is from 00H 0FFH arrangement during which 00H 1FH is used for control code and 20H 0FFH for character code The character code has two sets totally Each character set is the charac...
Страница 41: ...39 Character set 2...
Страница 42: ...s 32 27 43 n 1B 2B n ESC n Allow ban on line printing 27 27 45 n 1B 2D n ESC n Allow underline print is prohibited 26 27 49 n 1B 31 n ESC 1 n Set the line spacing for N points 20 27 54 1B 36 ESC 6 Sel...
Страница 43: ...et up Chinese characters lateral magnification 33 28 20 1C 14 FS DC4 Cancel times width print 34 28 1C 26 FS Set up Chinese characters printed 33 28 45 n 1C 2D n SF n Underline print Chinese character...
Страница 44: ...r interface instance Each pin signal is defined as shown Signal name IDC10 socket pin No 5PIN socket pin No Source Explain RXD 3 3 computer Printer receive data from computer TXD 2 2 printer Printer s...
Страница 45: ...ive data when the signal show SPACE it is mean the printer get ready and can receive data 6 DSR printer Signal show SPACE means printer online 7 GND Signal ground 8 DCD printer Same as CTS computer CT...
Страница 46: ...44...
Страница 47: ...n 1 STB input Gate trigger rising along the read 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 me...
Страница 48: ...ut 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 DB 25 Parallel interface Parallel interface each cords number de...
Страница 49: ...ter online 15 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 nu...
Страница 50: ...BUSY output 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 E...
Страница 51: ...49...
Страница 52: ...50...