Open mBosamiya opened 8 months ago
Hi @mBosamiya ,
Thanks for reaching out about this. Could I trouble you to share the printer configuration code that you are using to get a better idea what could be happening?
Also, could I trouble to share a picture of your printer if possible. The QL-800 comes in three variations: QL-800, QL-800W and QL-800NWB. I wonder if perhaps you have one of those variations instead.
Thanks in advance,
Thank you for your attention to my inquiry.
Below is the code snippet used to set the printer model in the printerInfo:
printerModel = "QL-800"; // "QL-810W" or "QL-820NWB"
printerInfo.printerModel = Model.getValues().firstWhere((model) => model.getName() == printerModel);
Regarding the printer models, I indeed have three variants: QL-800
, QL-810W
, and QL-820NWB
. The printer model is dynamically loaded using the aforementioned code snippet.
While the printing functionality operates seamlessly with the QL-820NWB
, encountering the ERROR_NOT_SAME_MODEL
when attempting to utilize the QL-800
prompts concern. Additionally, the method call printer.startCommunication()
returns false when using the QL-800
.
Your inquiry about the specific model variant is valid. I can confirm that the printer in question is indeed the QL-800
model. However, I will provide a picture of the printer to ensure clarity regarding its identification.
Thank you once again for your assistance in resolving this matter.
Hi @mBosamiya ,
Thanks for the additional information and the picture of the printer.
I have checked both the doc and the Android sdk and the values seem to be correct for the QL-800, yet the error ERROR_NOT_SAME_MODEL means that when connecting to the printer that value did not match the value that was received from the printer.
If you instead pass any of the other QL-800 models (W or NWB) and try connecting to that same QL-800 does it still fail with the same error as well?
Hi @mBosamiya ,
Someone in the community seemed to have had a similar trouble with connecting to the QL-800 over USB. Seems there is an LED that must be toggled but I am not familiar with the printer.
Here is a link to their post in the hopes that it helps you as well: https://github.com/CodeMinion/another_brother/issues/67#issuecomment-1737875884
Encountered an issue while attempting to connect the Brother Printer QL-800 via USB. Despite successful printing with the QL-820NWB model, received an error code ERROR_NOT_SAME_MODEL when using the QL-800.
Printer Info:
{printerModel: {id: 51, name: QL_800}, port: {id: 1, name: USB}, ipAddress: , macAddress: , localName: , lastConnectedAddress: , paperSize: {id: 254, name: CUSTOM}, orientation: {id: 1, name: PORTRAIT}, numberOfCopies: 1, halftone: {id: 2, name: PATTERNDITHER}, printMode: {id: 2, name: FIT_TO_PAGE}, align: {id: 1, name: LEFT}, valign: {id: 1, name: TOP}, margin: {top: 0, left: 0}, pjCarbon: false, pjDensity: 5, pjFeedMode: {id: 2, name: PJ_FEED_MODE_FIXEDPAGE}, customPaperWidth: 0, customPaperLength: 0, customFeed: 0, rjDensity: 0, rotate180: false, peelMode: false, mirrorPrint: false, paperPosition: {id: 2, name: CENTER}, isAutoCut: true, isCutAtEnd: true, mode9: true, skipStatusCheck: false, checkPrintEnd: {id: 3, name: CPE_CHECK}, rollPrinterCase: {id: 1, name: PJ_ROLLCASE_OFF}, pjSpeed: 2, thresholdingValue: 127, timeout: {processTimeoutSec: -1, sendTimeoutSec: 90, receiveTimeoutSec: 180, closeWaitMSec: 500, connectionWaitMSec: 500, closeWaitDisusingStatusCheckSec: 3}, dashLine: false, savePrnPath: , overwrite: true, isHalfCut: false, isSpecialTape: false, labelNameIndex: 17, customPaper: , binCustomPaper: null, customPaperInfo: null, isLabelEndCut: false, printQuality: {id: 2, name: NORMAL}, labelMargin: 0, scaleValue: 1.0, isCutMark: false, softFocusing: false, trimTapeAfterData: false, enabledTethering: false, rawMode: false, workPath: , pjPaperKind: {id: 2, name: PJ_CUT_PAPER}, useLegacyHalftoneEngine: false, banishMargin: false, useCopyCommandInTemplatePrint: false, labelName: {id: 38, name: W62RB, model: QL700}}}
Error Info:
{"errorCode":{"id":2,"name":"ERROR_NOT_SAME_MODEL"},"labelId":-1,"labelType":-1,"isACConnected":{"id":-1,"name":"Unknown"},"isBatteryMounted":{"id":-1,"name":"Unknown"},"batteryLevel":-1,"batteryResidualQuantityLevel":-1,"maxOfBatteryResidualQuantityLevel":-1}