修改打印机dpi

master
张萌 3 years ago
parent d90d55179a
commit fe3edb17df

@ -47,7 +47,7 @@ public class PrintAsOrder {
int reusult = 0; int reusult = 0;
System.out.println("print start"); System.out.println("print start");
try { try {
PrinterHelper.printAreaSize("0", "203", "200", "400", "1"); PrinterHelper.printAreaSize("0", "200", "200", "400", "1");
PrinterHelper.Align(PrinterHelper.CENTER); PrinterHelper.Align(PrinterHelper.CENTER);
printBarCode(code); printBarCode(code);
PrinterHelper.Align(PrinterHelper.LEFT); PrinterHelper.Align(PrinterHelper.LEFT);

Loading…
Cancel
Save