ESC/POS Reference
Posted: Mon Aug 31, 2009 11:24 pm
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 EPSON TMT85 Thermal Printer Manual (With ESC/POS Reference) 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
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 EPSON TMT85 Thermal Printer Manual (With ESC/POS Reference) 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