Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
5f912f077c
1 changed files with 0 additions and 7 deletions
|
@ -111,13 +111,6 @@ public class PrintUtility {
|
||||||
PrintService service = PrintServiceLookup.lookupDefaultPrintService();
|
PrintService service = PrintServiceLookup.lookupDefaultPrintService();
|
||||||
printer = createPrinter(service);
|
printer = createPrinter(service);
|
||||||
}
|
}
|
||||||
/*if (printer != null) {
|
|
||||||
printer.setCopies(1);
|
|
||||||
printer.setCollate(false);
|
|
||||||
printer.setDuplex(Printer.DUPLEX_SIMPLEX);
|
|
||||||
printer.setMode(Printer.STATUS_ACCEPTING_JOBS);
|
|
||||||
printer.setMediaSize("A4");
|
|
||||||
}*/
|
|
||||||
return printer;
|
return printer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue