Example: stock market

Line Thermal Printer ESC/POS Mode Command Specifications

ESC/POS Command SpecificationsLine Thermal PrinterESC/POS ModeCommand SpecificationsRevision Micronics Co., Ltd. Special Products Division ESC/POS Command SpecificationsContents 1. INTERFACE CONFIGURATION 1-11-1 RS-232 Serial Interface 1-11-1-1 Specifications (Conforming to RS-232) 1-11-1-2 Switching Between Online and Offline 1-11-1-3 Signal Array and Explanations According to Interface Connector Pin 1-21-1-4 Timing for Transmitting XON/XOFF 1-31-1-5 Serial Interface Connection Example 1-31-1-6 Precautions When Switching the BUSY Conditions 1-41-1-7 Notes on resetting the Printer using the interface 1-51-2 Bi-directional Parallel Interface (IEEE1284) 1-61-2-1 Compatibility Mode (Host Printer Communications.)

ESC/POS Command Specifications 2 Rev.2.52 Contents 1. INTERFACE CONFIGURATION 9 1-1 RS-232 Serial Interface 9 1-1-1 Specifications (Conforming to RS-232) 9 1-1-2 Switching Between Online and Offline 9 1-1-3 Signal Array and Explanations According to Interface Connector Pin 10 1-1-4 Timing for Transmitting XON/XOFF 11

Tags:

  Dome, Specification, Command, Esc pos mode command specifications

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Line Thermal Printer ESC/POS Mode Command Specifications

1 ESC/POS Command SpecificationsLine Thermal PrinterESC/POS ModeCommand SpecificationsRevision Micronics Co., Ltd. Special Products Division ESC/POS Command SpecificationsContents 1. INTERFACE CONFIGURATION 1-11-1 RS-232 Serial Interface 1-11-1-1 Specifications (Conforming to RS-232) 1-11-1-2 Switching Between Online and Offline 1-11-1-3 Signal Array and Explanations According to Interface Connector Pin 1-21-1-4 Timing for Transmitting XON/XOFF 1-31-1-5 Serial Interface Connection Example 1-31-1-6 Precautions When Switching the BUSY Conditions 1-41-1-7 Notes on resetting the Printer using the interface 1-51-2 Bi-directional Parallel Interface (IEEE1284) 1-61-2-1 Compatibility Mode (Host Printer Communications.)

2 Conforms to Centronix) 1-61-2-2 Reverse Mode ( Printer to Host Communications) 1-61-2-3 Interface Connector Pin Arrangement for Each Mode 1-71-2-4 Data Reception Timing (Compatibility Mode) 1-81-2-5 Precautions When Resetting the Printer Using the Interface 1-91-2-6 Receiving Status from the Printer Using a Bidirectional Parallel Interface 1-91-3 USB Interface 1-101-4 Ethernet Interface 1-101-5 Wireless LAN Interface 1-101-6 Powered USB 1-101-7 Bluetooth Interface 1-102 EXPLANATION OF THE PAGE MODE 2-12-1 General Description 2-12-2 Settings Using Commands in Standard Mode and Page Mode 2-12-3 Expanding Print Data to the Print Region 2-23.

3 Command FUNCTION LIST 3-14. Command DETAILS 4-14-1 Explanation of Terms 4-14-2 Exception Processing 4-34-3 Command Details 4-44-3-1 Standard Commands 4-4HT 4-4LF 4-5FF 4-6CR 4-7 CAN 4-8 DLE EOT n 4-9 DLE ENQ n 4-10 DLE DC4 n m t 4-11 ESC FF 4-12 ESC SP n 4-13 ESC ! n 4-14 ESC $ nL nH 4-15 ESC % n 4-16 ESC& yc1c2 [ (y x x1) ] .. [ (yxax)] 4-17 ESC * m nL nH 4-20 ESC - n 4-22 ESC 2 4-23 ESC 3 n 4-24 ESC = n 4-25 ESC ? n 4-26 ESC @ 4-27 ESC D n1 .. nk NUL 4-28 ESC E n 4-29 ESC/POS Command SpecificationsESC G n 4-30 ESC J n 4-31 ESC L 4-32 ESC M n 4-33 ESC R n 4-34 ESC S 4-35 ESC T n 4-36 ESC V n 4-37 ESC W xL xH yL yH dxL dxH dyL dyH 4-38 ESC \ nL nH 4-40 ESC a n 4-41 ESC c 3 n 4-42 ESC c 4 n 4-43 ESC c 5 n 4-44 ESC d n 4-45 ESC p m t1 t2 4-46 ESC t n 4-47 ESC { n 4-48FS g 1 m a1 a2 a3 a4 nL nH d1.}

4 Dk 4-49FS g 2 m a1 a2 a3 a4 nL nH 4-51FS p n m 4-53FS q n [xL xH yL yH ] [xL xH yL yH ] n 4-54GS ! n 4-57GS $ nL nH 4-59GS * xy d1 .. d (xX yX 8) 4-60<Function 49> GS ( K pL pH fn m (Fn=49) 4-63<Function 50> GS ( K pL pH fn m (Fn=50) 4-65GS ( L pL pH m fn [parameter] 4-66GS 8 L p1 p2 p3 p4 m fn [parameter] 4-66<Function 48> GS ( L pL pH m fn (fn=48) 4-67<Function 48> GS 8 L p1 p2 p3 p4 m fn (fn=48) 4-67<Function 51> GS ( L pL pH m fn (fn=51) 4-68<Function 51> GS 8 L p1 p2 p3 p4 m fn (fn=51) 4-68<Function 64> GS ( L pL pH m fn d1 d2 (fn=64) 4-69<Function 64> GS 8 L p1 p2 p3 p4 m fn d1 d2 (fn=64) 4-69<Function 65> GS ( L pL pH m fn d1 d2 d3 (fn=65) 4-70<Function 65> GS 8 L p1 p2 p3 p4 m fn d1 d2 d3 (fn=65))))))))

5 4-70<Function 66> GS ( L pL pH m fn kc1 kc2 (fn=66) 4-71<Function 66> GS 8 L p1 p2 p3 p4 m fn kc1 kc2 (fn=66) 4-71<Function 67> GS ( L pL pH m fn a kc1 kc2 b xL xH y L yH [c d1 .. dk] 1 .. [c d1 .. dk] b (fn=67) 4-72<Function 67> GS 8 L p1 p2 p3 p4 m fn a kc1 kc2 b xL xH y L yH [c d1 .. dk] 1 .. [c d1 .. dk] b (fn=67) 4-72<Function 69> GS ( L pL pH m fn kc1 kc2 x y (fn=69) 4-74<Function 66> GS 8 L p1 p2 p3 p4 m fn kc1 kc2 x y (fn=69) 4-74<Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH (fn=112) 4-76<Function 112> GS 8 L p1 p2 p3 p4 m fn a bx by c xL xH yL yH (fn=112) 4-76GS ( N pL pH n m 4-77GS ( k pL pH cn fn [parameter] 4-78<Function 065> GS ( k pL pH m cn n (cn=48, fn=65) 4-79<Function 066> GS ( k pL pH m cn n (cn=48, fn=66) 4-80<Function 067> GS ( k pL pH cn fn n (cn=48, fn=67) 4-81<Function 068> GS ( k pL pH cn fn n (cn=48, fn=68)))))))))))

6 4-81<Function 069> GS ( k pL pH cn fn m n (cn=48, fn=69) 4-82<Function 70> GS ( k pL pH cn fn m (cn=48, fn=70) 4-83<Function 080> GS ( k pL pH cn fn m (cn=48, fn=80) 4-83<Function 081> GS ( k pL pH cn fn m (cn=48, fn=81) 4-84<Function 082> GS ( k pL pH cn fn m (cn=48, fn=82) 4-85<Function 165> GS ( k pL pH cn fn n1 n2 (cn=49, fn=65) 4-86<Function 167> GS ( k pL pH cn fn n (cn=49, fn=67) 4-86<Function 169> GS ( k pL pH cn fn m n (cn=49, fn=69) 4-87<Function 180> GS ( k pL pH cn fn m n (cn=49, fn=80) 4-87 ESC/POS Command Specifications <Function 181> GS ( k pL pH cn fn m (cn=49, fn=81) 4-88<Function 182> GS ( k pL pH cn fn m (cn=49, fn=82) 4-88<Function 367> GS ( k pL pH cn fn n (cn=51, fn=67) 4-89<Function 371> GS ( k pL pH cn fn nL nH (cn=51, fn=71) 4-89<Function 380> GS ( k pL pH cn fn m n (cn=51, fn=80) 4-90<Function 381> GS ( k pL pH cn fn m (cn=51, fn=81) 4-91<Function 467> GS ( k pL pH cn fn n (cn=52, fn=67) 4-92<Function 471> GS ( k pL pH cn fn nL nH (cn=52, fn=71) 4-92<Function 472> GS ( k pL pH cn fn n (cn=52, fn=72)))))))))))))))))))

