Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

package com.codename1.pos

Point-of-sale peripherals: ESC/POS receipt printers and the cash drawer they drive, customer pole displays and serial barcode scanners, over the byte links of com.codename1.io.link.

Types

class CustomerDisplayA customer-facing pole display with the Epson DM-D (ESC/POS) command set, two lines of 20 characters by default, as most VFD and LCD pole displays accept.
class EscPosPrinterA receipt printer that speaks ESC/POS – Epson, Star in ESC/POS mode, Bixolon, Xprinter and most thermal printers – over the network (port 9100), a serial line or USB.
class LinkScannerA barcode scanner that sends each code as a line over a serial port, USB serial or TCP.