dart_escpos_printer

Creator: coderz1093

Last updated:

0 purchases

dart_escpos_printer Image
dart_escpos_printer Images

Languages

Categories

Add to Cart

Description:

dart escpos printer

init #
void main(){
initDartEscposLibaraySo();
}
copied to clipboard
Api #
///连接到打印机
Future<Printer> connectToPrinter(
{required int vendorId, required int productId}) =>
RustLib.instance.api.crateApiPrinterConnectToPrinter(
vendorId: vendorId, productId: productId);
copied to clipboard
///打印简单的文本
Future<bool> printerSimpleText(
{required Printer printer, required String text}) =>
RustLib.instance.api
.crateApiPrinterPrinterSimpleText(printer: printer, text: text);
copied to clipboard
///打印原始数据
Future<bool> printerRawData(
{required Printer printer, required List<int> rawData}) =>
RustLib.instance.api
.crateApiPrinterPrinterRawData(printer: printer, rawData: rawData);

copied to clipboard


copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.