CodeMinion / another_brother

Another Brother Flutter SDK
BSD 3-Clause "New" or "Revised" License
21 stars 19 forks source link

ERROR_WRONG_LABEL #59

Closed Andre-Coelhoo closed 1 year ago

Andre-Coelhoo commented 1 year ago

Hello everyone I get this error when trying to print, the papersize has few options. Can anyone help me? Print Result: {isBatteryMounted: {name: Unknown, id: -1}, labelId: -1, maxOfBatteryResidualQuantityLevel: -1, labelType: -1, errorCode: {name: ERROR_WRONG_LABEL, id: -1}, isACConnected: {name: Unknown, id: -1}, batteryLevel: -1, batteryResidualQuantityLevel: -1}

var printer = new Printer(); var printInfo = PrinterInfo(); printInfo.printerModel = Model.QL_820NWB; printInfo.printMode = PrintMode.FIT_TO_PAGE; printInfo.isAutoCut = true; printInfo.port = Port.NET; // Set the label type. printInfo.paperSize = PaperSize.CUSTOM;

CodeMinion commented 1 year ago

Hi @Andre-Coelhoo ,

Thanks for reaching out about this. This looks to be an exact duplicate of your other report https://github.com/CodeMinion/another_brother/issues/58 so I am going to close this so we can keep the conversation in one place.

Thanks again for reaching out about this.