Page 1 of 1

ESC/POS Reference

Posted: Mon Aug 31, 2009 11:24 pm
by Neo
Epson Printers

ESC E (27,69,1 or 0) Emphasized print ON or OFF

ESC SP n (27,32,n) Change spacing on RIGHT side (useful w/ IPSpool)

ESC ! n (27,33,n) Change print style:

n=0 all styles OFF

n=16 double high print

n=32 double width print

n=48 double high & wide print

ESC G (27,74,1 or 0) Double strike printing (1=ON, 0=OFF)

ESC M (27,77,1 or 0) Select font (1=larger, 0=smaller)

GS B (29, 66,1 or 0) Reverse color print (1=reverse, 0=regular)


Star SP Printers

Big print = 14

Regular print = 20

Buzzer = 30

Cut Paper = 27, 100, 49


All Printers - Universal Codes

Extra Line Feed = 10, 13


EPSON ESC/POS Reference
epsoncodes.pdf
(152.76 KiB) Downloaded 1184 times
EPSON TMT85 Thermal Printer Manual (With ESC/POS Reference)
tmt85.pdf
(2.46 MiB) Downloaded 1444 times
See also:
ESC/POS printer source code at https://robot.lk/viewtopic.php?f=39&t=874
ESC/POS Customer Display source code at https://robot.lk/viewtopic.php?f=39&t=875
Point of Sale printer/drwer and Customer Display source code at https://robot.lk/viewtopic.php?f=39&t=876
Barcode printer source code at https://robot.lk/viewtopic.php?f=39&t=877