ntbp_plugin library

Classes

BluetoothDevice
ESCPOSProtocol
ESC/POS Protocol Implementation for Romeson KT58L This service FORCES TSPL commands on ESC/POS printers for better compatibility We adapt TSPL commands to work with the device's paper dimensions and capabilities
MethodChannelNtbpPlugin
An implementation of NtbpPluginPlatform that uses method channels.
NtbpPlugin
NtbpPluginPlatform
PrintCommand
PrinterFactory
Factory class for creating printer protocol instances Automatically selects the best protocol based on printer model For ESC/POS printers, we force TSPL commands for better compatibility
PrinterProtocol
Abstract interface for printer protocols This allows the plugin to support multiple printer types (TSPL, ESC/POS, etc.)
ProtocolManager
Protocol Manager that integrates the scalable architecture with the existing plugin This class acts as a bridge between the old plugin methods and new protocol system
TSPLProtocol
TSPL (Thermal Script Programming Language) Protocol Implementation This service handles TSPL commands for printers like N41