更新 src/android/cordova/plugin/jcprinter/JcPrinter.java
This commit is contained in:
parent
0367ba7be0
commit
97e5d3102a
@ -148,6 +148,7 @@ public class JcPrinter extends CordovaPlugin {
|
|||||||
int pageCount = data.length();
|
int pageCount = data.length();
|
||||||
quantity = 1;
|
quantity = 1;
|
||||||
int totalQuantity = pageCount * quantity;
|
int totalQuantity = pageCount * quantity;
|
||||||
|
|
||||||
//总打印份数,表示所有页面的打印份数之和。例如,如果你有3页需要打印,第一页打印3份,第二页打印2份,第三页打印5份,那么count的值应为10(3+2+5)。
|
//总打印份数,表示所有页面的打印份数之和。例如,如果你有3页需要打印,第一页打印3份,第二页打印2份,第三页打印5份,那么count的值应为10(3+2+5)。
|
||||||
Util.getInstance().setTotalQuantityOfPrints(totalQuantity);
|
Util.getInstance().setTotalQuantityOfPrints(totalQuantity);
|
||||||
printDensity = 8;
|
printDensity = 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user