7 4-93<Function 480> GS ( k pL pH cn fn m a b (cn=52, fn=80) 4-94<Function 481> GS ( k pL pH cn fn m (cn=52, fn=81) 4-96GS / m 4-97GS: 4-98GS B n 4-99GS C 0 n m 4-100GS C 1 aL aH bL bH n r 4-101GS C 2 nL nH 4-102GS C ; sa; sb; sn; sr; sc; 4-103GS E n 4-104GS H n 4-105GS I n 4-106GS L nL nH 4-108GS P x y 4-109 GS T n 4-111GS V m 4-112GS V m n 4-113GS W nL nH 4-114GS \ nL nH 4-115GS ^ r t m 4-116GS b n 4-117GS c 4-118GS f n 4-119GS h n 4-1201. GS k m d1 .. dk NUL, GS k m n d1 .. dk 4-121GS r n 4-128GS v 0 m xL xH yL yH d1 .. dk 4-129GS w n 4-1314-3-2 Chinese Character Control Commands 4-132FS !))

8 N 4-132FS & 4-133FS n 4-135FS . 4-136FS 2 c1 c2 d1 .. dk 4-137FS C n 4-139FS S n1 n2 4-140FS W n 4-1414-3-3 ESC/POS Black Mark Commands 4-142FF 4-143 DLE ENQ n 4-144GS FF 4-145GS ( F pL pH a m nL nH 4-146GS ( M pL pH n m (Function Code: n = 1, 49) 4-147GS ( M pL pH n m (Function Code: n = 2, 50) 4-148GS ( M pL pH n m (Function Code: n = 3, 51) 4-149GS < 4-150GS V m n 4-1514-3-4 STAR Original Commands 4-152 ESC GS = nL nH da1 .. dak db1 ..dbk 4-152 ESC GS t n 4-153 ESC GS # m N n1 n2 n3 n4 LF NUL 4-155 ESC/POS Command SpecificationsESC RS F n 4-157 ESC RS C n 4-158 ESC RS L m 4-159 ESC GS ETX s n1 n2 4-1604-3-5 STAR Original Presenter Control Commands 4-164 ESC SYN 0 n 4-164 ESC SYN 1 n 4-165 ESC SYN 3 n 4-166 ESC SYN 4 n 4-167 ESC GS SUB DC1 m t1 t2 4-168 ESC GS SUB DC2 m t1 t2 4-169 ESC GS SUB DC3 m t1 t2 4-1704-3-6 STAR Original Mark Commands 4-171 ESC GS * 0 n m1 m2 m3.))))

9 Mk 4-172 ESC GS * 1 h v 4-173 ESC GS * 2 m c w 4-174 ESC GS * W 4-175 ESC GS * C 4-1754-3-7 STAR Original Auto Logo Commands 4-176 ESC GS / W 4-179 ESC GS / C 4-180 ESC GS / 1 n 4-181 ESC GS / 2 n 4-182 ESC GS / 3 nL nH d1 d2 .. dk 4-183 ESC GS / 4 nL nH d1 d2 .. dk 4-184 ESC GS / 5 n 4-185 ESC GS / 6 n 4-1864-3-8 STAR Original Buzzer Commands 4-187 ESC GS BEL m t1 t2 4-187 ESC GS EM DC1 m n1 n2 4-188 ESC GS EM DC2 m n1 n2 4-1894-3-9 Two-dimensional Bar Code 2D Code PDF417 Command Details 4-190 ESC GS x S 0 n p1 p2 4-193 ESC GS x S 1 n 4-193 ESC GS x S 2 n 4-194 ESC GS x S 3 n 4-195 ESC GS x D nL nH d1 d2.

10 Dk 4-195 ESC GS x P 4-196 ESC GS x I 4-1974-3-10 STAR Original Print Starting Trigger Control Commands 4-198 ESC GS g 0 m n 4-198 ESC GS g 1 m n 4-1984-3-11 STAR Original 2-Dimensional Bar Code QR Code Command Details 4-199 ESC GS y S 0 n 4-201 ESC GS y S 1 n 4-201 ESC GS y S 2 n 4-201 ESC GS y D 1 m nL nH d1 d2 .. dk 4-202 ESC GS y D 2 a m1 n1L n1H d11 d12 d1k m2 n2L n2H d21 d22 d2k ml dlk 4-203 ESC GS y P 4-205 ESC GS y I 4-2054-3-12 STAR Original Page Function Commands 4-206 ESC GS h 0 k m n 4-206 ESC GS h 1 k m n 4-2074-3-13 Star Original Reduced Printing Function Command 4-209 ESC GS c h v 4-2094-3-14 STAR Original Text Search Commands 4-210 ESC GS ) B pL pH fn [parameter] 4-210<Function 48> ESC GS ) B pL pH fn m (fn = 48) 4-212<Function 49> ESC GS ) B pL pH fn m (fn = 49) 4-213<Function 50> ESC GS ) B pL pH fn m (fn = 50)


Related search queries