Home
the file
Contents
1. d is dot graphics data byte relevant dot is 1 which means that this dot should be printed relevant dot is 0 which means that this dot shouldn t be printed m be used to choose dot graphics pattern M Mode Vertical Horizontal Dot Dot density Dot density The most of count dot counts 0 8 dot 8 68 DPI 101 DPI 192 single density 1 8 dot 8 68 DPI 203 DPI 384 double density 32 24 dot 24 203 DPI 101DPI 192 single density 33 24 dot 24 203 DPI 203DPI 384 double density 8 dot pattern 24 dot pattern 204 d1 d2 d3 etic TU fit Dot graphics data bit graphic Dot graphics data bit graphic GS n Print download bit image Form ASCII GS n DECIMAL 29 47 n DEX 1D 2F n Description Prints a downloaded bit image using the mode specified by m n selects a mode from the table below Dot graphics pattern Veritical density Horizontal density n 0 Normal 203 DPI 203 DPI 1 Double width 203 DPI 101 DPI 2 Double height 101 DPI 203 DPI 3 Double height and width 101 DPI 101 DPI pattern GS n1 n2 d1 dk Defined download bit image Form ASCII GS nin2 dk 20 DECIMAL 29 42 nln2 d k HEX ID 2A nln2 d k Description This command for set of down load bit map graphics n l 1 48 n2 1 255 nl Xn2 lt 1200 k n1Xn2X8 d is data byte of the down load bit map graphics horizontal n1X8 dot vertical n2X8 Setting o f down load bit map graphics remain valid till new definition or po
2. When an odd number of data is input the printer ignores the last received data Note n indicates the number of bar code data and the printer processes n bytes from the next character data as bar code data e If n is outside of the specified range the printer stops command processing and processes the following data as normal data This command feeds as much paper as is required to print the bar code regardless of the line spacing specified by ESC 2 or ESC 3 e This command is enabled only when no data exists in the print buffer When data exists in the print buffer the printer processes the data following m as normal data e After printing bar code this command sets the print position to the beginning of the line This orders no effected by printing pattern the size of character and so on except reverse printing pattern When using CODE128 m 73 About the information of CODE128 bar code and code table please consult appendix I When this printer uses C0DE128 please consider the below factors which refers to sending the data The head of bar code data must be the chosen character CODE A CODE B or CODE C of code fond be used to choose the first used code fond Defined special characters by used and a group of characters Through sending two definition continually and defined ASCII character Special Sending data character ASCII code HEX DECIMAL SHIFT S 7B 53 123 83 C
3. sXa m n 1 Description ESC amp is used to define user defined character S 3 32 lt n lt m lt 126 0 lt a lt 12 0 lt p lt 255 s is number of vertical bytes Default value S 3 n is starting ASCII code for user defined character m is ending ASCII code for user defined character When define one character only m n maximum number of user defind charcters is 96 a is the number of the horizontal dots p is the byte of total number of user defined characters is m n 1 After defining the user defined character always effects till defining again or reposition or turn off print 4 2 4 Special Control Command ESC c5n Enable disable panel buttons Form ASCII ESC c 5n DECIMAL 27 99 53 n HEX 1B 63 35n Description When the LSB of n is 0 the panel buttons are enabled When the LSB of n is 1 the panel buttons are disabled 4 2 5 Graphic Printing Commands ESC m n1 n2 d1 dk Set dot command Form ASCII ESC mnn1n2 d k DECIMAL 2742mnn1n2 d k HEX 1B2Amnnln2 d k Description m for setting bit map graphics mode nl n2 for setting number of dots d k for setting content of dots m 0 1 32 33 n1 0 255 n2 0 3 d 0 255 K n1 256 Xn2 m 0 1 k n1 6Xn2 X3 m 32 33 Horizontal dots is n1 256 x n2 If the dot counts over one line the part which over the biggest dot count will be negelected connected with the chosen dot graphics pattern the specifics as the following table dl d4 i Sf d2 d5 d3 Napa L fr
4. F 27 39 O 4F 79 w 77 119 28 40 P 50 80 x 78 120 29 41 Q 51 81 y 79 121 2A 42 R 52 82 z 7A 122 4 2B 43 Ss 53 83 7B 7B 123 123 A 2C 44 T 54 84 7C 124 2D 45 U 55 85 7D 125 A 2E 46 V 56 86 7E 126 2F 47 Ww 57 87 DEL 7F 127 0 30 48 x 58 88 FNC1 7B 31 123 49 1 31 49 Y 59 89 FNC2 7B 32 123 50 2 32 50 Z 5A 90 FNC3 7B 33 123 51 3 33 51 5B 91 FNC4 7B 34 123 52 4 34 52 5C 92 SHIFT 7B 53 123 83 5 35 53 5D 93 CODE A 7B 41 123 66 6 36 54 A 5E 94 CODE C 7B 43 123 67 7 37 55 5F 95 8 38 56 i 60 96 9 39 57 a 61 97 3A 58 b 62 98 3B 59 c 63 99 lt 3o 6o d 64 100 3D 61 e 65 101 gt 3E 62 f 66 102 3F 63 g 67 103 E 40 64 h 68 104 A 41 65 i 69 105 B 42 66 j 6A 106 Cc 43 67 k 6B 107 D 44 68 6C 108 E 45 69 m 6D 109 F 46 70 n 6E 110 G 47 71 o 6F 111 Printing character among code fond C Shana Transmit Data Hox Decimal Cha 0 0 e 00 01 02 03 04 05 06 07 08 09 DA 0B oc oD DE OF 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 EEGERLERLEBBNEREER racter Transmit Data Hex__ Decimal 40 S6ESSESELSEEESERLETMESSBSSSLSREBRESTARASSESSB Transmit Data Character Hex _ Decimal SSSASRLSRLS n 588388288 288828RR8R28B ER28AMOSO CODE A 7B 41 CODE B 7B 42 29
5. 03 feet Form ASCII ESC 3 n DECIMAL 27 51 n HEX 1B 33 n Description Set line spacing n dot lines n 0 255 This orders set line spacing n 203 feet Default value n 30 4 2 3 Character printing command ESC n Set character printing pattern Form ASCII ESC n DECIMAL 27 33 n HEX 1B 21 n Description Set line spacing n dot lines n 0 255 ESC n is a comprehensive character printing pattern seeting orders be used to choose the size of printing character The default value of n is 0 that s to say character isn t be extended The definition of per printing parameter n as follows x X Db DI XXXX oe ci 1 Double height printing 1 Double height printing ESC SO Permit character double width printing Form ASCII ESC SO DECIMAL 27 14 HEX 1B OE Description At the same line all characters behinds this order be printed two times than the normal width This orders could be deleted by Enter or DC3 command ESC DC4 Cancel character double width printing Form ASCII ESC DC4 DECIMAL 27 20 HEX 1B 14 Description Resume normal printing ESC n Enable Disable user defined character Form ASCII ESC n DECIMAL 27 37 n HEX 1B 25n Description When n 1 choose user defined character fond when n 0 choose interior character fond Default value n 0 ESC amp snm Set user defined character Form ASCII ESC amp Snm a p sXa m n 1 DECIMAL 2738Snm a p sXa m n 1 HEX 1B26Snm a p
6. LA CLIC eee 16 ESCI Mia 16 4 2 3 Character printing COmmand nc ron NE E E 16 ESC A EDS 16 ESC SO der IM di E 17 ESC DCA panna ii aLaaa io 17 ESCHE iris hace ee ees T A 17 AS iii iii 18 4 2 4 Special Control Command nono non nconononcnn cnn DE DEA DERA ncon cnn n carr nn rancia nacos 18 ESC GI Tina Ra o e IHR i DAAN han rata 18 4 2 5 Graphic Printing COMMANds i 18 AN a a AA AA 18 GA i o i i ra iu 20 GS nln dle dks sli sano bisi bolina iaia Sun Sas 20 4 2 0 Bar code commatidi e e se 21 GS MN OO 22 DGS km dl dk NUL eee eee 22 GS k mn IR ie 22 ARTO COMA e 24 ESCO 24 ESC POIO Do NN 24 ESC Va AS 24 ESC AA 25 Appendix CODE128 BAR CODE iii 26 Chapter Introduction 1 1 Technique Specification Item Parameter Printing Mode Direct thermal line printing Printing Speed About 50 mm second Printing Width 57 5 0 5 mm Printing Density 8dot mm 384dot line Effective Printing Width 48 mm Paper Solve Method Manual cut Detectation of Without Paper Photoelectricity Sensor Life of Print Head 50KM 1 2Printing Paper Item Parameter Roll Paper Type Thermal paper Specification of Width 76 2 0 5 mm Max Outer Diameter 80 mm Roll Paper Min Inner Diameter 10 mm Thickness 53 60g m 1 3Printing Character Item Parameter ANK Character Set 12X24dot 1 25 width X3 00 height mm International Standard I II Class 24X24dot C
7. ODE A A 7B 41 123 65 CODE B B 7B 42 123 66 CODE C c 7B 43 123 67 FNC 1 1 7B 31 123 49 FNC 2 2 7B 32 123 50 23 FNC 3 3 7B 33 123 51 FNC 4 4 7B 34 123 52 oi Na te i 7B 7B 123 123 If the data serial head of bar code is not the code fond chosen character so the printer stop dealing with command and treat the continued data as the general data e If the combination of and continued characters isn t fitting for any special characters so the printer stop dealing with command and treat the continued data as the general data If the printer can t receive the characters which should be used to special code fond so the printer stop dealing with command and treat the continued data as the general data 4 2 7 Other commands ESC O Initialize printer Form ASCII ESC DECIMAL 27 64 HEX 1B 40 Description ESC command initializes the following contents Clear the data in the print buffer Restore default value Choose character printing pattern Delete user defined character ESC pmn1 n2 Cash draw control Form ASCII ESC p mnl n2 DECIMAL 27 112 m nl n2 HEX 1B 27 m nl n2 Description According to nl n2 and produced the pulse which existed a certain time space this orders be used to control the cash drawer movement 24 m 0 0 lt n1Sn2 lt 255 The open time is nlX2ms the closed time is n2X2ms ESC v Send the printing status to the
8. USER GUIDE lees THBP S TINGAN Pater SHENZHEN ICOD DIGITAL CO LTD DECLARE This product belongs to A grade maybe it will cause radio disturbance at natural enviroment In such circumstances needs that the user takes practicable measures for it COPYRIGHT This document made by 2007 Eidition 1 0 lt 2007 06 gt Security Information In order to use your printer in effectiveness and security Please obey the following rules Before Use In order to hold the ture usage method Before using printer please read this user s manual particularly O Please put this User s Manual on the convenient position In order to take out reading and solving problems at any moment Notices In Security If neglect the following notice matters incorrect use may be bring damage NOTICE If occurred paper jams make sure turining off button as the first step waiting for ten seconds in order to cool down the print head and then clearing away the paper Please don t set this product in the humid or dusty enviroment No pressing No dumping Roller Paper Make sure to use the specific roller paper which fit for this manual Don t be used the roller paper which the end be felted on the paper axes Or the printer can t detect the end of roller paper exactly may be could bring damage to printer Aslo can t choose the roller paper which without paper axes Or ma
9. cters Code set A ASCII characters 00H to 5FH Code set B ASCII characters 20H to 7FH Code set C 2 digit numeral characters using one character 100 numerals from 00 to 99 The following special characters are also available in CODE128 SHIFT characters In code set A the character just after SHIFT is processed as a character for code set B In code set B the character just after SHIFT is processed as the character for code set A SHIFT characters cannot be used in code set C Code set selection character CODE A CODE B CODE C This character switches the following code set to code set A B or C Function character FNC1 FNC2 FNC3 FNC4 The usage of function characters depends on the application software In code set C only FNCI is available Code Tables Printing character in code set A 26 o o o ma o co oo mir A e gt US F R op og or i cia 16 sera a 24 w o ton Do Qo 24 Printable character in code set B s s 3 so 36 o o a a 37 _ 38 Ea 38 so enca m 123 52 ac 6o swer 7 53 123 83 o ei comi meal see e ef cmcl mel eos 27 Transmit Data Character Hex Decimal Character Hex Decimal Character Hex Decimal SP 20 48 70 32 H 72 p 112 21 33 49 73 q 71 113 5 22 34 J 4A 74 r 72 114 23 35 K 4B 75 s 73 115 24 36 L 4C 76 t 74 116 25 37 M 4D 77 u 75 117 amp 26 38 N 4E 78 v 76 118
10. er and take the print paper out then touch a little alcohol which needed to use absorbent button clean the dirtiness on the print head Dl After cleanning wait for the alcohol which on the print head have volatilized then installing the paper and closing the cover At last connecting power and turing into self test observing the cleaning 13 effectiveness Chapter III Malfunction Exclusion 4 1 Command Illustration Malfunction Phenomenon Not electrified Not carried the paper Printing unclear Not printed Exa not Exa ine ine Solution that the power adapter whether outputted woltage or that the power output plug and printer whether connected well or not Exa not Exa ine ine ine ine mine ssed ine ine ine that the printer s power button whether openned or that the printer s roller paper whether used or not that the printer s roller paper whether jammed or not that the printer s test paper is dirty or not that the printer s cover pressing paper wheel whether to position or not that the print head is dirty or not that the print paper is wet or not that the interface line of printer and PC whether connected well or not 14 Chapter IV Printing Table 4 1 Command Illustration Command LF ESC Jn ESC 2 ESC 3n ESC n ESC SO ESC DC4 ESC on ESC snm ESCc5n ESC mnl n2 dl dk ESC nl n2 d1 dk GS n GSw
11. hinese Font 3 00 width X3 00 height mm 1 4Interface Form Item Parameter Serial Interface D SUB 25 thread socket female Support RTS CTS Baud rate 9600bps Data structure 1 bit start bit 8bit Data bit 1bit or above stop bit Parallet Interface 8 digit Parellel Interface BUSY handshake protocol PE without paper detect interface socket use D SUB25 thread socket male Cash Drawer DC 12V 24V 1 A 6 Thread RJ 11 Socket Control 1 5 Control Command Item Parameter Dot Printing Command Support different density dot and load graphics printing Character Printing Support ANK character user difined character and Chinese Command characters double width printing double height printing the gap of the characters are adjustable 1 6Power and Operating Environment Request Item Parameter Power Supply DC12V DV24V 2A Operating Temp 5 40 Operating Relative Humidity 10 80 Storage Temp 20 60 C Storage Relative Humidity 10 90 1 7 Dimension and Weight Item Parameter Dimension 215 L X 135 W X 133 H mm Weight 810g Without Roller Chapter II Installation and Operation 2 1 Printer Dimension Figure2 1 The printer dimension 2 2 Control Board T58D Printer Board has one keys and three indicator lights the graphic 2 2 1 as follows PAPER on SD ERROR FEED Figure 2 2 1 The sketch graphic of control board 2 3 Indicator light and key operation Indicator Ol Power light Normal work the green light is br
12. host computer Form ASCII ESC v DECIMAL 27 118 HEX 1B 76 Description It only effects to the serial model printer T58DS When the printer received this orders sending a byte to up printer through serial interface TXD Each bit of this byte defined as follows Bit Function Data 0 Undefined 990 ra 1 Undefined OSS ham Paper test With paper Without paper instrument Undefined TTT Unused Identical data is O Identical data is 0 Undefined TTT Undefined 2 TT Undefined TTT N Ba oO SB W ESC un Send the ambient equipment status to the host computer Form ASCII ESC un DECIMAL 27 117 n HEX 1B 75 n Description It only effects to the serial model printer T58DS Default value n 0 When the printer received this orders sending a byte to up printer through serial interface TXD 25 Each bit of this byte defined as follows Bit Function Data 0 1 0 Cash drawer Low High open close level 1 Undefined o 2 Undefined ee EX 3 Undefined mane 4 Unused Identical data is O O 5 Undefined ee 6 Undefined a o a 7 Undefined 2 2 a ano Appendix I CODE128 BAR CODE 1 The description of the CODE128 BAR CODE In CODE128 bar code system it is possible to represent 128 ASCII characters and 2 digit numerals using one bar code character that is defined by combining one of the 103 bar code characters and 3 code sets Each code set is used for representing the following chara
13. ight Fault light Abnormally error indicator light will flash Print head over temp error light flashed till restoring by itself No paper light when the paper not be set well or no paper the light will be bright Key Under the general pattern pressing the key printer paper moved ahead Self test pattern Installed the paper and shut the cover lightly First press the paper carrier button on the cutting power conditions then turnning on power supply putting the paper carrier button away less than 5 seconds the printer moves to self test pattern and print self test list O Hex printing method Installed the paper and pressed the paper carrier button and turnned on the power supply About 5 senconds No paper light is bright this time loosen the button Print according to the information of hex printing method and print the data which received by interface according to hex printing method CL Openning cover spanner as the picture 2 2 2 Openning cover spanner Figure2 2 2 Openning cover spanner 2 4 Installing paper The steps of installing thermal paper O Open the cover through pulling spanner as the picture 2 3 1 O Install the roller paper into the paper storage as the picture direction then pulling a part of paper along the paper storage and put flat on the print head as the picture 2 3 2 O Put the cover down and close the cover lightly as the picture 2 3 2 Restore
14. n GS hn O GS km dl dk NUL E GS kmn dl dn ESC ESC pmnl n2 ESC v ESC un 4 2 Printing command 4 2 1 Printing command LF Print and change a new line Form Inllustration Print and change a new line Print and feed paper n dot lines Set character line spacing 1 6 feet Set line spacing n dot lines n 203 feet Set character printing method Permit character double width printing Cancel character double width printing Permit prohibit user defined character Set user defined character Permit prohibit pressing button command Set dot command Defined load dot Print load dot Set bar code width Set bar code height Print bar code Initialization Cash drawer control Send the printing status to the host computer Send the ambient equipment status to the host computer ASCII LF DECIMAL 10 HEX OA Description Printing content in the line buffer and move one paper line ahead when line buffer is empty only moving one line ahead ESC Jn Print and feed paper n dot lines form ASCI ESC J n DECIMAL 27 74 n HEX IB 4A n Description Printing content in the line buffer and move n dot lines ahead n 203feet n 0 255 This orders only effected to this line not change the line spacing which set by ESC 2 ES 3 command 4 2 2 Setting command for line spacing ESC 2 Set character line spacing 1 6 feet Form ASCII ESC 2 DECIMAL 27 50 HEX 1B 32 Set line spacing 1 6 feet ESC 3 n Set line spacing n dot lines n 2
15. se receiving data at decline DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA DATA8 0 7 are data bits O ON DON a Xd N T E ADA O 10 nAck P Input impendence high level 11 BUSY P High level indicates that printer is busy now can t receive date 12 PE P High level indicates that print paper end 13 SEL P Input impedance high level 15 nERR P Input impedance high level 14 16 17 NC Not frame ground 17 18 GND Frame ground H means computer P means printer Refer to the parallel connection pattern interface signal time sequence as the graphic 2 4 2 DATA AA OX X atobe RT Busy kC TT oe ES mask Mea TTT Figure 2 4 2 Parellel Interface Signal Time Sequence 2 5 3 Cash drawer interface The cash drawer interface of T58D printer used RJ 11 6 thread socket as the diagram 2 4 3 6 1 Figure 2 4 3 Cash drawer interface Pin definition as follows Pin No Signal Direction 1 Structure a 2 Cash drawer drive signal Output 3 Cash drawer on off status signal Input 4 Cash drawer power DC12V DC24V Output 5 NG aa 6 Cash drawer on off status signal ground 2 6 Clear print head When printer used a period of time and occurred the unclear character should be cleanned at once the steps as the picture 2 5 Clean area Picture2 5 Print head clean area Make sure that the power has turnned off and the power and communication cable have took off Open the printer cov
16. to the primary position then install the printing paper as the picture 2 3 4 Picture 2 3 1 Open the cover Picture 2 3 2 Install the paper Picture 2 3 3 Close the cover Picture 2 3 3 Installing finished 2 5 Interface connection 2 5 1 Serial interface connection The serial interface of T58D printer is compatible with RS232C supports RTS CTS and the interface socket is 25PIN female D modle socket Per pin signal definition Pin Signal Name Signal Source Inllustration 3 RXD Host computer Receive data 4 RTS Printer Could receive data 7 GND SS Logically 2 TXD Printer Transmit data The serial interface device which default by printer Baud rate 9600bps Data bit 8 bits Check out No Stop bits 1 bit or more than 1 bit Handshake method RTS CTS The serial interface of T58D printer can connect with standard RS 232C interface When connecting with PC the graphic as 2 2 4 DB25 IBMPC DB9 DB25 IBMPC DB25 7 GIn GND 5 7 GND GND 7 4 RT TS 8 4 RTX TS 5 CD 1 DCD 8 2 TX RD 2 2 TDX RID 3 3 RD XD 3 3 ROT XD 2 Figure2 4 1 The connection figure of printer serial interface and PC serial interface 2 5 2 Parellel interface connection The parallel interface of T58D printer is 8 digit parellel interface supporting BUSY handshake protocal and the interface socket used DB25 thread socket male Parallel interface signal per pin Pin Signal Signal Source Function 1 nStrobe H Data is selected through spring pul
17. wer off 2x3 dn2x2 2 la 4 2 6 Bar code command che GSwn Set bar code width Form ASCI GS w n HEX ld 77 n DECIMAL 29 119 n Description Set the horizontal size of the bar code 2 lt n lt 3 n specifies the bar code width as follows N Bar code 2 Normal Wide bar code Support the below bar code 21 CODE 128 CODE 39 ITF Default value is n 2 Relevant command GS K GShn Set bar code height Form ASCII GS h n HEX 1D 68 n DECIMAL 29104 n Description Set bar code height 1 lt n lt 255 n be set the vertical dot counts Default value is n 50 Relevant command GS K GS k m d1 dk NUL GSkmn d1 dn Print bar code Form Q ASCII code GS k m dl dk NUL HEX 1D 6B m dl dk 00 DECIMAL 29 107 m dl dk 0 ASCII code GS k mn dl dn HEX 1D 6B mn dl dn DECIMAL 29 107 mn dl dn Description Choose bar code system and print bar code D 4 lt m lt 5 k and d decided by using bar code system 2 m 73 n and d decided by using bar code system m set the bar code system as follows M Bar code Character units Notes system 4 CODE39 1EK 48 lt d lt 57 6 Ed lt 90 32 36 37 43 45 46 47 22 5 ITF 1 lt Kk is 48 lt d lt 57 even 73 CODE128 1 lt n lt 255 0 lt d lt 127 Note e This command ends with a NUL code The number of data for ITF bar code must be even numbers
18. y be when printing to the end Paper jams occurred because of the paper barycentre is not enough TABLE OF CONTENTS Chapter I A ON 6 TRA KA AY ssaa de ees ences at A ATA 6 1 2Printing Paper cia AEREI Ra LAZ rl 6 O scio a nasello li Lap upa abi biiaak 6 1 4 Interface Forms ossi ae italia ass hese tea ag ANN DAN nana 6 5 Control Command iii ANA Ae OO RS F 1 6Power and Operating Environment Request i 7 1 7 Dimension and Weigh NANANA T Chapter Il Installation and Operation iii 8 2 l Printer Dimension nia ii ease ie a a ee AOS 8 2 2 Control Bor dir 8 2 3 Indicator light and key operation i 8 2 4 Installing papanig aeons heal Aisa ida 9 25 Interface connection 3 AYA KANINA aan eee a 10 2 5 1 Serial interface connection i 10 2 5 2 Parellel interface connection i 11 2 3 3 Cash drawet Interface cisean e a a soo aia eS 12 2 6 Clear print Hdi n MADAAN GL ALII La ADAM 13 Chapter TE Malfunetron Exclusioni i issa iaia eee eS 14 4 1 Command Illustration i 14 Chapter IV Printings Lables gad aha dd eun 15 4 1 Command Illustration icc kaaa ANA eni lee DES ia 15 4 2 Printing command aaa 15 4 2 1 Printing command i 15 O 15 ESCI Gee a a 16 4 2 2 Setting command for line spacing ii 16 ESC e FACE ACRI e FECERO OROSEI OLTRE UR I
Download Pdf Manuals
Related Search
Related Contents
an experimental collective intelligence research tool "取扱説明書" Copyright © All rights reserved.
Failed to retrieve file