iOS 10打印预览导致打印中断

时间:2017-03-03 06:39:02

标签: ios cordova printing ios10 print-preview

我使用 Cordova 6.5.0 为iPad构建应用。该应用程序通过Brother QL 720NW打印机打印员工徽章。我看到了印刷品的一些问题。我正在使用Cordova's printer plugin

当我开始打印时,将打开打印预览,显示正确的打印预览:

enter image description here enter image description here

但是当它检测到打印机时,整个打印预览分为3页(打印纸也是如此)

enter image description here

如果我在打印命令中传递printerId或打印机IP,也会发生同样的事情。

请注意这仅在重新启动iPad或模拟器然后打印时才有效。它以某种方式显示打印预览几秒钟(我想直到它没有检测到打印机),然后自动打印它。不确定打印预览会发生什么。

任何帮助将不胜感激!

0 个答案:

没有答案