What is ESC/POS?
ESC/POS Instruction system is a set of proprietary POS printer instruction system invented by EPSON. Most thermal printers on the market are compatible with ESC/POS system instructions.
In short, our common thermal receipt printers all support such a command, as long as the format of the instruction sent to the printer, even the printer of different models and brands will perform the same action. For example, there are corresponding instructions for printing a line of text, wrapping, bolding, etc.
ESC/POS Bluetooth Printing Service: ESC/POS Bluetooth Printing service supports Android 5.0 and above. You do not need additional code to connect and print your Bluetooth thermal receipt printer. The service can be called by any APP program that needs printing function through the print menu. The Settings of APP provide a mechanism to select a printer, set the size of the printer, select the appropriate type of printer, and disconnect the printer after printing. You can also test the printer of your choice.
The ESC/POS Bluetooth Printing service can print directly from any Web page to the Bluetooth Thermal Receipt printer, which can print text and images from the device to the Bluetooth Thermal information Receipt printer. It supports most of the bluetooth thermal note printers on the market and most of the universal Bluetooth printers that can print graphics. There are also many custom print options available.
For example, Datamega's smart Android POS device, Universal Bluetooth printer, Epson, Samsung Bixolon and others all support ESC/POS.
The ESC/POS service agreement can be invoked in five ways:
1. Print through a Web browser: This application will respond to a print request from a Web browser or other Application that supports Android printing, simply browse to the page you want to print, and then select the Print menu.The ESC/POS Bluetooth text printing service will be listed and selected to print web pages on the printer.
2. Print through APP link in Web browser: VERSION 2.1.6 of ESC/POS BT Print service supports APP link.This allows you to print pages directly, skipping the print preview.This feature is most useful when you want to print directly from your Web application without leaving it.
3. Through image sharing menu printing: share the menu, the program will be how to deal with any text from a web browser, file manager, or any other application support image sharing menu, select the image you need to print, the use of stock options, ESC/POS bluetooth image printing service will be listed, select it in the printer to print the image.
4. Print through Text Sharing menu: How this program will respond to any text sharing menu, from web browser or other programs to support text sharing menu, select the text you need to print, click the Share option,ESC/POS Bluetooth Text printing service will be available, select the printer to print text.
5. Print with custom Print Sharing intent: If you have your own application and need to print to a hot receipt printer without writing too much code, then this is the printing service for you.What is listed below is sending the print intent to the ESC POS print service.
Initializing printer
command
illustrate
This instruction will clear the data in the print buffer, but the data in the receive buffer will not be cleared, and is usually called when printing begins.
code
text-align
instruct
Parameter meaning
n | type alignment |
---|---|
0, 48 | text-align left |
1, 49 | text-align center |
2, 50 | text-align right |
Code
font bold
instruct
Parameter meaning
n | effect |
---|---|
0 | Cancel the bold |
8 | bold |
Code
Font double height and width:
instruct
Parameter meaning
n | effect |
---|---|
0 | normal |
16 | Double high |
32 | Double wide |
paper feed:
Instruct:
Parameter meaning:
0<=n<=255
Description
Print the data in the buffer and move n lines of paper forward
Xiamen Datamega Technology Co., Ltd. launched several best-selling Android POS Terminal, fully supporting ESC/POS protocol, for example smart-Mini, Smart-Cube, Smart-one, Smart-till, etc. Follow the following links to learn more about Android ESC/POS related products.
Datamega Products
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Smart P2 is compact size portable printer, it can be used with phone, tablet as printer to support receipt printing.
Latest Android 11 POS SMART O11 with 6.5inch Touch screen, NFC reader, camera, 4G/3G/2G/BT/WIFI, specially it has 2SIM design and 1 SAM card slot.
Lk2Biz is an all-in-one retail data analysis tool that offers powerful featuresand benefits to help you unlock the full potential of your business. Whether you're a small retailer or a large chain, Lk2Biz offers a comprehensive suite of tools to help you make data-driven decisions.
The SDC Fis-BOX/Fis-Control/Fis-BOX PLUS can monitor, record, and sign all transactions for businesses with multiple sales locations, with a multi-user feature and secure storage. Ensure compliance with related laws and satisfy stakeholders with the SDC.
Keep your business running smoothly with MDM solutions that help you manage and secure mobile devices across your enterprise. Remotely manage devices, upgrade device software remotely and provide remote technical support.
Retail POS solution EazSell makes inventory management, checkout, and customer tracking a breeze. With its sleek design and powerful features, it's the ultimate tool for streamlining your operations and building customer loyalty.
Android POS Smart-CASH is specially designed for restaurants and medium stores as checkout system. Electronic invoicing POS machine Smart-CASH is able to work with peripherals of cash drawer, scale, scanner, and EFTPOS ,etc as whole POS system for customers.
New PSAM android POS will be used for more industries of mobile payment, retail sales management, ticket printing, packing management and so on.