Home
SPRT SP-CF Series High Speed Dot-matrix Micro Printer User`s
Contents
1. CHRS 6 ESC 1 command 30 LPRINT 12345678901234567890123456789012345678907 The print result in SP CF24 is as following r390 901234357890 124456 123456 789812345678 1234567897901 2345967898 1254 3 4 Character Setting Commands ESC U Enlarge Width Format ASCII ESC U n Decimal 27 85 n Hexadecimal 1B 55 n Explanation The characters and graphics following this command are printed at n times of normal width 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 10 FOR l 1 TO 3 from 1 to 3 times 20 LPRINT CHR 27 U CHR T ESC U command 30 LPRINT SP Print character string 40 NEXTI 50 LPRINT CHR 13 CR command SPRT The print result in SP CF24 is as following SPS Fr gt Fr Notice this command is valid only after sending ESC W SOH n 1 command ESC V Enlarge Height Format ASCII ESC V n Decimal 27 86 n Hexadecimal 1B 56 n 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 The BASIC programs for observing the enlarging effect of this command are as below 10 FOR l 1 TO 3 from 1 to 3 times 20 LPRINT CHR 27 V CHR I ESC V command 30 LPRINT SP Print character string 40 NEXT I The print result in SP CF24 is a
2. Hexadecimal 1B 2B n 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 The BASIC programs for observing the effect of this command are as below SPRT 10 LPRINT CHR 27 W CHR 2 Enlarge the width and height twice 20 LPRINT SP 30 LPRINT CHR 27 CHR 1 Select up line print 40 LPRINT UP UP print with up line 50 LPRINT CHR 27 CHR 0 Cancel up line print 60 LPRINT SP The print result in SP CF24 is as following SPUPTSP ESC 6 Select Character Set I Format ASCII ESC 6 Decimal 27 54 Hexadecimal 1B 36 Explanation All characters following this command are printed using the character set I There are two character sets are available in SP A character set I is selected at power on or on ESC command ESC 7 Select Character Set I Format ASCII ESC 7 Decimal 27 55 Hexadecimal 1B 37 Explanation All characters following this command are printed using the character set II please refer to ESC 6 SO Set Double Width Character Print Format ASCII SO Decimal 14 Hexadecimal OE Explanation All characters following this command on the same line are printed at twice their normal width this command can be deleted by a carriage return or DC4 command Normal characters and
3. characters 3 Print bit map graphics 4 Select character set 5 Define user defined characters 6 Other These commands include one byte control codes or ESC control code sequences and FS control code sequences ESC control code sequences are begun with ESC code and followed by other character codes FS control code sequences are begun with FS code and followed by other character codes The control codes of the printer are not standardized every printer manufacturer has his own a set of control code system The control codes of SP CF are designed referring to the fashionable ones of IBM and EPSON printer So they are compatible with most of printers 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 Example some examples are listed to illustrate the command for better understanding The following is the description of each command according to the function of each command 3 2 Paper Feeding Commands LF Feed Line Format ASCII LF Decimal 10 Hexadecimal OA Explanation Print the content in the buffer and feed paper one line Only feed paper one line if buffer is empty SPRT ESC J n Dot Line Feed Format ASCII ESC J n Decimal 21 74 n Hexadecimal 1B 4A n Explanation The printer feeds paper
4. ete me Te Tt le BBO OROCEOCORO4 BOS COBOC Ise B JGOMOCMOCCOMCOOJ tr tl l i L I ACEN LIGI IT AGBO CINI i LSE EEEE OPEENS aiil 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 amp H7C CHR amp H44 CHR amp H44 CHR amp HFF LPRINT CHR amp H44 CHR amp H44 CHR amp H7C CHR amp H0 LPRINT CHR amp H41 CHR amp H62 CHR amp H54 CHR amp HC8 LPRINT CHR amp H54 CHR amp H62 CHR amp H41 CHR amp H13 The print result in SP CF24 is as following LH ESC Print Curve Format ASCII ESC gt m nl n2 nk CR Decimal 27 39 m nl n2 nk 13 Hexadecimal 1B 27 m nl _n2 nk OD Explanation SPRT This command is designed to print curving graphics along with the paper feeding direction The 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 Refer to 1 3 There are m curving dots in one horizontal line nl n2 nk denote the position of m curves The value of nk should equal m and each nk should be within the range of the max dots number of each line of this model printer The last CR Carriage Return lets the printer print out the current dot line so a set of dot lines will be printed out form m line curv
5. is as Fig 2 16 shows USY ACK 2 6 Buttons and Indicators SP CF has two indicators the green one is power indicator the red one is paper end indicator When the printer powers on the power indicator lights and when the paper is running out in the printer the red indicator lights SP CF has one button Paper Feeding can be seen when open the front cover hold down the Paper Feeding button then release it the printer will feed paper emptily hold down the Paper Feeding button and release it again the printer will stop feeding paper Paper end Indicator 00 Power Indicator e er Feeding Button Fig 2 17 Button and Indicator Sketch Map 2 7 Self test The self test will check the condition of printer if the printer prints out the self test receipt correctly it means the printer works normally Otherwise it needs to repair Firstly self test prints out print head model then prints out all valid characters according to the order of the two character sets later prints out the interface mode and sample of GB level 1 2 Chinese character set Holding down Paper Feeding button and turn on the power then release the button when the paper feeding begins the printer will print out the self test receipt SPRT Chapter 3 Print Control commands 3 1 Summary SP CF offer more than 40 kinds of print control commands these commands specify the following function of the printer 1 Define format 2 Enlarge or diminish
6. printers control panel is CN4 the pin order of parallel port is as Fig 2 14 shows SPRT 0000000000000 000000000000 25 Fig 2 14 Pin Order of Parallel Port The pin assignment of parallel interface is shown in Fig 3 2 Pin No Signal Direction Description 1 ISTB In Strobe pulse to latch data reading occurs at falling edge i DATA lo These signals represent the 1 5 DATA2 In ce bit to 8 bit of the parallel data 7 DATA3 In representatively each signal is 9 DATA4 In at HIGH level when data is ae eee In Hogi 1 and LOW when data is 13 DATAG In IE i 15 DATA7 In eee 17 DATA8 In Answering pulse LOW level signal indicates that data have 19 Out already been received and the ACK printer gets ready to receive the next data HIGH level signal indicates 21 BUSY Out that the printer is BUSY and can not receive data 23 PE Out HIGH level signal indicates that paper is running out Pulling up to HIGH level signal 25 SEL Out by a resistor indicates the printer is on line Pulling up to HIGH level signal 4 JERR Out bya resistor indicates that there is no error 2 6 8 26 NC No connection 10 24 GND Grounding logical 0 level Fig 2 15 Pin Assignment of Parallel Interface SPRT Notice 1 In denotes input to the printer Out denotes output from the printer 2 Signal level is TTL standard The timing chart for interface signal of parallel interface
7. C B command 20 LPRINT CHR 11 VT command 30 LPRINT VTAB1 Print character string 40 LPRINT CHRS 11 gt VT command 50 LPRINT VTAB2 Print character string 60 LPRINT CHR 11 gt VT command 70 LPRINT VTAB3 Print character string The print result in SP CF24 is as following UTAB3 UTAB2 UTABI VT Carrv out Vertical Tab Value Format ASCII VT Decimal 11 Hexadecimal OB Explanation Feed paper to the next vertical tab position which is set bv ESC B command Notice if there is no vertical tab value setting or the current position equals or is bevond the last vertical tab position VT command is to feed paper one line only same to LF command ESC D Set Horizontal Tab Value Format ASCII ESC D nl n2 n3 NUL Decimal 27 68 nl n2 n3 0 Hexadecimal 1B 44 nl n2 n3 00 SPRT Explanation The tab positions are entered as nl n2 and so on all of these should be within the line width of this model printer Refer to 1 1 Command NUL added at the end indicates the command is over All horizontal tab positions that set can be deleted by using this command in ESC D NUL format HT command is to carry out horizontal tab Example set three horizontal tab values at 274 9 line 14 character position in one line you can send the following commands ASCII ESC D STX HT SO NUL Decimal 27 68 2 9 14 0 Hexadecimal 1B 44 02 09 OE 00 The BASIC programs for this example are as below 10 LP
8. ESC B nl nkNUL Set vertical tab value SPRT 27 67 1B 43 ESC Cn Set page length ton lines 27 68 1B 44 ESC D nl nk NUL Set horizontal tab value 27 74 1B 4A ESC Jn Feed line n dot lines 27 75 1B 4B ESC K nl n2 data Print nl X 8 bit map graphics 27 78 1B 4E ESC Nn Set binding length to n lines 27 79 1B 4F ESC O Cancel binding length 27 81 1B 51 ESC Qn Set right margin width 27 85 1B 55 ESC Un Enlarge width n times 27 86 1B 56 ESC Vn Enlarge height n times 27 87 1B 57 ESC Wn Enlarge width and height n times 27 99 1B 63 ESC cn Select cancel reverse print 27 102 1B 66 ESC fmn Print blank or feed line 27 105 1B 69 ESCin Select cancel reverse white print 27 108 1B 6C ESC In Set left margin width 28 14 1C OE FS SO Set double width print of Chinese character 28 20 1C 14 FS DC4 Cancel FS SO 28 38 1C 26 FS amp Select Chinese print mode 28 46 1C 2E FS Cancel Chinese print mode 127 7F DEL Delete the last one character 33
9. Format 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 Refer to 1 1 Default n 0 that means no right margin This command sets absolute position and won t be influenced bv character enlarging commands ESC U and ESC W After setting this command the printer will carrv out carriage return and feed line as long as the right margin position is reached Example set right margin value to 6 vou can send the following commands The BASIC programs for this example are as below 10 LPRINT 1234567890123456789012347 20 LPRINT CHR 27 Q CHR 6 ESC Q command 30 LPRINT 1234567890123456789012345678901234567890 The print result in SP CF24 is as following 7590 981234567899 122456 123456789912345676 123456 78991234596 78581234 SPRT ESC 1 Set Left Margin Format ASCII ESC 1 n Decimal 21 108 n Hexadecimal 1B 6C 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 left margin This command sets absolute position and won t be influenced bv character enlarging commands ESC U and ESC W Example set left margin value to 6 vou can send the following commands ASCII ESC 1 ACK Decimal 27 108 6 Hexadecimal 1B 6C 06 The BASIC programs for this example are as below 10 LPRINT 123456789012345678901234 Ruler 20LPRINT CHR 27 1
10. RINT 1234567890123456 Ruler 20 LPRINT CHR 27 D CHR 2 CHR 9 CHR 14 CHR 0 ESC D command 30 LPRINT CHR 9 HT command 40 LPRINT AT 1 Print character string 50 LPRINT CHR 9 HT command 60 LPRINT HT 2 Print character string 70 LPRINT CHR 9 HT command 80 LPRINT HT3 Print character string The print result in SP CF24 is as following HT 1 HT HT3 1234567890123456 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 is set by ESC D command 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 ESC f Print Blank Characters or Lines Format ASCII ESC f m n Decimal 27 102 m n Hexadecimal 1B 66 m n SPRT Explanation When m 0 ESC f NUL n will command to print n blank characters the value of n should be within the line width of this model printer Refer to 1 1 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 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 commands ASCII ESC F SOH CK Decimal 27 102 1 6 Hexadecimal 1B 66 0l 06 ESC Q Set Right Margin
11. SPRT SP CEF Series High Speed Dot matrix Micro Printer User s Manual Beijing Spirit Technology Development Co Ltd SPRT Content Introduction rr rr rr rr rr rr 2 Chapter 1 Feature and Performance See ee ee eee eee eee eee ee eee iri ee NEN Nee eee eee EN res 3 1 1 Print Performance and Model ibiii ssessuzzessssssssssssssssssssiis e 3 1 2 Print Paper iebi i i i ess ssesaniusssssesesssssessesesisssessssesssssesseses waa 3 1 3 Ribbon ied ee dessesceseesesseseescesees ees eeeeses sees esses ess eeseeses ESSES 3 1 4 PrintFEont creer rere eee e eect eee eee eee eee sees ee ees 3 1 5 Print Control Commands ibii iz esnawsssssssassssssssesessssssssesesie a 3 1 6 Interface A A 1 7 Power Supplv des eesee sess eseescescesescesees ee seesesesseesees esses eeseesoseeNeS 4 1 8 Outline Dimension ddinsesidlesecesesseseescesesvessescesesveesescesesveesesesses 4 1 9 Weight ieieidlsisisieisisieisicincieisisinceeesseceseesensecseseesesseesescusesccesesceseeseesesesse 4 2 0 Operation Environment Sdesesseccecdessesseseeseusesseeseseeseseeeeeecesess 4 Chapter 2 Svstem Installation and Operation Ueesecdecceeecsseseeseeseseeseesesees 4 2 1 Installation Method dein daisidedeedees cesses sescsveesescesesuvesesencceveeseses ss 4 22 Power Supplv Connection edecceccecsesccccescesesccecescesesseesesesses 6 2 3 Ribbon Installation A 6 2 4 Printer Installation nennenneennennennennznnzenzenzznnza 7 2 5 Interface Connection EUR Cece seed eebbeebe
12. This command is used to print nl X 8 bit map The width of this graphics is nl dots and the height is 8 dots Each column has 8 dots and can be presented by a 8 bit byte the MSB is on the top The values of n1 n2 denote a 16 bit binary data n1 is LSB n2 is MSB n2 X 256 nl denotes the width of this printing graphics in SP A n2 0 nl should be in the range from 1 to the max dots number of each line of this model printer Refer to 1 3 Data are the bytes of relative columns in the graphics sequential from left to right the number of bytes should equal nl when the height of the 25 SPRT graphics is larger than 8 dots it can be marked off several units according to 8 dot lines for each graphic unit when the dots are fewer than 8 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 P C with ESC K command the bit map for the two Chinese is as the below figure shows Each character is composed by 7 x 8 dots to 7 columns there is a space between the two characters so totally there are 15 columns then nl 15 n2 0 the 15 byte data showed in hexadecimal are as follows IC 44 44 FE 44 44 7C 00 41 62 54 C8 54 62 41 WB TT WO ODOC vOmIDoOD
13. and equipment The structure of SP CF printers are reasonable in design they are convenient to change paper and have the function of testing paper running out There are serial interface and parallel interface in the printers for users to select for use they are installed inside GB Chinese character library level I II can realize high speed print for Chinese characters SP CF printers are complete in specifications and function simple to operate convenient to maintain are extensively suitable for the measuring instrument record device cash register equipment etc SPRT 1 1 Print Performance and Model Print method impact dot matrix Copy capability 1 original 1 Model SP CF support EPSON M 180 M 190 and M 160 series ten kinds of print heads the main models are Chapter 1 Feature and Performance Model Print Character Print Print Reliability line Interface Head 5X7 Speed Density MCBF line sec dot line SP CF24 M 190 24 2 5 144 1 5X10 Serial Parallel SP CF40 M 192 40 1 5 240 1 0X10 Serial Parallel 1 2 Print Paper Common paper roll outer diameter max 50mm inner diameter 12 5mm paper width 57 5 0 5mm paper weight 53 64g m 1 3 Ribbon ERC 09 cassette purple life 25 million characters ERC 22 cassette purple life 100 million characters 1 4 Print Font 06 ASCII characters 352 other characters Greek German Russian French etc le
14. de is optional in the range of 1200 2400 4800 9600 bps and is set by DIP switch on the control panel You can select suitable baud rate according to Fig 2 10 It has set the baud rate to 9600bps at ex factory Baud Rate bps Parity Checking WANT w goo l or Oo 1200 BOD git Odd 12 ae 2400 8 hit Even gO 8 bit No Parity om 4800 T bit Odd aa 9600 T bit Even DIP Switch Handshaking Mode Tea ONOOOOOO XON XOF Fa factory Setting ON a Mark 000000 LLC 123456 Fig 2 10 DIP Switch Setting The data structure of serial interface is as Fig 2 11 shows the structure can be selected through DIP switch K4 K5 and K6 As shown in Fig 2 10 it is set to 8 bit no parity at ex factory Start Bit Data Bit Parity Bit Stop Bit 1 bit 7 or 8 bits 1 bit 1 bit Fig 2 11 Data Structure of Serial Interface The polarity of RS 232 signal in serial interface mode is MARK logic 1 EIA 3V 12V low signal level SPACE logic 0 EIA 3V 12V high signal level There are two kinds of handshaking mode for selection one is mark control mode another is XON XOFF protocol mode they can be selected by DIP switch K3 as Fig 2 10 shows It is set to XON XOFF protocol mode The description for the two kinds of handshaking mode is as Fig 2 12 shows Handshaking Data RS 232C Interface Signal Mode Direction SPRT Mark Control In 4 signal line RTS is SPACE status Out 4 signal
15. e ribbon in the ribbon cassette then close the cover of the printer 2 4 Print Paper Installation The paper has already been installed at ex factory for SP CF printer but the paper head has not been inserted in the print head this is in order to prevent the print head from damage while transporting the printer for long distance or storing it for a long time so must insert the head of the paper roll in the print head firstly before using the printer The general steps of installing the paper are as follows 1 Open the front cover of the printer as Fig 2 4 shows 2 Take down the paper roller from the printer if there is already paper in the printer can jump over this step to the fourth step 3 Put the new paper on the paper roller and insert it in the paper in slot 4 Cut the paper end like Fig 2 6 iA ie Fig 2 6 Paper End Sample 5 Put through the power of printer press Paper Feeding 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 then press Paper Feeding button again or turn off the power Paper end Indicator _ Dawes isijiestat i jm Feeding Button 6 Pull the print paper out through the paper out slot on front cover and then close the cover SPRT 2 5 Interface connection SP CF offer serial interface and parallel interface for user to
16. h is set to n lines n 0 255 default n 0 In SP A 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 ESC N ETX Decimal 27 78 3 Hexadecimal 1B 4E 03 The BASIC programs for sending the said sequence are as below LPRINT CHR 27 N CHR 3 ESC O Cancel Binding Length Format ASCII ESC O Decimal 27 79 Hexadecimal 1B 4F Explanation The binding length is set to O line it means the printer will print line by line won t vacate blank lines between each page ESC B Set Vertical Tab Value Format ASCII ESC B nl n2 n3 NUL Decimal 27 66 nl n2 n3 0 Hexadecimal 1B 42 nl n2 n3 00 Explanation The tab positions are entered as nl n2 and so on all of these should be within the page length set by ESC C command Command NUL added at the end indicates the command is over SPRT All vertical tab positions that input can be deleted by using this command in ESC B NUL format VT command is to carry out vertical tab the paper fed to the next vertical position Example set three vertical tab values at 2 line 5 line 8 line in one page you can send the following commands ASCII ESC B STX ENQ BS NUL Decimal 27 66 2 5 8 0 Hexadecimal 1B 42 02 05 08 00 The BASIC programs for this example are as below 10 LPRINT CHR 27 B CHR 2 CHR 5 CHR 8 CHR 0 ES
17. ing graphics based on the data of nl n2 Nk For example If you want to print the following 5 equational curving graphics Y 1 50 40 EXP 0 01 X SIN X 10 Y2 50 40 EXP 0 01 X SIN X 10 Y3 50 Y4 50 40 EXP 0 01 X Y5 50 40 EXP 0 01 X You can program the following programs with BASIC language 10 FOR X 0 TO 150 Print 150 dot lines 20 X INT 40 EXP 0 01 X 30 YY INT Y SIN X 10 40 LPRINT CHR 27 CHR 39 CHR 5 ESC command m 5 50 LPRINT CHR 50 YY CHR 50 YY CHR 50 60 LPRINT CHR 50 Y CHR 50 Y CHR 13 70 NEXTX The print result for these programs in SP CF24 is as following ka j HA f ve Sh ih re ery 3 7 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 27 SPRT Clear the data in the print buffer Restore the default Select character set 1 Delete user defined characters 3 8 Data Control Commands CR Carriage Return Format ASCII CR Decimal 13 Hexadecimal OD Explanation If a CR command is sent to printer the total data in the print buffer will be printed out and paper will be fed for one line forwards CAN Cancel One Line Format ASCII CAN Decimal 24 Hexadecimal 18 Explanation This command is to cancel all the characters in the print buffer before this comma
18. ket Support XON XOFF or RTS CTS protocol Baud rate 1200 2400 4800 9600 optional Parallel interface 8 bit print parallel interface ID26 pin socket Support BUSY or ACK handshaking protocol Power supply external connection DC5V 1 590 average current 3A peak value current 5A Outline dimension 122 W X 90 D x129 H mm Weight about 350g excluding paper roll Operation environment operation temperature O 40 C relative humidity 5 85 SPRT Appendix 2 Index of Print Commands Decimal Hexadecimal Command Name Function 0 00 NUL Ending symbol 9 09 HT Carry out horizontal tab 10 OA LF Feed line 11 OB VT Carry out vertical tab 12 OC FF Feed page 13 OD CR Carriage return 14 OE SO Set double width character print 20 14 DC4 Cancel SO command 24 18 CAN Cancel the characters in current line 27 34 1B 22 ESC n Select cancel hexadecimal print 27 37 1B 25 ESC m1 nl mk nk Replacing code nk NUL is defining code mk 27 38 1B 26 ESC amp mnl n2 n6 User defined characters 27 39 1B 27 ESC m nl n2 nk Print m curving CR dots 27 43 1B 2B ESC n Select cancel up line print 27 45 1B 2D ESC n Select cancel underline print 27 49 1B 31 ESCin Set line spacing to n dot lines 27 54 1B 36 ESC 6 Select character set I 2755 IB 37 ESC 7 Select character set II 27 58 1B 3A ESC Restore original codes 27 64 1B 40 ESC Initialize printer 27 66 1B 42
19. line RTS is MARK status XON XOFF In Send X ON code 11H on 5 signal line Out Send XOFF code 13H on 5 signal line Fig 2 12 Two Kinds of Handshaking Mode The serial interface of SP CF can be connected to standard RS 232C interface When it is connected to IBM PC or its compatible machine connection can accord to Fig 2 13 2 IBM PC DB9 D IBM PC DB25 CH3 Socket Serial Interface CN3 Socket Serial Interface Fig 2 13 Connection between SP CF and IBM PC Serial Interface Sketch Map The operation steps for serial interface mode are as below 1 Confirm the position of short circuit W3 which on the control panel is on CONNECTION and there is no cable plugged on the serial interface socket CN4 2 Select baud rate data structure and handshaking mode with DIP switch 3 When remaining 32 bytes in the data buffer will be set to BUSY status by the printer namely MARK status Otherwise set to READY status namely SPACE status 4 When it is BUSY status under XON XOFF control the printer sends XOFF 13H code When READY status it sends XON 11H code 5 When it is under mark control the host sends or stops sending code string according to RTS signal RTS denotes READY status or BUSY status 2 5 2 Parallel interface connection The parallel interface of SP CF printer is 8 bit print parallel interface supports BUSY or ACK handshaking protocol and its interface socket is IDC26 pin socket the mark on the
20. n dot lines n 0 255 If there remains data that have not been printed print these data before feeding paper 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 and ESC W for enlarge characters ESC 1 Set n Dot line Spacing Format ASCII ESC 1 n Decimal 27 49 n Hexadecimal 1B 31 n Explanation The line spacing is set to n dot lines for future Line Feed command n 0 255 default setting n 3 for text printing n 0 for bit map printing when using ESC K command The BASIC programs for observing the effect of this command are as below 10 FOR I 1 TO 11 STEP 2 20 LPRINT CHR 27 1 CHR 1 ESC 1 set line spacing 30 LPRINT LINESPACING CHR 10 Print character string and feed line 40 NEXT I The print result of the said programs in SP CF24 is as following LINE SPACING LINE SPACING LINE SPACING LINE SPACING LINE SPACING FF Feed Page Format ASCII FF Decimal 12 Hexadecimal OC Explanation Feed paper to the beginning of the next page SPRT 3 3 Format Setting Commands ESC C Set Page Length Format ASCII ESC C n Decimal 27 67 n Hexadecimal 1B 43 n Explanation The page length is set to n character lines n 0 255 when n 0 the page length is 256 lines Default n 40 ESC N Set Binding Length Format ASCII ESC N n Decimal 27 78 n Hexadecimal 1B 4E n Explanation The binding lengt
21. nd code and return to the last carriage return code It doesn t cancel any control code sequences in the current line DEL Delete One Character Format ASCII DEL Decimal 127 Hexadecimal 7E Explanation This command is to delete one character in the print buffer it doesn t delete the control code unless this character has been printed NUL NUL Format ASCII NUL Decimal 0 Hexadecimal 00 Explanation NUL command is used as the final code in some commands such as ESC B ESC D ESC and ECS denotes these commands are over NUL command is ignored when used alone 3 9 Hexadecimal Print Commands 28 SPRT ESC Turn Hexadecimal Dump Print On Off Format ASCII ESC i n Decimal 27 34 n Hexadecimal 1B 22 n Explanation Hexadecimal dump print mode is turned on if n 1 and turned off if n 0 when Hexadecimal dump print mode is turned on all data sent from the host computer will be printed out in hexadecimal For example when send the following data from the host computer to the printer LPRINT CHR 0 CHR 27 A CHR 24 These data will be printed out in hexadecimal 00 IB 41 18 Hexadecimal print mode carries out print only when the print buffer is full 3 10 Chinese Character Print Commands FS amp Select Chinese Print Mode Format ASCII FS amp Decimal 28 38 Hexadecimal IC 26 Explanation After printer received this command it will switch from ASCII character print mode to Chi
22. nese character print mode Using GB Chinese character librarv level I II FS Cancel Chinese Print Mode Format ASCII FS e Decimal 28 46 Hexadecimal 1C 2E Explanation After printer received this command it will switch from Chinese character print mode to character print mode Notice inputting FS Chinese character print mode to printer will be invalid FS SO Set Chinese Double Width Print Format ASCII FS SO Decimal 28 14 Hexadecimal 1C OE Explanation SPRT Characters following this command are printed at twice their normal width does not enlarge the height FS DC4 Cancel Chinese Double Width Print Format ASCII FS DC4 Decimal 28 20 Hexadecimal 1C 14 Explanation This command is to cancel FS SO command 3 0 SPRT Appendix 1 Performance Index Print method impact dot matrix Print structure 6 8 pins Print paper width 57 5mm Print paper Common paper paper end testing is available Outer diameter 50mm max Inner diameter 12 5 Paper width 57 5 0 5mm Paper weight 53 649 m Copy capability 1 original 1 Ribbon Cassette ESC 09 purple life 25 million characters ERC 22 purple life 100 million characters Print font 448 defined characters 32 user defined characters GB Chinese characters 15 X 16 dots Chinese character set I II Print command ESC P print commands and FS Chinese character print commands Interface Serial interface RS 232C IDC10 pin soc
23. s following F p SP Notice this command is valid only after sending ESC W SOH n 1 command ESC W Enlarge Width and Height Format ASCII ESC W n Decimal 27 87 n Hexadecimal 1B 57 n Explanation The characters and graphics following this command are printed at n times of normal width and height n 1 4 default n 1 The BASIC programs for observing the enlarging effect of this command are as below 10 FOR I 1 TO 3 from to 3 times 20 LPRINT CHR 27 W CHR D ESC W command 20 SPRT 30 LPRINT SP Print character string 40 NEXT I The print result in SP CF24 is as following SP SP ESC Select cancel Underline Print Format ASCII ESC n Decimal 27 45 n Hexadecimal 1B 2D n Explanation When n 1 select underline print when 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 The BASIC programs for observing the effect of this command are as below 10 LPRINT CHR 27 W CHR 2 Enlarge the width and height twice 20 LPRINT SP 30 LPRINT CHR 27 CHR 1 Select underline print 40 LPRINT UP UP print with underline 50 LPRINT CHR 27 CHR 0 Cancel underline print 60 LPRINT SP The print result in SP CF24 is as following ESC Select cancel Up line Print Format ASCII ESC n Decimal 27 43 n
24. select for using the user can select the needed interface mode by changing the position of short circuit W3 which is on the printers control panel see Fig 2 7 I Serial Interface W3 Parallel Interface W3 Fig 2 7 Interface Mode Selection Notice when using serial interface the parallel interface socket CN4 shouldn t be plugged cable when using parallel interface all DIP switch must be on the position of OFF 2 5 1 Serial Interface Connection The serial interface of SP CF printers is compatible with RS 232C standard the interface socket is DC10 pin socket the mark on the printers control panel is CN3 The pin order of serial port is as Fig 2 8 shows 1 10 Ooovoo goooo 9 Fig 2 8 Pin Order of Serial Interface The pin assignment of serial interface is shown in Fig 2 9 Pin No Signal Name Source Description RXD Host Printer receives data from host TXD Printer Printer transmits control code XON XOFF to host when using XON XOFF handshaking protocol 4 RTS Printer Signal MARK indicates that the printer is BUSY and unable to receive data SPACE indicates that the printer is READY for receiving data SPRT 9 GND Signal Ground Fig 2 9 Pin Assignment of Serial Interface Notice 1 The Source denotes the source that signal come from 2 Logical signal level is EIA The baud rate in serial interface mo
25. sendeevereeseedeedeeeeveedee eee bey 8 2 5 1 Serial Interface Connection sewsesassessesseweswa as we sw sis wie b wie aw sew 8 7 52 Parallel Interface Connection Seed eecedcescedevevessevenveevesooeeenens 10 2 6 Buttons and Indicators nee nee 12 2 5 Self test seweesissasseekesiessese iewi swe ss sis sesswali 12 Chapter 3 Print Control Commands eweesessassewis seww e saber swe be eed eed vee eves ww 13 3 1 Summarv MTR Te sw we swe sse kw 1 3 3 2 Paper Feed Commands is essssessestesssssssenventestesznsewseweesawisa 13 3 3 Format Setting Commands S86 654964080 C eS Coes ee o deed ess ee eee eee was 15 3 4 Character Setting Commands PERES EEEREN ee eee see ee eee ai 19 3 5 User defined Character Setting Commands 77777 23 3 6 Graphics Print Commands A ses 25 3 7 Initialization Commands RS EESEESES ERE ES COR CdSe eee deed ess e eee even 27 3 8 Data Control Commands A es 28 3 9 Hexadecimal Print Commands SG 060504s 06S SEES eee ee eee eee eee eee ES 28 3 10 Chinese Print Control Commands iwsasssssssensesssssessessessszena 29 Appendix 1 Performance Index ib essssssssnsessssssssszssssosusssssessssisssssssssss dw 31 Appendix 2 Index of Print Commands XIZZIZATIZ TIKA 32 SPRT Introduction SP CF series high speed panel micro printers adopt high speed impact dot matrix print new type panel structure they especially suitable for being installed on the vertical panel of the instruments and equipments become an organic whole with the instrument
26. t the replaced characters The values of m and n both should be in the range 32 to 255 The subscript K 1 32 the maximum number of replaced characters is 32 Character NUL added to the end means the command is over Please refer to ESC and ESC commands 24 SPRT ESC ss RestoreCharactersthatin Character Set Format ASCII ESC Decimal 27 58 Hexadecimal IB 0 3A Explanation This command is used to restore the original characters in the character set replaced by 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 amp ESC and ESC are as below 10 LPRINT CHR 27 W CHR 2 Enlarge width twice 20 LPRINT CHR 27 amp CHR 65 ESC amp command 30 LPRINT CHR amp H02 CHR amp H7C CHR amp H40 40 LPRINT CHR HC0O CHR amp H40 CHR HOO 50 LPRINT CHR 27 CHR 65 CHR 65 CHR 0 ESC command 60 LPRINT CHR 65 Print user defined characters 70 LPRINT CHR 27 ESC command 80 LPRINT CHR 65 Restore characters in the character set The print result in SP CF24 is as following Hi r 3 6 Graphics Print Commands ESC K Print bit map graphics Format ASCII ESC K nl n data Decimal 27 75 nl n2 data Hexadecimal IB _ 4B nl n2 data Explanation
27. te that the polarity of the power shouldn t be connected incorrectly the voltage of the power must be in the permitting range otherwise will cause permanent damage to the printer 2 3 Ribbon Installation The ribbon cassette has already been installed well at ex factory but after using for a period of time it needs to change the ribbon cassette the ways for changing ribbon cassette may accord to the following steps 1 Open the front cover of the printer as Fig 2 4 shows Fig 2 4 Opening the Front Cover 2 Take down lightly the old ribbon cassette which is on the head of printer see Fig 2 5 Fig 2 5 Taking Down the Ribbon Cassette Please note lift up the left end of the ribbon cassette first then lift up the right one take down the ribbon cassette SPRT 3 Installing the new ribbon cassette firstly put down gently the right end of ribbon cassette on the gear wheel which is on the left end of the print head lift up the left end a little don t put down at this time if you find the right end of ribbon cassette has not been put down to the bottom please hold down the knob of ribbon cassette with finger rotate slightly according to the arrow direction until the ribbon cassette has been put down to the bottom then put down the left end please check the ribbon if it hasn t been drawn to be straight or appeared to be out of the ribbon cassette you can rotate the knob which is on the ribbon cassette again until draw th
28. tline Dimension 122 W X90 D x129 H mm 1 9 Weight About 350g excluding paper roll 1 10 Operation Environment Operation temperature 0 40 C Relative humidity 5 85 Chapter 2 System Installation and Operation 2 1 Installation Method The outline structure of SP CF printer is as Fig 2 1 shows the outline dimension is as Fig 2 2 shows SPRT Fixed Screw Front Cover Paper out Slot Paper end Indicator Power Indicator Armi ncluding the height of control panel components Fig 2 2 SP CF Outline Dimension In order to install SP CF on the vertical panel of the instrument or equipment it requires to open a installing orifice and four fixed orifices on the vertical panel of the instrument or equipment according to the size Fig 2 3 shows then can install the printer on the panel firmly T 55mm T 55mm 3 a H 112mm Fig 2 3 Installing Orifice Size and Fixed Orifice Size SPRT 2 2 Power Supply Connection SP CF printer adopts single DC5V power supply The permission range of the voltage of the power is 5V 0 25V the tolerance of the power is 3A SP CF printer has offered a two line power cable with plug The plug has polarity protection mechanisms can be inserted directly in the socket CNI which is on the control panel of SP CF 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 Please no
29. ts graphics mode When print the graphics in reverse direction pay attention to the print order of graphic units please see ESC K command 3 5 User defined Character Setting Commands 23 SPRT ESC amp User defined Characters Format ASCII ESC amp m nl n2 n6 Decimal 27 38 m nl n2 n6 Hexadecimal B 26 m nl n2 n6 Explanation This command allows a character to be defined parameter m is the code of user defined character m 32 255 Parameter nl n2 n6 are the structure codes of user defined character The character size is 6 x 8 dots Each row is denoted by one byte data the MSB is on the top as the below figure shows 2 MSB OEC IELI NUS QULOLOL WE QULULLU E E OULOLULIML LEE BEL L KE ija LSB w kin 2 The user defined characters are stored in printer RAM until power off If many ESC amp 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 ESC Replace with User defined Characters _ Format ASCII ESC ml nl m2 n2 mk nk NUL Decimal 27 37 ml nl m2 n2 mk nk O0 Hexadecimal IB 25 ml nl m2 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 i OI nk are codes of characters in the current character se
30. tters Japanese katakana partial 5 X 7 dots Chinese characters Mathematics symbols print symbols graphics symbols 32 user defined characters Standard characters are 5 X7 dots graphics symbols and user defined characters are 6 X 8 dots Chinese Characters GB level 1 2 15 X 16 dots 1 5 Print Control Commands 40 general ESC P print control commands and FS Chinese character print control commands Character bit map graphics print command FSC P commands support character print and its enlargement up line and underline and the print of bit map graphics user defined character can realize print format setting hexadecimal mode print etc Chinese character print command FS commands support inside GB level 1 2 hard Chinese character set SPRT Chinese character Roman letters A6 area and tabs print A9 area detailed commands please refer to Chapter 3 print control command 1 6 Interface Serial interface compatible with RS 232C Baud rate 1200 2400 4800 9600bps selected by DIP switch Handshaking protocol RTS CTS or XON XOFF protocol selected by DIP switch Interface socket IDC 10 pin socket Signal level EIA Parallel interface compatible with 8 bit print parallel interface Handshaking protocol BUSY or ACK protocol Interface socket IDC 26 pin socket Signal level TTL 1 7 Power Supply MOLEX 5045 3 model socket DC5V 5 average current 3A peak value current 5A 1 8 Ou
31. width enlarged characters can be printed on the same line DC4 Cancel Double Width Character Print Format ASCII DC4 SPRT Decimal 20 Hexadecimal 14 Explanation Double width print 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 ESC i Select cancel Reverse White Print Format ASCII ESC i n Decimal 27 105 n Hexadecimal 1B 69 n Explanation 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 it is selected at power on or on ESC command The BASIC programs for reverse white print are as below 10 LPRINT CHR 27 i CHR 1 Select reverse white print 20 LPRINT sprintwd The print result in SP CF24 is as following PORCURE CHT FKL MAU ESC c Select cancel Reverse Print Format ASCII ESC c n Decimal 27 99 n Hexadecimal 1B 63 n Explanation When n 1 select reverse print when n 0 cancel reverse print Usually reverse print is adopted when SP A printers are installed vertically so as to observe the print result When power on and restoring the position default n 1 Notice ESC command doesn t change the print mode which is set by ESC c command Reverse print not only supports character mode but also suppor
Download Pdf Manuals
Related Search
Related Contents
InLine 31604 Hilti 3512345 Installation Guide PDF - Star Extras Line Manuale di Montaggio Blog Photography for Nikon School Untitled Dicota CamPocket Look Copyright © All rights reserved.
Failed to retrieve file