Home

SP-RME3 users恗anual_V1.3

image

Contents

1. 11 UD eae Uganda des 12 DEE EOT nante ROREM eO e UP EE 12 ES CSP 14 5 Em 15 RERO ERR IRE ER E 16 BSC 96 sid ien etas eem eet euet a 16 ESC amp y c1 c2 xl dl d y X x1 xk dl d y 16 BSG A esd ndn eite 18 BSC nine Re ee tne Ree St oh Re 20 EEUU ODD piedi ue ARR 21 ESC I tices r E E EE E EET E E E E E EE AEE T S 21 E T AE E O a 21 ESQ 2n EET E E 22 ESG Ooie e A E INE EITEAN Ee a a E E 1 22 ESC do rct a ete ra Rp 22 ESC E D ds ph dS EI a RBS ERR 23 BSC Gr nau idee egt nua eI Heo eum 23 AGE X 24 BSC M TE oed ete dt e EIE hans tuia e dete 24 BSG ERR EE ERIT SEEN 25 ESCA DED c ue Ete ti tite tte gars 25 ESC dna uae ee ee ea E RIT 27 R P 27 seio ectetur dep OO E 29 ERECEC Em 29 Gs nobi 30 GS ossi ec d HERRERA i be ect eee edi 31 GS BS A eh ie 31 GS Base Seo see eV eitis
2. 32 OS ndun e she med 32 GS Vestas Hh ede casey 33 5 ater in A wets qae ee d Hele Feci NY 33 CGS Vai GSN aa cSt ahd ean cor ald teal ald aes lances DUE c RUD ULM D 34 CGS PA 35 GS t eate bn tete et tesi 35 DGS k m d1 dk NUL GS k mimdL dnas soo equ po IN aes a DE 35 GS Ws end i ee etes uti desti oes 38 ESC Zimn k db dE dl uat rt EH OE sabia cea hbo Exec CAR ag 39 OS Zn nedum ERR en i ee BS 39 GSkmvrdl dn NULZGS k m v r nL nH 40 EE 41 IT 42 BS dhscsseninessepen nmeuepnBdeenueeR eO acea terne 42 pM M Mo MDC RE 42 BS 2261062 dl ht rre eit nte nip e bent e 43 xac ETE 44 EAS J B IEEE P 44 45 Appendix A28 COd6 uei ER Eie En 46 Appendix B the pre print black mark description sese enne 50 Chapter1 Outer Appearance and Model No 1 1 Outside view Installation ear FEED button Indicator 1 2 Dimensional drawing Embedded open size 103 59 mm 9
3. Range 0 lt lt 255 0 lt lt 255 Description horizontal motion units as near 25 4 xmm 1 x inch Setting vertical Motion units as near 25 4 ymm 1 y inch When x and y are all 0 x and y are setting as default value Note Direction is perpendicular to the feeding is horizontal the feeding direction is vertical Under standard mode making the character whirl by x or y does not change if invert or clockwise rotates 90API Using x command ESC SP ESC ESC GS L GS W Using y command ESC 3 ESC J GS V Under page mode according to the direction of printing and the starting position to use x or y D When the starting position is set as top left corner or lower right by ESC T Using x command ESC SP ESC ESC W ESC Using y command ESC 3 ESC J ESC W GS GS GS V When the starting position is set as top right corner or lower left by ESC T Using x command ESC 3 ESC J ESC W GS GS Using y command ESC SP ESC ESC W ESC GS V This command does not influence other settings set before minimum motion distance is the result of combined action of this and other commands inch 25 4mm Default value 203 203 a motion unit is a printing dot Horizontal motion distance is 1 8mm and vertical motion distance is 1 8mm Reference ESC SP ESC ESC 3 ESC J ESC W ESC GS GS L GS V GS W GS GS Vm GSV mn Name Select cutting mode and cut paper Fo
4. The command is effective only when there is no data in the printing buffer under standard mode Except inversion mode other modes have effect on it include bold double print underline enlarge font and invert printing etc The out profile will not be printed if the bit map out of the range This command prints the bit map downloaded in RAM but not Flash Reference GS GSBn Name Selecting canceling black white revert printing mode Format ASCII GS B n Hex ID 42 n Decimal 29 66 n Range 0 nx 255 Description Selecting canceling black white revert printing mode When the lowest bit of n is 0 canceling black white reverse printing mode When the lowest bit of n isl selecting black white reverse printing mode Note Only the lowest bit of n is effective This command is available to all the characters except HRI characters After selecting black white reverse printing the space between characters which is set by ESC SP command is also reversing This command does not influence bit map user defined bit map barcode HRI character and blank space which is set by HT ESC and This command does not influence the blank space between lines Priority of black white reverse printing mode is higher than it of underline mode When selecting black white reverse printing mode underline mode is not effective It will be effective after canceling black white reverse printing mode Default value 0 GSHn
5. 76 37 25 37 77 40 77 38 26 38 78 4 78 39 27 39 79 4F 179 Appendix the pre print black mark description User must obey the specification as follows when printing the black mark if wants to use pre print black mark to progress note clamping Otherwise may cause printer can not identify a black mark The black mark pre print specification Printed location is shown as chart above black mark should be printed to character surface of right or left side rim Width range width gt 7mm Height range 4mmzHeightz6mm Vs the reflectivity of infrared lt 10 the paper black mark width other fractions for the reflectivity of infrared gt 65 HPS HPS marks the last rim to be apart from the distance of printing the origin top rim for printer black 4 5mm lt HPS lt 6 5mm
6. 95 DLE 10 16 8 38 56 FNCI 7B 3 123 49 DCI 11 17 9 39 57 FNC2 1 123 50 DC2 12 18 3A 58 FNC3 7B 3 123 51 DC3 13 19 3B 59 FNC4 2 123 52 DC4 14 20 lt 3C 60 SHIFT 7B 3 123 83 NAK 15 21 3D 61 CODEB 3 123 66 SYN 16 22 gt 3E 62 CODEC 7B 3 123 67 ETB 17 23 3F 63 4 CAN 18 24 40 64 7B 5 EM 19 25 A 41 65 3 SUB 1 26 B 42 66 7 4 ESC IB 27 C 43 67 2 FS 28 D 44 68 7 4 GS ID 29 E 45 69 3 RS IE 30 F 46 70 US 31 47 71 SP 20 32 H 48 72 21 33 I 49 73 22 34 J 4A 74 23 35 4B 75 24 36 L 4C 76 25 37 M 4D TI amp 26 38 N 4E 78 27 39 4 79 Character in set B Sending data Sending data Sending data character character character Hex Decimal Hex Decimal Hex Decimal SP 20 32 H 48 12 70 112 21 33 1 49 73 71 113 5 22 34 7 4A 74 72 114 23 35 4B 75 5 73 115 24 36 L 4C 76 t 74 116 25 37 M 4D 77 u 75 117 amp 26 38 N 4E 78 M 76 118 27 39 4 79 w TI 119 28 40 P 50 80 X 78 120 29 41 Q 51 81 y 79 121 3i 2A 42 R 52 82 7 7A 122 t 2B 43 S 53 83 7B 7B 123 123 2C 44 T 54 84 7 124 2D 45 U 55 85 70 125 2E 46 V 56 86 7E 126 2F 47 W 57 87 DEL 127 0 30 48 X 58 88 FNCI 7B 31 123 49 1 31 49 Y 59 89 FNC2 7B 32 123 50 2 32 50 2 5 90 7 33 123 51 3 33 51 5B 91 FNC4 7B 34 123 52 4 34 52 5 92 SHIFT 7B 53 123 83 5 35 53 5D 93 CODEA 7B 41 123 65 6 36 54 A 5E 94 CODEC
7. Name Selecting the printing position of HRI character Format ASCII GS H n Hex 1D 48 n Decimal 29 72 n Range 0 lt lt 3 48 lt lt 51 Description When printing the barcode selecting the printing position for HRI character N appoints the printing position of HRI n Printing position 0 48 No printing 1 49 Above the barcode 2 50 Below barcode 3 51 Both above and below the barcode HRI is the character of content note of barcode Note The style of HRI character is appointed by GS f Default value n 0 Reference GS f GS k GS L nL nH Name Setting left margin Format ASCII GS L nL nH Hex 1D 4C nL nH Decimal 29 76 nL nH Range 0 nL x 255 0 nH lt 255 Description Setting left margin by nL and nH Setting left margin at nL nHx256 xhorizontal motion unit inches Printable area Left margin Printing area width Note This command is just available at the zero position of the line and under standard It is not available under page mode the printer will handle it as normal data This command does not influence the printing under page mode Taking the Max width is it goes beyond the max printing width Vertical and horizontal motion units are set by GSP Changing the motion will not influence the current left margin Default value nL 20 nH 0 Reference GSP GSW GSPxy Name Setting horizontal and vertical motion units Format ASCII GS P X Hex 1D 50 X Decimal 29 80 x y
8. When the lowest bit of n is 0 canceling invert printing mode When the lowest bit of n isl selecting invert printing mode Only the lowest bit of n is effective The command is just effective on the beginning of the line under standard mode The command just changes internal marker bit under page mode The command has no effect on the printing of page mode Under invert printing mode the printer will whirl the line of being printed for 180 degree Default value 0 Example ABGDEF 345 0 12 FSPn Name Format Range Description Note Paper feed direction Printing the prestored bit map ASCII FS P n Hex 1 50 Decimal 28 80 n O lt n lt 7 This command prints the 2 value bit map which is prestored in the printer and not easily lost The bit map in memory which is not easily lost can be produced and written by the tool in PC The max width is 576dots and max height is 910 dots N is the destination bit map code Before the destination bit map code has not been defined this command is not available The bit map must be the 2 value bit map This command will not be influenced by printing mode bold overlap underline character dimension or inverse print If the width of being printed beyond one line the out profile will not be printed It needs special purpose tools to print the downloaded bit map Please see T9 set tool software The bit map by this mode does not lose un
9. 7B 43 123 67 T 37 55 SF 95 8 38 56 i 60 96 9 39 57 a 61 97 3A 58 b 62 98 59 c 63 99 3C 60 d 64 100 3D 61 e 65 101 gt 62 f 66 102 163 g 67 103 40 64 h 68 104 A 41 65 i 69 105 B 42 66 6A 106 C 43 67 k 6B 107 D 44 68 1 6C 1108 45 69 6D 109 F 46 70 n 6E 110 G 47 71 6F 111 Character in set Sending data Sending data Sending data Character Character Character Hex Decimal Hex Decimal Hex Decimal 0 00 0 40 28 40 80 50 80 1 01 1 41 29 41 81 51 81 2 02 2 42 2A 42 82 52 82 3 03 3 43 2B 43 83 53 83 4 04 4 44 2C 44 84 54 84 5 05 5 45 2D 45 85 55 85 6 06 6 46 2E 46 86 56 86 7 07 7 47 2F 47 87 57 87 8 08 8 48 30 45 88 58 88 9 09 9 49 31 49 89 59 89 10 OA 10 50 32 50 90 5 90 11 OB 11 51 33 51 91 5 91 12 0 12 52 34 52 92 5C 92 13 OD 13 53 35 53 93 5D 93 14 OE 14 54 36 54 94 5E 94 15 15 55 37 55 95 5 95 16 10 16 56 38 56 96 60 96 17 11 17 57 39 57 97 61 97 18 12 18 58 3A 58 98 62 98 19 13 19 59 59 99 63 99 20 14 20 60 3C 60 FNCI 7B 31 123 49 21 15 21 61 3D 61 CODEA 7 41 123 65 22 16 22 62 62 CODEB 7 42 123 66 23 17 23 63 63 24 18 24 64 40 64 25 19 25 65 41 65 26 26 66 42 66 27 27 67 43 67 28 28 68 44 68 29 1 29 69 45 69 30 30 70 46 70 31 31 71 47 71 32 20 32 72 48 72 33 21 33 73 49 73 34 22 34 74 4A 74 35 23 35 75 4 75 36 24 36 76 4
10. dots Paper thickness 60 80um Printable content GB 18030 all Chinese and characters BIGS Traditional Chinese characters ASCII self defining character One dimensional bar code Support different density map and downloading bitmap printing 3 2 Power supply DC 9 24V 10 2 3 3 paper specification 1 Paper type thermal 2 Printing width 58mm 3 Paper thickness 0 06 0 08 mm 4 Paper roll diameter max 60 mm 5 Paper supply method Drop in easy loading 6 Cutting method Auto cutting Full Partial cut Chapter 4 Operating instruction 4 1 Button and indicator description There are one button Feed button and one indicator the indicator is red The meanings of indicator are as below Light constant on print unit is on Light flashing printer has mistakes Different types of mistake different ways of flashing 1 The mistake can be automatically recovered when the indicator continuous flashing Including the temperature mistake of printer head and opening of paper case cover Error Description The flashing way of ERROR ERROR Temperature of printer head the temperature is normal The temperature of printer head is too high it will recover automatically when Out of paper errors After installed the paper it will paper recover automatically when out of 2 The mistake can be automatically recovered when the indicator continuous flashing Inc
11. space set by HT The underline can not act on the characters of clockwise 90 degrees and inverting width of the underline will not be changed and the character rest will not be underlined when cancel the underline mode The default width isl dot width Changing the character boundary will not influence the current underline width Selecting canceling the underline can also be set by ESC However the setting of the last received command is effective command doesn t affect the Chinese character setting Default 0 Reference ESC ESC 2 Name Setting default height of line Format ASCII ESC 2 Hex 1B 32 Decimal 27 50 Description Selecting32 dots 4mm about 1 7inch line height Note Line height is independent under standard and page mode Reference ESC 3 ESC3n Name Setting the height of the line Format ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n Range 0 lt lt 255 Note Setting n units of vertial or lateral shifting inches as the height of the line Note Setting n units of vertial or lateral shifting inches as the height of the line Units of vertial or lateral shifting are set by GSP changing this setting will not influences current height of line Using vertical shifting units under standard mode According to the direction of printing area and the beginning position to select lateral or vertical shifting units under page mode The selection modes are as below Using
12. tab either the 90 degree clockwise characters width of underline is set by FS has no relation to the character boundary When the height of the character in one line is not the same all the characters align the base line Using FS W and GS can make the characters bold the setting of the last received command is effective Also can use FS to select or cancel the underline the setting of the last received command is effective Default value 0 Reference FS amp FS FSW GS Name Selecting Chinese character mode Format Description Note Reference FS n Name Format Range Description Note ASCII FS amp Hex 1C 26 Decimal 28 38 Selecting Chinese character mode When select Chinese character mode printer will judge whether the character is Hanzi interal code if it is dealing with the first byte in advance Then the second one After powering up the printer will select Chinese character mode by itself FS FSC selecting canceling Chinese underline mode ASCII FS n Hex 1C 2D n Decimal 28 45 n 0 lt lt 2 48 lt lt 50 selecting or canceling Chinese underline according to value of n Function 0 48 canceling Chinese underline 1 49 selecting Chinese underline 1dot width 2 50 selecting Chinese underline 2dots width Printer can add underline to all the characters including left and right space But can not add underline to the spa
13. vertical shifting when the beginning position is the top left or lower right corner of the printing area which is set by ESC T Using lateral shifting when the beginning position is the lower left or top right corner of the printing area which is set by ESC T maximum distance of feeding paper is 1016mm 40inches If it is beyond this distance taking the maximum distance Default value default height of line is 4mm about1 6inch Reference ESC2 GSP ESC Selecting printer Format ASCII ESC n Hex 1B 3D n Decimal 27 61 n Range 0 lt lt 1 Description Selecting printer the printer selected can receive the data sent by main computer Bit 1 0 Hex Decimal Function 0 0 00 0 Forbidding printer 1 01 1 Permitting printer 1 7 Undefined Note When the printer is forbidden the printer ignores all the commands DLE EOT DLE ENQ DLE DC4 except real time command until the command is allowed Default value n 1 ESC n Name cancel user self defined character Format ASCII ESC n Hex 1B 3F n Decimal 27 63 n Range 32 lt n lt 127 Description Cancel user self defined character Note Cancel the character code n of user self defined character The character use in character after canceling The command deletes from the matrix which is selected by the mould concentrates to the specified code of the selective ESC The comm
14. 27 100 n Range 0 lt lt 255 Description Printing the datas in print buffer and feeding paper forward for n lines character IOW Note This command sets the loading position at the beginning of the row This command does not influence the line space which is set by ESC 2 or ESC 3 maximum distance of feeding paper is 1016mm If it is beyond this distance taking the maximum distance Reference ESC 2 ESC 3 ESCtn Name Selecting character code table Format ASCII ESC t n Hex 1B 74 Decimal 27 116 Range 0 n lt 255 Description Selecting code page n from character code table Selection of n are as below N ARAG TA Code Page 0 CP437 BS iN ant CP437 U S A Standard Europe 1 KataKana FR Katakana 2 PC850 4 850 Multilingual 3 860 3145 7 860 Portuguese 4 863 212 1 PC863 Canadian French 5 PC865 PC865 Nordic 6 WCP1251 HARE WCP1251 Cyrillic 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 Default value Reference CP866 3 52 MIK 3frby A D AE CP755 2 0218 2 GF BH TR EH TR EH TR EH TR EH CP862 WAX WCP1252 15 i 1 WCP1253 5 Ji 852 1 i amp 2 CP858 Tli aie 1 OE 864 Bi tv fF 150
15. 5 5 em mm Chapter2 Interface definition and description 2 1 Serial Interface appearance ean Ss a7 7 hr GNOGNOGNDCND ML 1 RAD A USB port socket COM Iserial port serial port 2 2 The pin definition of serial interface serial port have COMI and both of them use IDC 10 socket their function are the same only the definition order of ports are different specific pins definition is as figureland figure 2 Notice Don t use two sockets at the same time Signal Pin No Source Description TXD 2 Printer Printer transmits data to host RXD 3 Host Printer receives data from host CTS 8 Printer Hardware flow control signal between printer and host busy signal DSR 6 Printer AsCTS GND 5 Figure 1 serial COMI of RMES series interface socket pins definition Signal Pin Source Description TXD 3 Printer Printer transmits data to host RXD 5 Host Printer receives data from host CTS 6 Printer Printer and host hardware flow control signal busy signal DSR 2 Printer AsCTS GND 9 Figure 2 serial COM2 of RMES series interface socket pins definition 2 3Parallel interface appearance SP RME3PHB 2 4 The pin definition of parallel port Parallel interface is compatible with CENIRONICS printer interface the interface of 26 line of flat cable plug and socket adapter para
16. 8859 1 PERK CP737 455 WCP1257 DE 27 ff ifi 45 X1 720 1 fH 38 CP855 CP857 E H Gi WCP1250 BK CP775 WCPI1254 E 993 255 1256 jy H8 WCPI1258 t amp 18 ISO 8859 2 47 J 152 ISO 8859 3 4 13 ISO 8859 4 EF Ji 150 8859 5 E jy ISO 8859 6 BA 3 H3 ISO 8859 7 6 115 ISO 8859 8 15 8859 9 H8 150 8859 15 J 1 amp 9 352221 856 0 es o CP866 2 MIK Cyrillic Bulgarian CP755 East Europe Latvian 2 Iran reserve reserve reserve reserve CP862 Hebrew WCP1252 Latin I WCP1253 Greek CP852 Latina 2 CP858 Multilingual Latin Euro Iran II Latvian 864 Arabic ISO 8859 1 West Europe CP737 Greek WCP1257 Baltic Thai 1 CP720 Arabic CP855 CP857 Turkish WCP1250 Central Europe 775 WCP1254 Turkish WCPI255 Hebrew WCP1256 Arabic WCP1258 Vietnam ISO 8859 2 Latin 2 ISO 8859 3 Latin 3 ISO 8859 4 Baltic ISO 8859 5 Cyrillic ISO 8859 6 Arabic ISO 8859 7 Greek ISO 8859 8 Hebrew ISO 8859 9 Turkish ISO 8859 15 Latin 3 Thai2 CP856 me o ee ESC Name Format Range Description Note Selecting canceling invert printing mode ASCII ESC n Hex 1B 7B n Decimal 27 123 n 0 lt lt 255 Selecting canceling invert printing mode
17. SPRT RECEIPT PRINTER SP RME3 USER MANUAL V1 0 Beijing Spirit Technology Development Co Ltd Wwww sprt printer com CONTENT Chapter Outer Appearance and Model sees enne nen en nennen nennen 4 11 Outside view eee eee e eme HERR e E ee teres 4 1 2 Dimensional drawing esee eerte ERR PRO OE here 5 Chapter2 Serial interface definition and 6 2 1 Interface ppeatanice dereud ette eee eee etie 6 2 2 The pin definition of serial 6 2 3Parallel interface appearance issis ertet tei terret e i Enes eE TE eri sa 7 2 4 The pin definition of parallel 8 Chapter3 Characteristic Specification eene 9 3l Prinung capability 3 oett etit 9 32 Power SUPPLY peter tr te ae eniin he peo teo pte ens 9 3 3 paper SpecifICatioD oci aceti ori c per eee prt ede OE eder oe RR 9 Chapter 4 Operating 9 4 1 Button and indicator 9 4 2 Self T6St oem o a ven P cel nicer een 10 Chapter 5 Printing Commiand tete 10 T EEUU M 11 eeaaes 11 lg D
18. T Using vertical shifting when the beginning position is the lower left or top right corner of the printing area which is set by ESC T The maximum right space is 255 203 inches If setting beyond this value it will automatically change into the maximum distance Default 0 Reference GSP ESC n Name selecting print mode Format ASCII ESC Hex 1B 21 Decimal 27 33 Range 0 lt lt 255 Description Setting character print mode according to value of n Bit 1 0 HEX Decimal Function 0 0 00 0 Standard ASCII style A 12x24 1 01 1 Compressing ASCII style B 9x17 1 2 Undefined 3 0 00 0 Cancel bold font 1 08 8 Select bold font 4 0 00 0 Cancel double height mode 1 10 16 Select double height mode 5 0 00 0 Cancel double width mode 1 20 32 Select double width mode 6 Undefined 7 0 00 0 Cancel underline mode 80 128 Select underline mode Note When selected double height or double width mode double size characters are printed Any character can be added underline except the space set by HT and the characters clockwise 90 degrees Underline is not related to characters but confirmed by ESC When some characters in a line are double or more height all the characters on the line are aligned at the baseline ESC E can also select or cancel bold font However the command of the setting of the last received command is effective ESC can also turn on or
19. and is ignored if the self defined characters have no the character Reference ESC amp ESC ESC e Name Initializing the printer Format ASCII ESC 1 40 Decimal 27 64 Description Clearing the data in the printing buffer The printing mode is set to the default Note The DIP switch set does not test again Retaining the content in command buffer Retaining the macro definition Flash bit map is not erased Flash user data is not erased Servicing counter value is not erased set value specified by GS E is not erased ESC D n1 nk NUL Name Setting horizontal tab positions Format ASCII ESC D NUL Hex 1B 44 nl nk 00 Decimal 27 68 nl nk 0 Range lt nl xn2 lt lt nk lt 255 0 lt lt 32 Description Setting horizontal tab positions N specifies the column number for setting a horizontal tab position from the beginning of the line There are k tab positions Note Horizontal tab positions can be gotten by the following formula The horizontal tab position is stored as a value of character width xn measured from the beginning of the line The character width includes the right side character spacing and double width characters are set with twice the width of normal characters This command cancels the previous horizontal tab settings When setting n 8 the print position is moved to column 9 Up to 32 tab positions k 32 can be set Data exceeding32tab positions is proc
20. as follows al Highest bit 24Dots Lowest bit D1 00H 04 lt 00 DT OOH D10 00H D2 1FH D5 TGH D8 60H D11 00H D3 COH D6 30H 09 D12 TOH FS Cn Name selecting Chinese code system Format ASCII FS C nl n2 Hex 1C 43 nl n2 Decimal 28 67 nl n2 Range n 0 1 48 49 Description selecting Chinese code system n selecting Chinese code system 0 48 Simplified Chinese GB23125 GB 18030 1 49 Traditional Chinese TC BIG5 Note The command does not change the parameter set of flash It returns to default after carried out ESC command power off or reset Default value n 0 Simplified Chinese model n 1 Traditional Chinese TC model FS S nl n2 Name Setting the left and right space of Chinese character Format ASCII FS S nl n2 Hex 1C 53 nl n2 Decimal 28 83 nl n2 Range 0 lt nl lt 255 0 lt 2 lt 255 Description Setting the space of left and right are n1 n2 When the printer have GSP command the left space is n1 lateral or vertical motion unit inch the right space is n2 lateral or vertical motion unit inch Note The left and right space will be doubled after setting the double width mode shifting unit is set by the command GS P The former character space does not change even if the lateral and vertical units are changed Using the lateral shifting unit under the standard mode Selecting to use the lateral or vertical shifting unit accor
21. ce caused by HT command horizontal tab either the 90 degree clockwise characters It does not carry out the underline printing after canceling underline mode but the previous set does not change The default underline width is 1dot The underline width does not change even if changing the character dimension Can use FS to select or cancel the underline the setting of the last received command is effective Default value 0 Reference FS Name Format Description FS canceling chinese mode ASCII FS 2 Decimal 28 46 canceling chinese mode When the Chinese mode is canceled all the characters are the same as ASCII style and deal with one byte once Selecting Chinese mode when power on Reference FS amp FS C FS 2 c1 c2 1 Name Defining user self defined Chinese Format ASCII FS 2 cl c2 dl dk Hex 1 32 cl c2 dl dk Decimal 28 50 cl c2 dl dk Range cl c2 represent the code of defined characters cl FEH 1 lt c2 lt 0 lt 4 lt 255 k 72 Description Defining the Chinese specified by cl c2 Note Cl c2 represent user self defined Chinese code c1 specifies the first byte c2 specifies the second byte D represent data Every bit of byte is 1 represents to print the dot 0 means does not print It can define 10 chinese the most Default value no self defined Chinese The relation between self defined Chinese font and data
22. command However the setting of the last received command is effective Default value n 0 Reference ESC GS x y dl d x x y x 8 Name Defining downloaded bit map Format ASCII GS X 1 2 X dl dk Decimal 29 42 X y dl dk Range 1 lt lt 255 1 lt lt 48 x x y lt 1536 0 lt 4 lt 255 yx 8 Description Use appointed bit number by x and y to define the downloaded bit map x is the dot number of horizontal is the dot number of vertical d is data of specified bit map Note X 8 is the dot number of horizontal y 8 is the dot number of vertical If x y is off limit then the command is forbidden d means the image data print not print In the following circumstances clear the definition of downloaded bit image carry out ESC command Power off or reset Relationship between print data and download bit map is as below x Dots E Highest bit E Lowest bit Reference GS GS m Name Printing downloaded bi t map Format ASCII GS m Hex 1 2F m Decimal 29 47 m Range 0 lt m lt 3 48 lt m lt 51 Description Printing mode is appointed by m when print a bit map m printing mode selections are as below m mode vertical DPI horizontal DPI 0 48 normal 203 203 1 49 Double width 203 101 2 50 Double height 101 203 3 51 Double width 101 101 and height Note This command will be ignored if the downloaded bit map is not defined
23. ding to the printing area under page mode 0 Using horizontal shifting when the beginning position is the top left or lower right corner of the printing area Using vertical shifting when the beginning position is the lower left or top right corner of the printing area The maximum distance of Chinese is36mm If it is beyond this distance taking the maximum distance Default nl 0 n2 0 Reference GSP FSWn Name Selecting canceling Chinese double height or width Format ASCII FS W n Hex 57 Decimal 28 87 Range 0 lt lt 255 Default Selecting canceling Chinese double width mode Cancel chinese double width mode when the lowest bit is 0 Select Chinese double width mode when the lowest bit is 1 Note only the lowest bit of n is effective To print chinese dimension under double width mode is the same as to select both double width and double height Chinese dimension is printed normally after cancelling the Chinese double width mode When the height of the character in one line is not the same all the characters align the baseline Also using FS or GS can select or cancel Chinese double height and width mode the setting of the last received command is effective Default 0 Reference FS GS Appendix A 128 code 1 128 code summary 128code can code128ASCII characters and 100 numbers from00 99and some special character by crossing using of character set A B and C Character of every cha
24. each state is indicated by 1 byte Transmission state value of the printer can not confirm whether the master computer received Printer will carry out the command immediately once received This command is just available to the serial printer The printer will carry out the command immediately under any state n 1 Printer state Bit 0 1 HEX Decimal Function 0 0 00 0 Fix as 0 1 1 02 2 Fix as 1 2 0 00 0 The cash box open close signal is low the third of cash box plug leads foot 1 04 4 The cash box open close signal is high the third of cash box plug leads foot 3 0 00 0 online 1 08 8 offline 4 1 10 16 Fix as 1 5 6 undefined 7 0 00 00 Fix as 0 n 2 Off line state Bit 0 1 HEX Decimal Function 0 0 00 0 fix as 0 1 1 02 2 fix as 1 2 0 00 0 close the top cover 1 04 4 open the top cover 3 0 00 0 Not holding down the feed button 1 08 8 holding down the feed button 4 1 10 16 fix as 1 5 0 00 0 Printer is not out of paper 1 20 32 Printer is out of paper 6 0 00 0 No error state 1 40 64 error state 7 0 00 0 fix as 0 n 3 error state Bit 0 1 HEX Decimal Function 0 0 00 0 Fix as 0 1 1 02 2 Fix as 1 2 undefined 3 0 00 0 noun cutter error 1 08 8 cutter error 4 1 10 16 Fix as 1 5 0 00 0 noun u
25. essed as normal data Tab position is ordered by asceding and the end mark is NUL When n k is less than or equal to the preceding value n k 1 tab setting is finished and the following data is processed as normal data ESC D NUL cancels all horizontal tab positions The previously specified horizontal tab positions do not change even if the character width changes The character width is independence under standard and page mode Default The default tab positions are at intervals of 8 characters for font A 12 24 Reference HT ESCE n Name Select Cancel bold font print Format ASCII ESC E n Hex 1B 45 n Decimal 27 69 n Range 0 lt lt 255 Description Select Cancel bold font print When the lowest bit of n is O cancel bold font print When the lowest bit of n isl select bold font print Note Only the lowest bit of n is effective Selecting canceling bold font print can also be set by ESC However the setting of the last received command is effective Default value 0 Reference ESC ESC Gn Name Selecting canceling double print mode Format ASCII ESC G n Hex 1B 47 n Decimal 27 71 n Description Note Default value Reference ESC Jn Name Format Range Description Reference ESCM n Name Format Range Description 0 lt 255 Selecting canceling double print mode When the lowest bit of n is O canceling double
26. fter receiving 12 bytes data printer will handle the rest as normal character When selecting type of JAN13 EAN13 after receiving13 bytes data printer will handle the rest as normal character When selecting type of JANS EANS after receiving 8 bytes data printer will handle the rest as normal character Number of ITF code data must be aeven number If entering code data of odd number the last data will be ignored Note N is used to appoint the number of pointing barcode data The printer will handle then byte data follow as barcode data If n goes beyond the specified range the printer will not handle this command and handle the data following as normal data Note Standard mode If the barcode d goes beyond the specified range this command is invalid f the cross wise of barcode goes beyond printing area invalid No matter what is the height set by ESC 2 or ESC 3 the distance of feeding paper is the This command only available when there is no data in printing buffer if not the command will be ignored same as the height of barcode The printing position will be set at the beginning of the line after printing the barcode Other mode setting bold double printing underline character dimension inverse and character clockwise rotates 90 degree can not influence this command except Inversion mode Note page mode This command just produces the barcode figure in printing buffer but not print Moving the printing
27. hoose two dimensional barcode type n 0 Select PDF417 1 Select DATAMATRIX n 2 Select QR CODE Q GS k m vr dl dn NULOGS k m vr nL nH dl dn Name Printing two dimensional barcode Format ASCII GS k m v dt dn NUL Hex 1D 6B m v r dt dn 00 Decimal 29 107 m v r dt dn 0 ASCII GS k m v r nLnH di dn Hex 1D 6B m v r nLnH 91 Decimal 29 107 m v nLnH 91 Range 032 lt m x34 297 lt m lt 99 Description Select one type of two dimensional barcode and printing when usext f format one it ends as 00 d1 dn is the data of barcode When select format 2 d1 dn is the data of barcode m is used to select barcode type as following m Barcode type 32 Code 33 Data Matrix 34 PDF417 97 Code 99 Data Matrix 98 PDF417 Different bar code has different parameters meanings PDF417 two dimensional barcode 1 lt lt 30 Stand for the character number row Because different models have different paper width the maximum v should be within the aircraft allowed maximum 0 lt lt 8 Stand for error correction level 1 lt dHdL x 65535 Stand for printing the barcode data length is n nL nH is the low order and high order of n n dL dH 256 0 lt x 255 Stand for the barcode data DATAMATRIX two dimensional barcode 0 lt x 144 Stand for height of graphics 0 automatic selection 8 lt lt 144 Stand for width of graphics 0 invalid 1 lt dHdL lt 65535 Stand f
28. is showed in the appendix C the pre print black mark instruction If not at the black mark examing status and then only print the contents of buffer don t feed paper Note Clearing the content in print buffer after printing The printing area setup by ESC W returns to the default The printer won t cut paper This command sets the current position at the beginning of the line Reference ESC FF ESC L ESC S CR Name Printing and entering Format ASCII CR Hex 0 Decimal 13 Description The same as LF when the command is permitted if not it will be ignored Note Setting the printing position at the beginning of the line The command is ignored under the serial interface mode The printer allocation decides If the command is enabled under parallel mode Reference LF DLE EOT n Name Real time status transmission Format ASCII DLE EOT Hex 10 04 Decimal 16 4 n Range 1 lt lt 4 Description Sending the printer state that designated by parameter n just in time n 1 Sending state of the printer n 2 Sending off line state n 3 Sending error state n 4 Sending state of paper sensor Note When printer receives the command returns to the interrelated status immediately Avoiding to put this command in the command sequence of more than 2 characters This command will be also valid even though the printer is set to forbid by the Command of ESC selecting peripheral When sending printer current state
29. less download other bitmap to cover it GS n Name Selecting character boundary Format ASCII GS n Hex 1D 21 n Decimal 29 33 n Range 0 lt lt 255 1 lt longitudinal magnification multiple lt 8 1 lt lateral magnification multiple lt 8 Description Using 0 to 2 bits to select character height 4 to7 bits to select character width As follows Bit 0 1 Hex Decimal Function 0 3 Selecting character width see tablel 4 7 Selecting character height see table2 Table 1 Table 2 Selecting character height Selecting character width Hex Decimal longitudinal Hex Decimal lateral magnification magnification 00 0 1 normal 00 0 1 normal 01 1 2 double width 10 16 2 double height 02 2 3 20 32 3 03 3 4 30 48 4 04 4 5 40 64 5 05 5 6 50 80 6 06 6 7 60 96 7 07 7 8 70 112 8 Note This command is effective to all the characters ASCII and Chinese characters except HRI characters If n is out of the range this command will be neglected Under standard mode portrait is the direction of feeding paper landscape is perpendicular to the direction of feeding paper But when the character rotates 90 degree clockwise portrait and landscape are reversed Portrait and landscape under page mode depend on the direction of the area the character are aligned baseline when the character of the same line enlarge different times Selecting canceling the double width and double height of the character can also be set by ESC
30. llel interface socket pin definition as shown in table 2 3 Signal Pin No Signal Function source STB 1 host Gate trigger DI 3 host The lowest of parallel data D2 5 host The second of parallel data D3 7 host The third of parallel data D4 9 host The fourth of parallel data D5 11 host The fifth of parallel data D6 13 host The sixth of parallel data D7 15 host The seventh of parallel data D8 17 host The highest of parallel data ACK 19 printer Answer pulse low level represent data has been accepted and the printer is ready to receive data BUSY 21 printer High level said printer is busy can not accept the data PE 23 printer High said printer paper low that paper SEL 25 The resistance to the high level Said the printer online ERR 4 The resistance to the high level said trouble free NC 6 8 unconnected GND 10 12 14 Grounding logic 0 level 16 18 20 22 24 VCC 26 The default dangling can also be customized to export 5 V 2 5 USB interface Use standard Mini USB B 2 6 Power Port 3 is the positive input to external power and 1 for external input power supply Don t pick up against Chapter3 Characteristic Specification 3 1 Printing capability Printing method Line thermal Paper width 58mm Printing width 48mm Resolution 8dots mm 203dpi Dots per line 384dots Printing speed Max 100mm S lt 25 printing
31. luding the temperature mistake of printer head and opening of paper case cover The flashing way of ERROR Error Description ERROR Memory The printer can not work normally nl after the memory need to be read write calibration Over voltage The voltage of power is too high Owe voltage The voltage of power is too low JUUU 1 detection circuit circuit connection error The CPU The CPU execution to the wrong nnnnr eon execution address 25 Temperature Connection of temperature detection 4 2 Self Test After receiving the printer user can check its current setting and status at anytime Self test way is as below Power off then hold down the FEED button and press the power button at the same time Then restart the printer gt DLEEOTn gt Format gt Range gt Description Chapter 5 Printing Command Real time transmission status ASCII DLE Hex 10 04 Decimal 16 4 1 lt lt 4 Sending the printer state that designated by parameter n just in time gt Note When printer receives the command returns to the interrelated status immediately gt Reference HT Name Horizontal tab Format ASCII HT Hex 09 Decimal 9 Description Moves the print position to the next horizontal tab position Note This command is ignored unless the next horizontal tab position has been set If the
32. next position of horizontal tab exceeds the printing area the current position will be set as printing width 1 Horizontal tab positions are set with ESCD If the current position is at printing width 1 when receives the command the printer will carry out the action in row buffer and move the printing position to the Zero position of next line The default value of tab position is every 8 standard ASCII characters 12 24 a tab When the current row buffer is full the printer will carry out the action below Under standard mode printer prints the content of current row and sets the Printing position at the Zero position of next line Under page mode the printer begins a new line and set the printing position at the zero position of next line Reference ESCD LF Name Printing and feeding line Format ASCII LF Hex 0A Decimal 10 Description Printing the data in the print buffer and feeds one line Note This command sets the print position to the beginning of the line Reference ESC 2 ESC 3 FF Name Printing and feeding paper Format ASCII FF Hex 0C Decimal 12 Description Printing all of the content in print buffer and returning to the standard mode under the standard mode if the printer establishes in the black mark paper mode then printing the data in the buffer to feed paper to the black mark section if haven t black mark then feed the paper 30cm behind stop the pre print black mark specification
33. nrecoverable error 1 20 32 have unrecoverable error 6 0 00 0 noun auto recoverable error 1 40 64 have auto recoverable error 7 0 00 0 Fix as 0 n 4 paper sensor state Bit 1 0 HEX Decimal Function 0 0 00 0 Fix as 0 1 1 02 2 Fix as 1 2 3 0 00 0 The sensor of paper is going out have enough paper 1 0C 12 The sensor of paper is going out the paper is going out 1 10 16 Fixas 1 5 6 0 00 0 lack of paper sensor have paper 1 60 96 lack of paper sensor noun paper 7 0 00 0 Fix as 0 Reference DLE ENQ GS a GS r ESC SP n Name Setting the right space of characters Format ASCII ESC SP n Hex 1B 20 n Decimal 27 32 n Range 0 n2255 Description Setting the right space of character for n units of vertial or lateral shifting Note When the character enlarges the space enlarges the same times The command doesn t affect the setup of Chinese characters The value which is set by the command under page and standard mode is mutual independence Units of vertial or lateral shifting area pointed by GSP Changing units of vertial or lateral shifting does not change the current right space Using lateral shifting units under standard mode According to the direction of printing area and the beginning position to select vertical or lateral shifting units under page mode The selection modes areas below Using lateral shifting when the beginning position is the top left or lower right corner of the printing area which is set by ESC
34. of barcode character set the printer will stop handling this command and handling the rest data as normal data When printing HRI character not printing shift character and character set selection data HRI character of function character is not printed HRI character of control character lt 00 gt to lt 1F gt Hand lt 7F gt H is not printed Others Ensure the left and right space of barcode Space is different because of different barcode style Reference GS H GS f GS h GS w appendix A GS wn Name Setting the width of barcode Format ASCII GS w n Hex 1D 77 n Decimal 29 119 n Range 2 lt n lt 6 Description Setting width of barcode horizontal module Appointing the barcode horizontal module by n H Mono basis Double basic module width module width mm Narrow based module Wide based module mm mm 2 0 25 0 25 0 625 3 0 375 0 375 1 0 4 0 5 0 5 1 25 5 0 625 0 625 1 625 6 0 75 0 75 1 875 Barcode of mono basis module is as below UPC A UPC E JAN13 EAN13 JAN8 EAN8 CODE93 CODE128 Barcode of biradical module is as below CODE39 ITF CODABAR Default value n 2 Reference GS k Two dimensional barcode control command ESC Z m n k dL dH d1 dn Name Print two dimensional barcode Format ASCII ESC Z v r k nLnH di dn Hex 1B v r k nLnH di dn Decimal 27 90 v r k nLnH di dn Description According to the GS Z select barcode type print 2 d graphics the paramete
35. off underline mode However the setting of the last received command is effective GS can also set the character boundary However the setting of the last received command is effective Bold font is effective for character and Chinese except bold font other modes is only effective for character Default 0 Reference ESC ESC E GS ESC nL nH Name Setting absolute print position Format ASCII ESC nL nH Hex 1B 24 nL nH Decimal 27 36 nL nH Range O lt nL lt 255 0 lt nH lt 255 Description Setting the distance from the beginning of the line to the position at which nL nHx256 vertical or horizontal motion unit Reference This command is ignored if the setting position is out of the printing area Vertical and horizontal motion units are set by GSP Using horizontal motion units under standard mode Under page mode selecting to use vertical or horizontal motion units according to the direction of printing area and zero position The system of selection is as below Using horizontal shifting when the beginning position is the top left or lower right corner of the printing area which is set by ESC T Using vertical shifting when the beginning position is the lower left or top right corner of the printing area which is set by ESC T Reference ESC GS GS GSP ESC Name Selecting Canceling self defined character Format ASCII ESC n Hex 1B 25 n Decimal 27 37 n Range 0 nx255 Desc
36. on ESC Q is carried out ESC iscarried out The printer reset or power off Only the MSB is valid at the vertical third byte when the selt defined characters are style B 9 17 Default Built in character set Reference ESC ESC Example When select the standard ASCII style 12x24 12 dots an 4 5 n highest bit lowest bit 24 dots di lt 0 gt d4 lt 30 gt H d7 lt 40 gt H d2 lt 03 gt 45 lt 80 gt 48 lt 40 gt d3 lt 00 gt 46 lt 00 gt d9 lt 20 gt H When select the compressing ASCII style 9x17 ESC Name Format Range 9 dots P highest bit 17 dots chere S lowest bit d4 d7 lt 10 gt 45 48 lt 04 gt 46 99 lt 00 gt m nL nH dl dk Selecting bit map mode ASCII ESC m nL nH dl dk Hex 1B 2A m nL oH dl dk Decimal 27 42 m nL nH dl dk 0 1 32 33 0 E nL x 255 0 nH x3 0 d x255 Description Selects a bit map mode appointed by m for the number of dots specified by nL and nH as follows m Mode Vertical Horizontal dots Dpi Dpi No of datas Ck 0 8SD 8 68 DPI 101 DPI nL nH 256 8DD 8 68 DPI 203 DPI nL nH 256 32 24SD 24 203 DPI 101 DPI nL nH 256 x 3 33 24DD 24 203 DP 203DPI 256 3 If the value of m goes beyond the range nl and
37. or printing the barcode data length is n nL nH is the low order and high order of n n dL dH 256 0 xdn lt 255 Stand for the barcode data Note 8 QR CODE two dimensional barcode 0 lt lt 40 Stand for graphics version number 0 automatic selection 1 lt lt 4 Stand for error correction level 1 7 15 0 25 30 1 lt dHdL x 65535 Stand for printing the barcode data length is n nL nH is the low order and high order of n n dL dH 256 0 xdn lt 255 Stand for the barcode data Using the instruction to print two dimensional barcode the barcode of magnification is decided by GS w command set n Reference ESCZ GS w The Chinese characters controlling commands FS n Name Setting Chinese characters mode Format ASCII FS n Hex 1C 21 n Decimal 28 33 n Range 0 lt lt 255 Description Using value of n to set the printing mode of Chinese characters Bi 0 Hex Decimal Function 0 1 Undefined 2 0 00 0 Canceling double width 1 04 4 Selecting double width 3 0 00 0 Canceling double height 1 08 8 Selecting double height 4 6 Undefined 7 0 00 0 Canceling underline 1 80 128 Selecting underline Note When double width and double height are set together portrait and landscape will been enlarged two times together including left and right space Printer can add underline to all the characters including left and right space But can not add underline to the space caused by HT command horizontal
38. position to the right of the barcode after handling the barcode data If the d goes beyond the specified range this command will be ignored If the width of the barcode goes beyond the printing area this command will be ignored Referring appendix A related information of CODE128 and character set When using CODE128 encoding according to the description following 0 Selecting character set before barcode data CODE CODE or CODE C 2 Selecting character set according to sending character and combine with another character ASCII character is finished by sending character for twice Appointing Sending data Character ASCII Hex Decimal SHIFT S 7B 53 123 83 CODE A A 7B 41 123 65 CODE B B 7B 42 123 66 CODEC C 7B 43 123 67 1 7 31 123 49 FNC2 2 7B 32 123 50 FNC3 3 7B 33 123 51 FNC4 4 7B 34 123 52 me 7B 7B 123 123 Example Printing No 123456 Using CODE B to print No and then using CODE C to print the digital rest GS k 73 10 123 66 78 111 46 123 67 12 34 56GS k 73 10 123 66 78 111 46 123 67 12 34 56 BEDA If it is not character set selection at the beginning of barcode data the printer will stop handling this command and handling the rest data as normal data If and the character close behind is not the combination as above the printer will stop handling this command and handling the rest data as normal data If the character is not the data
39. print mode When the lowest bit of n is 1 selecting double print mode Only the lowest bit of n is effective The effect of this command is the same as bold font printing n 0 ESC E Printing and feeding paper ASCII ESC J n Hex 1B 4A n Decimal 27 74 n 0 lt n lt 255 Printing datas in print buffer and feeding paper for n units of vertial or lateral shifting inches The current print position will be set to the beginning of the line after printing ESC 2 ESC 3 commands set does affect the feeding distance Units of vertial or lateral shifting are set by GSP Using vertical shifting units under standard mode According to the direction of printing area and the beginning position to select vertical or lateral shifting units under page mode The selection modes are as below D Using vertical shifting when the beginning position is the top left or lower right corner of the printing area which is set by ESC T Using lateral shifting when the beginning position is the lower left or top right corner of the printing area which is set by ESC T maximum distance of feeding paper is 1016mm 40inches If it is beyond this distance taking the maximum distance GSP select font ASCII ESC M n Hex 1B 4D n Decimal 27 TI n n 0 1 48 49 select font n function 0 48 select standard ASCII style 12 24 1 49 select compressing ASCII style 9 17 Default value 0 ESCRn Name Selec
40. r meaning varies according to the barcode type PDF417 two dimensional barcode 1 lt lt 30 Stand for the character number in a row Because different models have different paper width the maximum v should be within the aircraft allowed maximum 0 lt lt 8 Stand for error correction level 1 lt k lt 6 Stand for the longitudinal magnification 1 lt dHdL x 65535 Stand for printing the barcode data length is n nL nH is the low order and high order of n n dL dH 256 0 lt x 255 Stand for the barcode data DATAMATRIX two dimensional barcode 0 lt x 144 Stand for height of graphics 0 automatic selection 8 lt lt 144 Stand for width of graphics 0 invalid 1 lt k lt 6 Stand for magnification 1 lt dHdL lt 65535 Stand for printing the barcode data length is n nL nH is the low order and high order of n n dL dH 256 0 lt lt 255 Stand for the barcode data QR CODE two dimensional barcode 0 lt lt 40 Stand for graphics version number 0 automatic selection 76 77 81 72 Stand for error correction level L 7 M 15 Q 25 H 30 1 lt k lt 6 Stand for magnification 1 lt dHdL x 65535 Stand for printing the barcode data length is n nL nH is the low order and high order of n n dL dH 256 0 xdn lt 255 Stand for the barcode data GS Zn Name Choose two dimensional barcode type Format ASCII GS Z n Hex 1D 5A n Decimal 29 90 n Range 0 lt lt 2 Description C
41. racter set code is as below Character set A ASCII character from 00Hto5FH Character set B ASCII character from 20Hto7FH Character set C 100 numbers from 00 99 128 code can also code to the special character below SHIFT character SHIFT can make barcode character the first character after SHIFT character transfer from character set A to B or B to A back to the character set used before SHIFT SHIFT Character can only be used to transform between character set A and B it can not make the current code character enter or quit state of character set C Selecting character of character set CCODEA CODEB CODEC These characters can transform the coding character followed to character set A B or C Function character FNCI 2 FNC3 FNC4 Usage of these function character is determined by application software OnlyFNC1 can be used in character set C A 2 Character sets Character in set A Sending data Sending data Sending data Character Character Character Hex Decimal Hex Decimal Hex Decimal NULL 00 0 28 40 P 50 80 SOH 01 1 29 41 Q 51 81 STX 02 2 2 42 R 52 82 ETX 03 3 2B 43 S 53 83 EOT 04 4 2 44 54 84 ENQ 05 5 2D 45 U 55 85 ACK 06 6 2 46 V 56 86 BEL 07 7 2F 4T W 57 87 BS 08 8 0 30 48 X 58 88 HT 09 9 1 31 49 Y 59 89 LF 10 2 32 50 7 5 90 0B 11 3 33 51 5B 91 FF 0C 12 4 34 52 5C 92 CR 0D 13 5 35 53 5D 93 SO 0E 14 6 36 54 5E 94 SI 15 7 37 55 2 5
42. rence GSk GS k m d1 dk NUL GSkmndl dn Name Printing barcode Format ASCII GS k m dl dk NUL Hex 1D 6B m dl dk 00 Decimal 29 107 m 0 ASCII GS k m n dl dn Hex 1D 6B m n dl dn Decimal 29 107 m n dl dn Range O lt m lt 6 Value range of and d is decided by its type 65 lt m lt 73 Value range of and d is decided by its type Description Selecting a kind of barcode and printing m is used to select type of barcode as follows m Barcode type Number of d character 0 UPC A 11 lt lt 12 48 lt 4 lt 57 1 UPC E 11 lt lt 12 48 lt 4 lt 57 2 13 12 lt lt 13 48 lt 4 lt 57 3 JAN 8 EAN8 7 lt lt 8 48 lt 4 lt 57 4 CODE39 1 lt lt 255 45 lt d lt 57 65 lt d lt 90 32 36 37 43 5 ITF 1 lt lt 255 48 lt 4 lt 57 6 CODABAR 1 lt lt 255 48 lt 4 lt 57 65 lt d lt 68 36 43 45 46 47 58 65 11 lt lt 12 48 lt 4 lt 57 66 11 lt lt 12 48 lt 4 lt 57 67 JANI3 EANI3 12 lt lt 13 48 lt 4 lt 57 68 JANS8 EANS 7 lt n lt 8 48 lt 4 lt 57 69 CODE39 1 lt lt 255 45 lt d lt 57 65 lt d lt 90 32 36 37 43 dl dk 42 70 ITF 1 lt lt 255 48 lt 4 lt 57 71 CODABAR 1 lt lt 255 48 lt d lt 57 65 lt d lt 68 36 43 45 46 47 58 72 CODE93 lt n lt 255 0 lt 4 lt 127 73 CODEI28 2 lt lt 255 0 lt 4 lt 127 This command is ended by NULL under this format When selecting code of UPC A or UPC E a
43. ription Selecting Canceling self defined character When n LSB 0 cancel user defined character set When n LSB 1 select user defined character set Note When cancel user defined character set auto select built in character set n only LSB is available Default 0 Reference ESC amp ESC ESC amp y c1 c2 x1 d1 d y x x1 xk d1 d y x xk Name Define user defined character Format ASCII ESC yclc2 xl dl d y x x1 xk d1 d y x xk Hex 1B 26 yclc2 xl dl d y x x1 xk d1 d y x xk Decimal 27 38 c2 xl dl d y x x1 xk d1 d y x xk Range 3 32 lt lt 2 lt 126 0 xx x 12 standard style A 12x24 0 lt x 9 compressing ASCII style B 9 x 17 0 dl d y x xk lt 255 Define user defined character y specify the vertical byte number cl specify the code of initial character c2 specify the code of terminal character Description x specify the vertical byte number Note The code range of defined character from lt 20 gt Hto lt 7E gt H 95 characters Can define the continuous codes for several characters When only one character is needed cl c2 d is the dot data of the character Data of each dot begins from the left Defining the data of user defined character is yxx bytes Setting the printing dot s corresponding bit is 1 or nonprinting dot s one is 0 The user defined characters will be deleted in the following situati
44. rmat ASCII GS V m Hex 1D 56 m Decimal 29 86 m ASCII GS V m n Hex 1D 56 m Decimal 29 86 m Range m 0 48 1 49 m 66 0 lt n lt 255 Description Select one cutting mode and cut paper Select cutting mode according to the value of m as follows m cutting mode 0 1 48 49 half cutting 66 Feed paper cutting position n vertical shifting unit inch and half cutting paper Note and This command does effect only at the beginning of line Note m 0 48 1 49 The printer cuts directly When m 66 the printer feed paper the distance from printing position to cut n vertical motion unit then cut paper lateral and vertical shifting unit are set by the command GS P The number of feeding paper is computed by vertical motion unit GS fn Name Selecting font of HRI used Format ASCII GS f n Hex 1D 66 n Decimal 29 102 n Range n 0 1 48 49 Description When printing barcode selecting a style for HRI character Selecting style by n is as below n Style 0 48 Standard ASCII character 12x24 1 49 Compressed ASCII character 9 17 Note HRI character is the note of barcode content HRI character printing position is set by GSH command Default value n 0 Reference GS H GS k GS hn Name Selecting height of barcode Format ASCII GS h n Hex 1D 68 n Decimal 29 104 n Range 1 lt n lt 255 Description Selecting height of barcode The height of barcode is n dots Default value n 162 Refe
45. the datas later will be regarded as normal data to deal with The dots number of horizontal printing depends on nL and nH total number is nL4nHx256 part of the bit map that goes beyond the current area will be cut off d is the data of bit map Printing when the relevant position of every byte is1 and when it is 0 will not print this point mode of normal data processing after send the data of bit map Except inversion mode this command will not be influenced by other modes black double print underline enlarge character and invert Relationship between data and printing point is as below choosing 8 dots density Data of bit map d1 d2 d3 Highest bit i Data of bit Printing data Printing data O 1005 choosing 24 dots density d d4 d7 Highest bit Data of bit Data of bit map d4 d5 d6 d7 d8 d9 4934649 Lowest bit Printing Printing data D Dots ESC Select cancel underline Format ASCII ESC n Hex 1B 2D n Decimal 27 45 n Range 0 lt n lt 2 48 lt n lt 50 Description Selecting or canceling the underline mode according to the value of n n Function 0 48 Cancel underline mode 1 49 Select underline mode 1dot width 2 50 Select underline mode 2 dots width Note Underline can be added under all characters including right spacing but not including the
46. the printing area which is set by ESC T Using vertical shifting when the beginning position is the lower left or top right corner of the printing area which is set by ESC T Reference ESC GSP ESCan Name Selecting alignment mode Format ASCII ESC a n Hex 1B 61 n Decimal 27 97 n Range 0 lt lt 2 48 lt lt 50 Description Making all the printing datas array in appointed alignment Relationship between value of n and alignment are as below n Alignment 0 48 Align left 1 49 Align center 2 50 Align right Note This command is just available at the zero position of the line and under Standard mode This command just changes the internal mark position under page mode This command revises the blank area according to HT ESC or ESC Default value 0 Example Left alighment Center Right alignment ESC c5n Name Permiting Forbiding key stoke Format ASCII ESC c 5 n Hex 1B 63 35 n Decimal 27 99 53 n Range 0 n lt 255 Description Permiting Forbiding key stoke When the lowest bit of n is 0 keystoke works When the lowest bit of 151 keystoke is forbidden Note Only the lowest bit of n is effective When the key stoke is forbidden it does not work When carrying out the macro command key stoke works all the time but can not feed paper by it Default value n 0 ESC dn Name Printing and feeding paper forward for n lines Format ASCII ESC d n Hex 1B 64 n Decimal
47. ting international character set Format ASCII ESC R n Hex 1B 52 n Decimal 27 82 n Range 0 xn lt 15 Description Selecting a n international character set from the table below n Character Set 0 U S A 1 2 Germany 3 U K 4 Denmark 5 Sweden 6 Italy 7 Spain 8 Japan 9 Norway 10 Denmark 11 Spain 12 Latin 13 Korea 14 Slovenia Croatia 15 China Default 15 GBK 0 model except GBK Reference ESC nL nH Name Setting relative printing position Format ASCII ESC nL nH Hex 1B 5C nH Decimal 27 92 nL nH Range 0 lt nl lt 255 0 lt nH lt 255 Description Sets the lateral relative position based on the current position by using the Horizontal or vertical motion unit This command sets the distance from the current position to n nL nH 256 horizontal motion unit Note Any setting that exceeds the printable area is ignored When printing position moves to right nL nHx256 N 65536 The print starting position moves from the current position to Nxhorizontal motion unit Vertical and horizontal motion units are set by GSP command Horizontal motion units are used under standard mode Under page mode selecting to use horizontal or vertical motion units according to the direction of printing area and zero position The system of selection is as below D Using horizontal shifting when the beginning position is the top left or lower right corner of

Download Pdf Manuals

image

Related Search

Related Contents

Preppy Quick Start Guide  Télécharger - Inventaires  

Copyright © All rights reserved.
Failed to retrieve file