setPrinterInfo method
Set PrinterInfo object to specify the printer and print settings.
Implementation
Future<bool> setPrinterInfo(PrinterInfo printerInfo) async {
mPrinterInfo = printerInfo;
mPrinterInfo._labelName = mPrinterInfo.printerModel.getLabelName(mPrinterInfo.labelNameIndex);
return true;
}