cordova-plugin-printer
cordova-plugin-printer copied to clipboard
Roll printer only prints 5mm height
With the last version of cordova-plugin-printer, no matter what options I chooose I always get a 5mm height cutted paper in Brother QL820-NWB
Debugging the plugin it seems that it ends calling to method bestPaperFromArray, and there is choosen 29mm roll paper and ignoring any width or height that I set up in options.
Please please could you provide with a sample for printing in roll paper?
Thank you!
We are hitting the same issue. Any suggestion on how to debug this? I'm willing to send a PR but I have never developed a Cordova plugin. We are trying to print on iOS.
Having this issue printing to a Brother QL-810. Same results using the sample app.
Seems like 0.8.0 breaks the printing. I used the sample app 0.7.1dev and it printed correctly (almost). At least it's not 5 mm paper. We will try with that version and see if it fully fixes our issue.
I've submitted a PR to fix this (https://github.com/katzer/cordova-plugin-printer/pull/213) on iOS. While the PR is accepted, you can change the affected code in file APPPrinter.m, or can (temporarily!) point to fork https://github.com/Maubic/cordova-plugin-printer
I've submitted a PR to fix this (#213) on iOS. While the PR is accepted, you can change the affected code in file APPPrinter.m, or can (temporarily!) point to fork https://github.com/Maubic/cordova-plugin-printer
Thank you, working now.