diff --git a/src/android/cordova/plugin/jcprinter/JcPrinter.java b/src/android/cordova/plugin/jcprinter/JcPrinter.java index bfb7e77..f0f9f97 100644 --- a/src/android/cordova/plugin/jcprinter/JcPrinter.java +++ b/src/android/cordova/plugin/jcprinter/JcPrinter.java @@ -148,6 +148,7 @@ public class JcPrinter extends CordovaPlugin { int pageCount = data.length(); quantity = 1; int totalQuantity = pageCount * quantity; + //总打印份数,表示所有页面的打印份数之和。例如,如果你有3页需要打印,第一页打印3份,第二页打印2份,第三页打印5份,那么count的值应为10(3+2+5)。 Util.getInstance().setTotalQuantityOfPrints(totalQuantity); printDensity = 8;