USBPrinterManager constructor
USBPrinterManager(
- POSPrinter printer,
- dynamic paperSize,
- dynamic profile, {
- int spaceBetweenRows = 5,
- int port = 9100,
Implementation
USBPrinterManager(
POSPrinter printer,
PaperSize paperSize,
CapabilityProfile profile, {
int spaceBetweenRows = 5,
int port: 9100,
}) {
super.printer = printer;
super.address = printer.address;
super.productId = printer.productId;
super.deviceId = printer.deviceId;
super.vendorId = printer.vendorId;
super.paperSize = paperSize;
super.profile = profile;
super.spaceBetweenRows = spaceBetweenRows;
super.port = port;
generator =
Generator(paperSize, profile, spaceBetweenRows: spaceBetweenRows);
}