-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Printing failed #20
Comments
QL-1110NWB seems not supported at the moment |
i have tried to fix this issue, but no idea, |
what if i use the other model like epson ? |
Support for QL-1110NWB was added to the SDK in v3.1.5, per the SDK release notes here: The SDK framework currently included with this plugin is v3.1.1, per the info.plist file inside the framework: So, you need to update the SDK if you require support for the QL-1110NWB printer. You may download the latest SDK here: NOTE: Beginning with SDK 3.1.10 and later, the framework is now a Dynamic library, which requires it to be "embedded" in the application. And, no, you will not be able to use this plugin with any non-Brother printer model, at least when using the image printing method. |
hi @robr2112 how to update the new SDK to this plugin ? |
Replace the BRPtouchPrinterKit.framework in src/ios/lib folder with the latest download version. The SDK APIs are mostly the same so it shouldn’t require much (if any) modification to the rest of the plugin, though I’m not certain of that(as I’m not expert with this plugin). The new SDK should recognize the QL-1110NWB printer model name. The biggest challenge may be to change the plugin project settings to “embed” the framework (as I mentioned last time). I’m not sure how to do that in Cordova, ie outside of Xcode. But this should be a simple change. Hopefully this gets you moving forward. |
hi @robr2112 thank u very much for your suggest . finally its works |
@robr2112 , would it be possible you submit a pull request for the framework upgrade? |
@arcadius , I'm not sure why you would need me to do a pull request? Can't you just download the latest SDK and integrate it? (of course, beware the new dynamic framework requires embedding, as mentioned already in this thread). The SDKs (both iOS and Android) update somewhat regularly, so IMO it's a good idea to check these updates once in a while. |
Issuue was confirmed resolved in #20 (comment) |
hi
I am getting following error after calling printViaSDK.
Error: "Unexpected Internal System Error: IllegalArgumentException"
using printer brother QL-1110NWB
this is my code
let image = "isbase64Image"; //sample actually use base64
cordova.plugins.brotherPrinter.printViaSDK(image, function (printResult) {
//var printResult = callback;
console.log(printResult);
},function (err){
console.log(err);
});
Thank you. please help
The text was updated successfully, but these errors were encountered: