api/printer library
Classes
- LddCommand
- LddCommand_Bitmap
- LddCommand_BoldOff
- LddCommand_BoldOn
- LddCommand_Cut
- LddCommand_NoLine
- LddCommand_PrintModeDefault
- LddCommand_Reset
- LddCommand_ResetLine
- LddCommand_SelectCharset
- LddCommand_SelectCodeTable
- LddCommand_SelectFont
- LddCommand_Underline1Dot
- LddCommand_Underline2Dot
- LddCommand_UnderlineOff
- Printer
Enums
Functions
-
connectToPrinter(
{required int vendorId, required int productId}) → Printer - 连接到打印机
-
printerRawData(
{required Printer printer, required List< int> rawData}) → void - 打印原始数据
-
printerSimpleText(
{required Printer printer, required String text}) → void - 打印简单的文本
-
runPrinterLddCommand(
{required Printer printer, required LddCommand lddCommand}) → void - 打印指令