pos_universal_printer
library
Classes
-
Align
-
Alignment enum mimic.
-
BlueThermalCompatPrinter
-
Main compatibility facade. Collects commands into an ESC/POS builder
and flushes them when requested (or on cut). Not a full re-implementation
but enough for common migration scenarios.
-
CompatLine
-
Public line descriptor for combined logo+lines API.
-
ConnectionEvent
-
-
CpclBuilder
-
Builder for Zebra‑compatible CPCL commands. Supports simple text,
barcodes, QR codes and bitmaps. Commands are assembled line by
line and encoded in ASCII when build is called.
-
CustomStickerPrinter
-
Utility class untuk mencetak sticker dengan layout yang dapat dikustomisasi
-
EscPosBuilder
-
ESC/POS command builder. Constructs a sequence of bytes representing
commands to a thermal printer. Supports basic formatting, alignment,
bold text, barcode, QR code, raster image and cut.
-
EscPosHelper
-
Helper utilities for ESC/POS commands.
-
Model untuk menu item pada invoice sticker
-
PosUniversalPrinter
-
Public API for pos_universal_printer. Wraps platform channels,
managers and builders to provide a simple high level interface.
-
PrinterDevice
-
Represents a printer discovered via scanning or configured manually.
-
ReceiptItem
-
Represents a line item on the receipt.
-
ReceiptRenderer
-
Utility to render a simple receipt using ESC/POS commands. Supports
paper widths of 58 mm and 80 mm. Automatically wraps item names and
formats amounts in Rupiah.
-
Size
-
Enum copies mimicking the old plugin sizing constants. Internally we map
them to ESC/POS bold & size flags (limited by standard fonts).
-
StickerBarcode
-
Class untuk mendefinisikan barcode pada sticker label
-
StickerText
-
Class untuk mendefinisikan text pada sticker label
-
TsplBuilder
-
Builder for TSC/Argox compatible TSPL commands. Generates simple
commands for labels such as SIZE, GAP, TEXT, BARCODE, QRCODE, BITMAP
and PRINT. Commands are concatenated with newlines and encoded in
ASCII when build is called.
Enums
-
ConnectionKind
-
Public connection event model.
-
ConnectionStatus
-
-
PosAlign
-
Alignment options for ESC/POS printing.
-
PosPrinterRole
-
Roles in a point‑of‑sale system. Each role can be mapped to a specific
printer device so that receipts are routed correctly (e.g. cashier
prints to the receipt printer, kitchen prints orders, sticker prints
labels).
-
PrinterType
-
Types of printers supported by this plugin.
-
StickerWeight
-
Tiga level ketebalan huruf untuk TSPL (dipetakan ke SETBOLD)