Home

POS76 Printer Ⅱ User`s Manual

image

Contents

1. Value Bit Function 0 i 0 Character Selection 5x7 7x7 1 Undefined 2 Undefined 3 Undefined 4 Double height Disabled Enabled 5 Double height Disabled Enabled 6 Undefined 7 Underline Disabled Enabled Default n 0 namely select 5x7 dots normal character size no underline Notice should select single directional print mode firstly then can carry on double height print ESC Select Cancel User defined Characters Format ASCII ESC n Decimal 27 37 n Hexadecimal 1B 25 n Explanation Parameter n is one byte only the LSB is valid When n lt gt B select user defined character set When n lt x 0 gt B select normal character set 0 lt n lt 255 default n 0 ESC amp Define User defined Characters Format ASCII ESC amp s n m a P1 P2 Ps lt a m n 1 Decimal 27 38 s n m a P1 P2 Ps X a m n l Hexadecimal 1B26 s n m_ a P1 P2 PsXa m n l Explanation ESC amp is used to define m n 1 users defined characters PDF created with pdfFactory Pro trial version www pdffactory com S specifies the number of bytes in the vertical direction s 1 N m denote the starting character code and ending character code respectively from lt 20 gt H to lt 7E gt H the maximum number of user defined character code is 95 32 lt n lt m lt 126 A denotes the number of dots in horizontal direction 0 lt a lt 6 5 X7 dots OSaX lt 10 7X7 dots
2. Pip gt pa are the data code of each defined characters Example 5X7 dots P1 P2 P3 P4 P5 P6 Wen dd MSB O O Saeac_ Dosos O OJT O O O a O Ol lss When the defined character codes are 20H ESC amp s nm a pl p2 p3 p4 p5 Command codes lt hexadecimal gt 1B 26 O1 20 20 05 3E 48 88 48 3E 7X 7dots P1 P2 P3 P4 P5 P6 PT PB P9 PIO Og a o O O peg O MSB LSB He O O When the defined character codes are 20H ESC amp s n ma pl p p p4 p5 p6 p7 Command codes lt hexadecimal gt 1B 26 01 20 20 07 1E 20 48 80 48 20 IE ESC t Select Character Set Format ASCII ESC t n Decimal 27 116 n Hexadecimal 1B 14 n Explanation Select character set 0 or 1 n 0 1 Default n 0 select character set O IBM character set II 3 2 2 Print Position Control Commands PDF created with pdfFactory Pro trial version www pdffactory com HT Horizontal Tab Format ASCII HT Decimal 9 Hexadecimal 09 Explanation Print position is gone along to the next horizontal tab position If the current print position is beyond the last horizontal tab position then command HT is invalid Horizontal tab position is set by ESC D command LF Print and Feed Line Format ASCII LF Decimal 10 Hexadecimal OA Expl
3. 2 2 4 Power Supply Connection POS76 II uses the external power supply as 24VDC 10 2A power socket is A 1009 3P model as Fig 2 8 shows Fig 2 8 Power Socket The pin assignment of the power supply connection is defined as follows Pin No Definition 1 24VDC 2 GND 3 N C Recommend using the power Suppi that offered by the printer producer you can plug the power cable into the printer s power socket if use other power supply it should meet the specified voltage and power demands and connection should be correct otherwise it can t guarantee the printer works normally even may damage the printer 2 3 Buttons and Indicators Offer LF paper feed button and power indicator green paper out indicator red error indicator red 1 Self test mode hold down the lt LF gt paper feed button turn on the power then self test begins automatically 2 LED indicator specifications while green indicator is on this means the power is connected the paper end indicator is on indicates paper is end 9 PDF created with pdfFactory Pro trial version www pdffactory com l Paper Running out FAS ea Over heat pEr TE FETT citia 3 Buttons in black mark mode press the button once the printer feeds line to the beginning of the next page In normal mode press the button the printer feeds line forwards Error Indicator 2 4 Specifications for black mark localization control 2 4 1 P
4. 30 23 0 176 40 dots e Using the following command to set the offset of initial print position GS F lt 4 gt lt 0 gt lt 1 gt lt 0 gt lt 40 gt lt 0 gt e After finishing the aforesaid settings when print every receipt feed the paper to the initial print position with GS FF command send the data for every receipt that need to print and print these data line to line feed paper to tearing paper position with GS V m command and tear off the 25 PDF created with pdfFactory Pro trial version www pdffactory com receipt Requests for receipt example 2 the distance from tearing paper position to black mark should be 8mm The distance from the initial print position to tearing paper position should be 23mm Tearing Paper Position Black Mark Test Position e Calculation for the offset of tearing paper position As the black mark is at the position of tearing paper line lt LO 51mm SO the offset of tearing paper position 51 8 0 176 244 dots e Using the following command to set the offset of cutting tearing paper GS F lt 4 gt lt 0 gt lt 2 gt lt 0 gt lt 244 gt lt 1 gt e Calculation for the offset of initial print position 23 23 0 176 0 dot e Using the following command to set the offset of initial print position GS F lt 4 gt lt 0 gt lt 1 gt lt 0 gt lt 0 gt lt 0 gt e After finishing the aforesaid setting when print every receipt the command to be used is the same as example 1 Requests for r
5. Format ASCII ESC 2 Decimal 27 50 Hexadecimal 1B 32 Explanation Set character line to 1 6 inch AA BB 1 6 inch ESC 3 Set line spacing to n dot lines _ n 203 inch 17 PDF created with pdfFactory Pro trial version www pdffactory com Format ASCI ESC 2 Decimal 27 51 Hexadecimal 1B 33 Explanation Set line spacing to n 144 inch O 255 The initial default of the printer is n 24 1 6 inch ESC D Set Horizontal Tab Value Format ASCII ESC D na k NUL Decimal 27 68 ak O Hexadecimal 1B 44 n k 00 Explanation Set horizontal tab position to n1 n2 nk k 1 32 that means you can set 32 horizontal positions at most All horizontal tab positions ni are within the line width allowed by the printer when choosing 5X7 dots mode n maximum is 35 when choosing 7X7 dots mode n maximum is 42 Horizontal tab position is stored by being calculated into absolute dot position according to current character 5X7 dots 7X7 dots or Chinese character 15 X 16 dots mode including character spacing so the width of double width characters should be twice of the width of normal characters After carried out ESC D command it no longer influences the tab position that has been already set if change the category and size of characters so as to ensure that Chinese characters and characters can be mixed in one line or enlarge and dwindle the characters horizontally the tab can still be orderly while using NUL is added at
6. 3 Only after have set the initial print position the paper can be fed to the initial print position by using GS FF otherwise may appear the situation that the localization is inaccurate or empty a receipt 4 When altered the offset that have been set last time with GS F command may appear the situation that the localization is inaccurate or empty a receipt when print the first receipt but the receipt that will print afterwards is correct GS FF Send Black Mark Paper to Initial Print Position Format ASCII GS FF Decimal 29 12 Hexadecimal _1D OC Explanation This command is valid only under the condition allowed by black mark localization control Test black mark and feed the paper forwards to the initial print position that set by GS F a 1 command When the black mark paper is already at the current initial print position then don t feed paper 27 PDF created with pdfFactory Pro trial version www pdffactory com GS Vm Select Paper Cutting Method and Cut Paper Feed Paper Format DASCI GS V m Decimal 29 86 m Hexadecimal 1D 56 m ASCII GS V m n Decimal 29 86 m n Hexadecimal 1D 56 m n Explanation O0 lt n lt 255 This command supports two kinds of paper cutting method When m 0 1 48 49 the printer carries out direct paper cutting whole cutting or partial cutting When m 66 the printer presents paper first cutting tearing paper line position n 0 176mm then cuts paper Realizing whole paper c
7. Signal Direction Description In Strobe pulse to latch data Reading occurs 1 STB a at ringing edge 2 DATA1 In aici m These signals represent the 1 bit to 8 bit 4 DATA3 In of the parallel data representatively each 5 DATA4 In signal is at HIGH level when data is logic o EA n 1 and LOW when data is logic 0 7 DATA6 H cia 8 DATA7 In 9 DATA8 In Answer pulse LOW level signal indicates 10 JACK Out that data have already been received and the printer gets ready to receive the next data HIGH level signal indicates that the 11 BUSY Out printer is BUSY and can not receive data HIGH level signal indicates that paper 12 PE Out running out Pulling up to HIGH level signal by a 13 SEL Out resistor indicates that the printer is on line 15 ERR Out Pulling up to HIGH level signal by a resistor indicates that there is no error 14 16 17 NC No connection 18 25 GND Grounding logical 0 level Note 1 In denotes inputting to the printer Out denotes outputting from the printer 2 Signal level is TTL standard Fig 2 5 Pin assignment of parallel interface PDF created with pdfFactory Pro trial version www pdffactory com The pin assignment of 36pin CENTRONICS female socket is as following Pin er No Signal Direction Description In Strobe pulse to latch data Reading occurs at 1 STB falling edge 2 DAT
8. 5 40 C relative humidity 10 80 storage temperature 20 60 C relative humidity 10 90 18 Accessories optional test switch for paper running out 19 Model Specifications PDF created with pdfFactory Pro trial version www pdffactory com Model Cutter Interface POS76 II BS yes serial interface DB25 female POS76 II BP1 yes 36 pin standard print parallel interface POS76 II BP2 yes DB25 male print parallel interface POS76 II DS no serial interface DB25 female POS76 II DP1 no 36 pin standard print parallel POS76 II DP2 no DB25 male print parallel interface Part 2 Operation Specifications 2 1 Printer appearance _ F Button lt gt Base rill Ss pe Error Indicator Power Switch Parper Out Indicator Power Indicator Printer Interface Power Interface Cash Drawer Interface 2 2 Interface Connection 2 2 1 Serial interface The serial interface of POS76 II is compatible with RS 232C it uses DB25 5 PDF created with pdfFactory Pro trial version www pdffactory com female socket supports CTS RTS handshaking protocol its baud rate and data structure in serial interface mode are 9600bps 19200bps 8 data bits no parity and 1 stop bit The pin order of serial pon i as Fig 2 1 MONS 25 14 Fig 2 1 Pin Order of Serial Port The pin assignment of serial interface is shown in Fig 2 2 Pin ue No Signal Source Description 2 RXD Host Pr
9. AI ae e These signals represent the 1 bit to 8 bit of the parallel data representatively each signal 5 DATA4 In is at HIGH level when data is logic 1 and DATAS In LOW when data is logic 0 7 DATA6 TI E aca 8 DATA7 In 9 DATA8 Answer pulse LOW level signal indicates 10 ACK Out that data have already been received and the printer gets ready to receive the next data HIGH level signal indicates that the printer l1 BUSY Out is BUSY and can not receive data 12 PE Out HIGH level signal indicates that paper running out 13 SEL Out Pulling up to HIGH level signal by a resistor indicates that the printer is on line 32 JERR Out Pulling up to HIGH level signal by a resistor indicates that there is no error 34 36 NC No connection 19 30 GND Grounding logical 0 level The timing chart for interface signal of parallel interface is as Fig 2 6 shows Fig 2 6 Signal Timing Chart of Parallel Interface PDF created with pdfFactory Pro trial version www pdffactory com 2 2 3 Cash Drawer Interface POS76 I adopts the RJ 11 6 pin socket M as Fig 2 7 shows 6 i Fig 2 7 Cash Drawer Interface The pin assignment of the cash drawer interface is defined as follows Pin No Signal Direction 1 Chassis Ground 2 Cash Drawer Driver Signal Out 3 Cash Drawer On Off Status In 4 24VDC Out 5 N C 6 Cash Drawer On Off Signal Ground
10. POS76 II Printer User s Manual PDF created with pdfFactory Pro trial version www pdffactory com Content Part 1 Performance Index eee 2 Part 2 Operation Specifications t 5 2 1 Printer Appearances eeeeeeeeetrteeteteeteetetenteeteneneeteee 5 5 gt Interface Connection lt 3 asa 5 22 Seral Interface e ene eeeenrehiinsrianiiiirehiiiiiiiniiinpehiiiiisiaiisiie 5 323 Paralel Interi ire Oean EAEEREN EEEE 6 9 EE E Inter T end 9 29 A Power Cone chi cit EEE O errr 9 2 3 Buttons and Indicators ss ccc e ee ee eee es 9 2 4 Black Mark Localization Control Specifications 00e 10 2 4 1 Print Structure and Print Control Inherent Relevant Parameters AEE E Cs CREE Coes EEE sev es Ue Ubemee AEA EEA T 10 2 4 2 Caution for Black Mark print 1 11 1110 eee 10 2 4 3 Black Mark Localization rrr ren 10 2 4 4 Auto Paper Loading eeeeeeeeeeetttrrrreeeeeeetsttttttttrtreeeeetes 11 2 5 Ribbon Installation EELT Odd SEOs Se HOSS ENON SONONSESONONINSONSENES 12 2 6 DIP Setting sea k Se brash ae E E A A E bile siaie siaieisiarsiatersiereiate eisielsiersieislsie siatsieiwennieaic 12 Pare gt Petit Control Ciutat geese cat eE Ereren 13 3 1 Summary eres reesei ee ee eee ees nees eee eeseesieaseeneenseesieeneenes 13 3 2 Command Descriptions riers 13 3 2 1 Character Control Commands eee eetere eee 13 3 2 2 Print Position Commands eee 16 3 2 3 Graphics Commands et rrreeeerreeeerr terete eee 19 3 OAT h nese Charicter Command g i nain e 20 325 Black Mark Control Commands s
11. anation Print the content in the buffer and feed paper one line Only feed paper one line if buffer is empty CR Print and Carriage Return Format ASCII CR Decimal 13 Hexadecimal OD Explanation Print the content in the buffer but don t feed paper ESC n Underline Command Format ASCII ESC n Decimal 27 45 n Hexadecimal 1B 2D n Explanation n 0 or 48 cancel underline Default n 0 n 1 or 49 select underline ESC J Print and Feed Paper n 144 inch Format ASCII ESC Jon Decimal 27 74 n Hexadecimal 1B 4A n Explanation Print the data in the buffer and feed paper n 144 inch nX0 176mm n 0 255 PDF created with pdfFactory Pro trial version www pdffactory com This command is only valid to current line print does not change the line spacing value set by ESC 2 ESC 3 commands ESC Kn Print and Return Paper n 144 inch Format ASCII ESC K n Decimal 27 75 n Hexadecimal 1B 4B n Explanation Print the data in the buffer and return paper n 144 inch nx0 176mm n 0 255 ESC d Print and Feed paper n Character Lines Format ASCII ESC d n Decimal 27 100 n Hexadecimal 1B 64 n Explanation Print the data in the buffer and feed paper n character lines n 0 255 ESCen Print and Feed Paper n Character Lines Format ASCII ESC e n Decimal 27 101 n Hexadecimal 1B 65 n Explanation Print the data in the buffer and return paper n character lines n 0 255 ESC 2 Set Character Line Spacing to 1 6 inch
12. ark Localization Offset GS FF Send Black Mark Paper to The Initial Print Position GSV mn Select Paper Cutting Method and Cut Paper Present Paper GSrn Transmit Status PDF created with pdfFactory Pro trial version www pdffactory com 9 Print paper High quality common white paper or impact paper roll Paper width 76 2 0 5mm or 57 5 0 5mm OD 83mm max ID 1042mm Paper thickness of per layer 0 06 0 085mm Impact paper roll 1 original 1 copy Paper thickness 0 05 0 08mm total thickness lt 0 2mm 10 Ribbon ribbon cassette ERC 39 purple or black 11 Black mark test black mark printed on the right of the front of receipt its length along line feeding direction 5mm width 12mm min The reflection rate of black mark part lt 10 the reflection rate of other part printed black mark gt 75 12 Power supply DC 24V410 2A average 10A max power socket 3 pin socket A 1009 3P 13 Buttons and indicators LF paper feed button and power indicator green error indicator red paper end indicator red 14 Software function can realize Chinese and ASCII characters printed in the same line When paper is end suspend printing after loaded paper automatically then can go on printing the remaining contents Can realize black mark localization print 15 Dimensions outline dimensions 160 W x248 L x142 H mm 16 Reliability 500 million lines MCBF 17 Environment conditions operation temperature
13. at the DSR signal of the host is valid otherwise will be waiting for all the time The host transmitting the command is by sending it to the print buffer of the printer and wait for the printer carrying out in order So it will take more time for printer to transmit the status than the time it needed for receiving the command and transmitting the status the time interval is relevant with that how much data needed to deal with in the print buffer and how much time needed to carry out correlative operation 3 2 6 Other Commands ESC Initialize Printer Format ASCII ESC Decimal 27 64 Hexadecimal 1B 40 Explanation ESC command is to initialize the following contents of the printer e Clear the data in the print buffer e Restore the default of each print command PDF created with pdfFactory Pro trial version www pdffactory com ESCc3n Select Paper Running Out Tester Format ASCII ESC c 3 n Decimal 27 99 51 n Hexadecimal 1B 63 33 n Explanation Select cancel that paper running out tester sends out the signal while it tested paper is about to use up n 0 255 Only the lowest bit is valid When n 1 send out the signal while tested paper is about to use up When n 0 don t send out the signal while tested paper is about to use up ESC c 4 Set Stopping Print When Paper End Format ASCII ESC c 4 n Decimal 27 99 52 n Hexadecimal 1B 63 34 n Explanation Select cancel stopping print while paper tester tested pape
14. eated with pdfFactory Pro trial version www pdffactory com Command Description HT Horizontal Tab LF Print and Feed Line CR Carriage Return ESC SP Set Right Spacing of ASCII Characters ESC Set Character Print Mode ESC Select Cancel User defined Characters ESC amp Define User defined Characters ESC Set Bit map Graphics Print ESC 2 Set Character Line Spacing to 1 6 Inch ESC 3 Set Character Line Spacing to n 144 Inch ESC n On Off Underline Print ESC p Cash Drawer Control ESC v Transmit Status of printer ESC u Transmit Status of Equipment ESC lt Restore Print Head Position ESC Initialize Printer ESC D Set Horizontal Tab Value ESC Jn Print and Feed Paper n 144 Inch ESC Kn Print and Return Paper n 144 Inch ESC U Select Cancel Single Directional Print ESC c 3 Select Paper Tester ESC c 4 Set Stopping Print When Paper End ESC c 5 On Off switch Button function ESC dn Print and Load paper n Character Lines ESCen Print and Return Paper n Character Lines ESC t Select Character Set FS Set Chinese Print Mode FS wn Select Cancel Chinese Quadruple Mode Print FS amp Select Chinese Print Mode FS Cancel Chinese Print Mode FS2 cl c2 dl dk User defined Chinese Characters FS cl c2 Cancel User defined Chinese Characters FS Snl n2 Set Chinese Character Left and Right Spacing GS F Set Black M
15. eceipt example 3 the length of receipt 150mm The distance from tearing paper position to black mark should be 142mm The distance from the initial print position to tearing paper position should be 39mm ABCDEFG BCDEF GH p M e Calculation for the offset of tearing paper position As the black mark is at the position of tearing paper line gt L0 51mm so the offset of tearing paper position 51 150 142 0 176 335 dots Tearing Paper Position 1 142 Bleck Wark Test Position Tearing Paper Switch 26 PDF created with pdfFactory Pro trial version www pdffactory com e Using the following command to set the offset of tearing paper GS F lt 4 gt lt 0 gt lt 2 gt lt 0 gt lt 79 gt lt 1 gt e Calculation for the offset of initial print position 39 23 0 176 91 dots e Using the following command to set the offset of initial print position GS F lt 4 gt lt 0 gt lt 1 gt lt 0 gt lt 91 gt lt 0 gt e After finishing the aforesaid setting when print every receipt the command to be used is the same as example 1 Notice 1 Under the situation that the offset of tearing paper position and initial print position both are 0 it is possible to finish the localization print of each receipt by using GS V m command only 2 So long as the offset of tearing paper position is not 0 it needs to set the offset of tearing paper position a 2 and the offset of initial print position a 1 respectively by using GS F command
16. ff smoothly extra paper along paper out slot that is on the print head Please load the paper correctly according to the following figure illustrated Wrong Paper Loading Method PDF created with pdfFactory Pro trial version www pdffactory com 2 5 Ribbon Installation POS76 II adopts ERC 39 P ribbon cassette Please install the ribbon according to the following steps 1 Open the upper cover of the printer and appear the print head 2 Even up the ribbon according to the direction indicated by the right knob on the ribbon cassette a5 The knob is on the right put the ribbon cassette vertically into the printer head lock the ribbon in the printer head 4 Rotate the knob again and draw the ribbon straightly 5 Close the upper cover 2 6 DIP Setting DIP Switch1 DIP Function On Off 1 Reserved Reserved Reserved 2 Cutter Selection Yes No Cutter Mode Partial l Selection Cutting Poneta 4 Reserved Reserved Reserved DIP Switch2 DIP Function On Off Select Number of i ee Each 49CPL 35CPL 40CPL 33CPL CCPL 7x7 5x7 Select Printing Paper 2 Width 57mm 76mm Reserved Reserved Reserved Baud Rate Serial 4 Interlace 19200bps 9600dps 5 a e Single directional Bi directional directional Print Select Black Mark Black Mark 6 Mode Mode Non Black Mark Mode Select Chinese Chinese Character Mode Character Mode ASCII Mode PDF created with pdfFactory Pro tria
17. ffset of initial print position relative to black mark test position 2 Set the offset of cutting tearing paper position relative to black mark test position PDF created with pdfFactory Pro trial version www pdffactory com e m 0 or 48 select the offset as calculation for ongoing paper direction e The corresponding real distance of offset that set by nL nHis nL nH X256 X0 176mm e only after carried out these commands then the related black mark localization operation that commanded by GS FF and GS V is valid e Set the offset of initial print position a 1 valid while carrying out GS FF command e Set the offset of cutting tearing paper position a 2 valid while carrying out GS V m command e Default nL nH 0 that is when black mark test switch tested black mark current corresponding print head position on the receipt is the set initial print position and current corresponding cutting tearing paper end position on the receipt is the set cutting tearing paper position e Calculation explanation about the offset of cutting tearing paper position and initial print position 1 When the distance L from cutting tearing paper position to black mark print position is same to the inherent mechanical value LO of the printer s structure furthermore the distance Q from cutting tearing paper position to initial print position is same to the inherent mechanical value QO of the printer s structure as Fig 1 sho
18. inter receives data from host 3 TXD Printer Printer transmits data to host Signal MARK indicates that the printer is BUSY and unable to receive data SPACE indicates that the printer is READY for receiving data 5 RTS Printer 7 GND Signal Ground Note Source denotes the source that signal come from 2 Logical signal level is EIA Fig 2 2 Pin Assignment of Serial Interface 6 DSR 6 DSR 4 DTR D 8 ICTS l D 2 RXD 3 TXD Printer 25pin IBM PC Serial Printer 25pin IBM PC Serial Socket Interface DB 9 Socket Interface DB 25 Fig 2 3 Connection between POS 76 I and IBM PC Serial Interface Sketch Map gt GND RTS TXD RXD GND RTS TxD RXD on eal OQO n rp oOo 1 t o J un O x a 44 0 TU an 2 2 2 Parallel Interface The parallel interface of POS76 Ilis compatible with CENTRONICS it uses DB25 male socket or 36pin CENIRONICS female socket which is PDF created with pdfFactory Pro trial version www pdffactory com optional supports BUSY and ACK handshaking protocol The pin order of DB 25 male parallel port is as Fig 2 4 shows l 13 EEEEZITIITTITI eeeeseneceoe 26 14 Fig 2 4 Pin Order of Parallel Port The pin assignment of DB25 parallel interface is shown in Fig 2 5 shows Pin No
19. l version www pdffactory com HEXADECIMAL 8 Select Print Mode Code Mode Common Mode Ex factory Setting POS76 II B DIP Switch On DIP Switch2 OFF oon Beeeeee POS76 II D DIP Switch On DIP Switch2 OFF Tha eeeaaa s If change the setting of DIP switch need to open the iron plate at the bottom of the printer Part 3 Print Control Command 3 1 Summary POS76II offers ESC POS print command set FS Chinese print commands Each command is described in following format Print Command Function Format ASCII the standard ASCII character sequence Decimal the decimal numbers 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 3 2 Command Specifications 3 2 1 Character control commands ESC SP Set character right spacing Format ASCII ESC SP n Decimal 27 32 n Hexadecimal 1B 20 n Explanation Its unit is half dot set character right spacing to n half dots n 0 32 13 PDF created with pdfFactory Pro trial version www pdffactory com Default n 0 FSC Set character print mode Format ASCII ESC n Decimal 27 33 n Hexadecimal 1B 21 n Explanation ESC nis a comprehensive command to set character print mode is used for selecting print character size and underline Each bit of print parameter is defined as
20. n cl FEH c2 A1H FEH PDF created with pdfFactory Pro trial version www pdffactory com FS S nl n2 Set Chinese Character Left and Right Spacing Format ASCII FS S nl n2 Decimal 28 83 nl n2 Hexadecimal 1C 53 nl n2 Explanation Set Chinese character left spacing nl 0 32 default n1 0 Set Chinese character right spacing n2 0 32 default n2 0 When using ESC lt 0 gt to select character A 5 X7 whole dot character utilize ESC SP lt 4 gt command to make the dot width of a Chinese character equal the one of a whole dot ASCII character When using ESC lt 1 gt to select character B 7 X7 half dot character utilize FS S lt 0 gt lt 4 gt command to make the dot width of a Chinese character equal the one of two half dots ASCH character 3 2 5 Black Mark Control Commands GS F pLpHamnLlnH _ Set the Offset of Black Mark Localization Format ASCII GS C F p pH a m nL nH Decimal 29 40 70 pL pH a m nL nH Hexadecimal 1D 28 46 pL pH a m nL nH Explanation This command is used to choose black mark localization control permission and set the offset of cutting tearing paper position or initial print position relative to black mark test position This value is calculated in dots number mode The relevant parameters of this command are pL pHX256 4namely pL 4 pH 0 1SaS2 m 0 48 O lt nL nH X 256 lt 1700 e ais used to set the offset of cutting tearing paper position or initial print position A Function 1 Set the o
21. nter A 48mm A 5lmm B 28mm B 28mm C 20mm C 23mm 2 4 4 Auto paper loading When the paper tester switch tests paper run out paper end red indicator will turn on the interface PE signal will turn into 1 level parallel meanwhile transfer 04H to indicate paper end through serial interface and wait for loading paper Open the upper cover load paper according to the ways shown in the following figure in the course of paper loading operation if the paper tester switch tests again paper is available paper loading driver will be started up then load paper automatically If presently black mark localization is valid paper will be loaded and black mark will be tested automatically paper will be loaded automatically to the position of the beginning of the page that set by GS CF command Otherwise it will be loaded to about 80mm Notice When load paper make sure to line up the paper in slot so the paper loads smoothly into the printer slide the paper with even strength until the paper loading driver starts up and presents the paper out automatically If there appears paper jam remove the paper when auto paper loading driver stopped Cut away the fold part of the paper load the paper again After finishing the paper loading paper end red indicator goes dark the interface PE signal turns into 0 level parallel meanwhile transferring OOH to indicate that paper is available through serial interface close the upper cover then tear o
22. ommand the printer will finish printing current line and will switch to Chinese print mode from the next line In Chinese print mode the Chinese character codes received by printer are 2 byte standard internal codes all larger than 9FH codes look for hard Chinese characters of the printer according to these codes print GB Chinese characters of 15 X 16 dots When the printer receives ASCII codes 20H 9FH of single byte it will print out corresponding characters of 8 X 16 dots ESC is still available under Chinese print mode It is to set character print mode 20 PDF created with pdfFactory Pro trial version www pdffactory com Notice Should use ESC U command to select single directional print mode firstly the print quality will be better for the hinese characters FS Cancel Chinese Print Mode Format ASCII FS i Decimal 28 46 Hexadecimal 1C 2E Explanation After received this command the printer will cancel Chinese print mode and turn to normal ASCII character print mode FS 2 C1 C2 d1 dk_ CU er deefined Chinese Characters Format ASCII FS 2 cl c2 dl dk Decimal 28 50 cl c2 dl dk Hexadecimal 1C 32 cl c2 dl dk Explanation cl FEH c2 A1H FEH k 32 c1 c2 denote the codes for user defined Chinese characters Data Format E 16 dot MSB d32 a LSB 16 dot FS clc2 Cancel User defined Chinese Characters Format ASCII FS cl oe Decimal 28 63 cl c2 Hexadecimal 1C _3F cl c2 Explanatio
23. printer working normally Pay attention to the black mark print quality otherwise may influence the precision of black mark localization control 4 2 When connecting or disconnecting the power supply cable to the printer make sure the power is turned off and is not plugged into AC electrical socket Otherwise it may damage the power supply or the printer 4 3 Shouldn t fetch the paper scrap and other adherent things in the print head with hard objects such as the tweezers razor blade and so on in case that cause permanent damage to the print head 4 4 After finishing print if open the printer s cover shouldn t touch the print head or the driver outer cover with hands at once in case that scalded by the metal outer cover with high temperature Appendix Index of Print characters 3 3 PDF created with pdfFactory Pro trial version www pdffactory com
24. r end n 0 255 Only the lowest bit is valid When n lt gt B stop printing while paper tester tested paper end When n lt Q gt B don t stop printing while paper tester tested paper end so that users can print the last one receipt to the bottom of page Default n 1 ESC c 5 Enable Disable Button Format ASCII ESC c 5 n Decimal 27 99 53 n Hexadecimal 1B 63 35 n Explanation Enable disable all the buttons on the panel n 0 255 only the lowest bit is valid When n lt X X X X X X XO gt B enable paper feeding button When n lt X X X X X X X 1 gt B disable paper feeding button Default n 0 ESC p Cash Drawer Control Format ASCII ESC p m nl n2 Decimal 27 112 m nl n2 Hexadecimal 1B 70 m nl n2 Explanation This command is to generate a pulse to trigger the opening and closing of 30 PDF created with pdfFactory Pro trial version www pdffactory com the cash drawer n1 n2 define the duration of the trigger pulse m 0 0 lt nl lt n2 lt 255 Opening time is nl X 2ms closing time is n2 X 2ms ESC v Transmit Status of Printer Format ASCII ESC V Decimal 27 118 Hexadecimal 1B 76 Explanation Transmit the status of printer to the host When printer received this command it transmits one byte through the serial interface TXD to the host Definition of said byte is shown as following l Value Bit Function 0 i 0 Undefined ie e l Undefined ea oes 2 Paper ele Wi
25. rint structure and print control inherent relevant parameters It is 11mm from the print head of print structure to the position of tearing paper It is 28mm from the print head of print structure to the position of black mark test switch 2 4 2 Caution for black mark printing Black mark must be printed on the right of the front of receipt 2 The print size of black mark must be W x H 12x5mm The blackness of black mark should be saturated enough the reflection rate is lt 10 the white degree of the other parts of the side that printed black mark should be white enough the reflection rate gt 75 2 4 3 Black Mark Localization This structure supports localization print of black mark paper the realization for black mark localization print please refer to the detailed introduction for black mark control in this manual Selection for black mark localization control Select through DIP switch Black mark test position The position of black mark test switch the relation between initial print position and tearing paper position please refer to the following figure The position of black mark tested by the printer is about 2mm in the front of black mark passing through black mark test switch center utting Tearing Position Initial Print Position Black Wark Test Switch Paper Loading Direction Center Position PDF created with pdfFactory Pro trial version www pdffactory com B model printer D model pri
26. s within the maximum line width dots number of the printer When m 0 select normal print maximum print dots number is 210 When m 1 select half dot print maximum print dots number is 420 At this moment the adjacent two dots of each dot line can t be 1 Definition for d is Bit map Graphics Data e 5 3 2 1 0 st Pin o 8 pina Print Data cooosd Notice 1 Please select single directional print mode with ESC U command before printing the bit map graphics 2 Allow printing bit map graphics and characters in the same line PDF created with pdfFactory Pro trial version www pdffactory com 3 2 4 Chinese Character Commands FS too Set Chinese Print Mode Format ASCII FS n Decimal 28 33 n Hexadecimal 1C 21 n Explanation Set Chinese print mode It is valid only in standard mode n 0 255 Each bit of n is defined as the following Value Bit Function 0 i 0 1 2 3 Undefined nn ee 4 Double height print Cancel Select 5 Double width print Cancel Select 6 7 Undefined _ ie eta FS Wn Select Cancel Chinese Quadruple Mode Print Format ASCII FS W n Decimal 28 87 n Hexadecimal 1C 57 n Explanation When the lowest bit of n is 0 cancel Chinese quadruple mode print when the lowest bit of n is 1 select Chinese quadruple mode print FS amp Select Chinese Print Mode Format ASCII FS amp Decimal 28 38 Hexadecimal 1C 26 Explanation After received this c
27. sseeureerscsticessananancsareaasnn 22 2 OG Other Conia s eA EEEE EEEE 29 Part 4 Cautions for using lt 1 eerteetieetenteeteneeeeeee 33 Appendix Index of Print Characters nici asic EEEE AEA 33 PDF created with pdfFactory Pro trial version www pdffactory com Parti Performance Index 1 Print method 9 pin serial bi directional 2 Print density 42cpl 210 whole dot 420 half dot AOcpl 200 whole dot 400 half dot 3 Valid print width 42cpl 42 77 35 5 lt 7 AOcpl 40 7 lt 7 35 5 lt 7 4 Print speed for 76mm paper width model 4 4 lines sec for 57mm paper width model 5 6 lines sec 5 Feeding speed 80mm sec 6 Print font IBM character set II 7x7dots or 5 lt x7dots GB level I II Chinese character library 15x16 dots Character specifications 5x7dots WxH whole dot print horizontal direction occupies 6 whole dots 7x7dots W H half dot print horizontal direction occupies 10 half dots thereof the size of a whole dot is 0 318mm W x0 353mm H 7 Interface parallel interface DB25 male socket 36 pin CENTRONICS female socket 8 bit parallel interface and supports BUSY or ACK handshaking protocol TTL signal level Series interface DB25 female socket supports RTS CTS protocol Baud rate 9600bps 19200bps Data structure 1 start bit 8 data bits 1 or over 1 stop bit s no parity Cash drawer control DC24V 1A 6 pin RJ 11 socket 8 Print commands Compatible with EPSON ESC POS command set PDF cr
28. th paper Without paper 3 anil ae aaa ot in use Undefined E 7 E E E 6 Undefined 7 Undefined ESC u Transmit Status of Equipment Format ASCII ESC u n Decimal 27 117 n Hexadecimal 1B 75 n Explanation Transmit status of the peripheral equipment to the host Default n 0 When printer received this command it transmits one byte through the serial interface TXD to the host Value Bit Function PDF created with pdfFactory Pro trial version www pdffactory com Cash drawer on off pin Low High Undefined Sa Undefined T CETERI Undefined Not in use Undefined Undefined Undefined o UDNRWNHOS ESC lt CReestore Print Head Position Format ASCII ESC lt Decimal 27 60 Hexadecimal 1B 3C Explanation This command is used to restore print head when printer received the command it moves the print head to the left initial print position PDF created with pdfFactory Pro trial version www pdffactory com Part 4 Caution for using 4 1 Be sure use the preprinted black mark paper that meet the specifications and provided or confirmed by the printer supplier otherwise will lower the print quality and shorten the print head life Pay attention to the density of print paper roll and the minimum inner diameter should accord with the error demand otherwise may appear the phenomenon that paper feeding is not smooth and straight and so on and will influence the
29. the end denotes this command is over ESC D NUL command is used to clear all horizontal tab positions and HT command is invalid that be carried out later Notice nk gt nk 1 is necessary if nk lt nk 1 printer will think this command has already been over the following command parameter will be considered to be normal printing data ESC U Cancel Select Single Directional Print Format ASCII ESC U n Decimal 27 85 n Hexadecimal 1B 55 n Explanation 18 PDF created with pdfFactory Pro trial version www pdffactory com Select cancel single directional print n 0 255 only the lowest bit is valid When n lt 1 gt B Select single directional print When n lt Q gt B Select bi directional print Default n 0 Notice When in bi directional print mode the print speed is faster than that in single directional mode but ma appear the phenomenon thi that it is not neat correctly from head to foo s is caused by its own principle of the prinfer s structure belonging to normal phenomenon 3 2 3 Graphics commands ESC Set Bit map Graphics Print Format ASCI ESC m nl n2 dl d2 nl 256Xn2 Decimal 27 42 m nl n2 d1 d2 n1 256Xn2 Hexadecimal IB 2A m nl n2 dl d2 n1 256Xn2 Explanation m 0 1 0 amp n1 lt 255 0Sn2 lt 3 0 amp d lt 255 nl n2 are two bits of hexadecimal number n1 is the low byte n2 is high byte denote the width of printing graphics set by ESC commanded the number of dots i
30. ture M U110 LO Amm Q0 Cmm refer to 2 4 3 ABCD EFG BCDEFGH Cutting Tearing Paper Position Initial Print Position Black Mark Test Switch Fig 1 Cutting Tearing Paper Position 4B CDEF G BCDEFGH Black Mark Initial Print Position Black Mark Test Switch Cutting Tearing Paper Position Initial Print Position Black Mark Test Switch Tearing Paper Position 24 PDF created with pdfFactory Pro trial version www pdffactory com Cutting Tearing Paper 2 oe Position __ ABCDEFG Initial Print Position BCDEFGH Black Mark Test Switch Fig 4 Example for the usage of the black mark localization control command regarding to specified print receipt taking D model printer as an example that is LO 51mm Q0 23mm Requests for receipt example 1 tearing paper position should at the printing black mark position The initial print position for every receipt should be at 30mm to the tearing paper position Tearing Paper Position Q 50 Printe Head Position ABCDEFG BCDEFGH Black Mark Test Switch e Calculation for the offset of tearing paper position As the black mark is at the position of tearing paper that is L 0 so the offset of tearing paper position 53 0 0 176 303 dots e Using the following command to set the offset of Cutting Tearing paper position GS F lt 4 gt lt 0 gt lt 2 gt lt 0 gt lt 45 gt lt 1 gt e Calculation for the offset of initial print position
31. utting or half paper cutting is selected by DIP setting refer to 2 6 DIP setting This command is valid only under the condition that the print position is at the beginning of line If black mark localization selection is valid then n value is invalid when carrying out GS V 66 command the distance for presenting paper onwards is confirmed by the parameter that set by GS F command Refer to 2 5 3 GSrn Transmit Status Format ASCII GS r n Decimal 29 114 n Hexadecimal 1D 12 n Explanation This command is used to transmit one byte current status of printer to the host only valid for the printer with serial interface N Function 1 49 transmit status of paper test switch 2 50 transmit status of cash drawer When n 1 49 the byte contents of transmitted status are 2 8 PDF created with pdfFactory Pro trial version www pdffactory com nN ae Value off on 0 1 The status of l Without 0 1 paper running With paper aper out switch ithe The status of l Without 2 3 paper end With paper aper switch cle 4 Not in use 0 a 5 6 Undefined T 7 Not in use 0 When n 2 50 the byte contents of transmitted status are Bit Siats Value off on 0 The status of cash LOW HIGH drawer pin3 2 3 Undefined J 4 Not in use 0 5 6 Undefined 7 Not in use 0 The printer will transmit the status bytes only when it tested th
32. ws all the offsets set by GS F command are 0 2 When the distance L from black mark print position to cutting tearing paper position is smaller than the mechanical value of the printer LO as Fig 2 shows the offset of cutting tearing paper position commanded by GS F is calculated as the offset of tearing paper position LO L 0 176 dots number When the distance L from black mark print position to cutting tearing paper position is larger than the mechanical value of the printer LO as Fig 3 shows the offset of cutting tearing paper position commanded by GS F is calculated as the offset of cutting tearing paper position L0 the distance between the two adjacent black marks L 0 176 dots number Notice When setting the offset of cutting tearing paper position the parameter of GS F command a should be 2 3 When the offset of cutting tearing paper position is not O or the distance Q from the initial print position to cutting tearing paper position is larger than the mechanical value of the printer QO as Fig 4 shows for each 23 PDF created with pdfFactory Pro trial version www pdffactory com receipt the offset of cutting tearing paper position commanded by GS F is calculated as the offset of initial print position Q QO 0 176 dots number Notice When setting the offset of initial print position the parameter of GS F command a should be 1 4 The inherent mechanical value of the printer struc

Download Pdf Manuals

image

Related Search

Related Contents

EasyIEP End User Manual Winter 2015 V6 Final    Note de service  Types of sprinkler irrigation  BLANCO CLARON 400/400-IF/N  Vanne Sweep-Flo Fisherr 461 à angle de sortie augmenté  WS700G9.0 / WS700G13.0 Wippsäge mit Benzinmotor Bedienungs  PSE 2 - Ministère de l`Intérieur  RAIKKO Cone Bluetooth  Accessori Zubehörteile Accessories Accesorios  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.