79487842

Date: 2025-03-05 22:44:57
Score: 0.5
Natty:
Report link

Hi Guys I figured it by

labelNameIndex: QL700.ordinalFromID(16),

16 is for W62

I had to import this:

import 'package:another_brother/label_info.dart';

Rest of code:

  Future<bool> setPrinterInfo(PrinterInfo printerInfo) async {
mPrinterInfo = printerInfo;
mPrinterInfo._labelName = QL700.W62RB;
print(printerInfo._labelName);
return true;

}

  final _printer = Printer();
  final _printInfo = PrinterInfo(
printerModel: Model.QL_810W,
printMode: PrintMode.FIT_TO_PAPER,
isAutoCut: true,
port: Port.NET,
paperSize: PaperSize.CUSTOM,
labelNameIndex: QL700.ordinalFromID(16),
// customPaperWidth: 62,
// customPaperInfo: CustomPaperI1nfo.newCustomRollPaper(Model.QL_810W, Unit.Mm, 62, 0.0, 0.0, 0.0),
 );
Reasons:
  • RegEx Blacklisted phrase (1): Hi Guys
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Haashir-Shakeel