记得上下班打卡 | git大法好,push需谨慎

Commit d703e2cf authored by jiangxiulong's avatar jiangxiulong

test

parent b491603e
...@@ -142,9 +142,9 @@ public class CodeUtil { ...@@ -142,9 +142,9 @@ public class CodeUtil {
PrintService ps = PrintServiceLookup.lookupDefaultPrintService(); PrintService ps = PrintServiceLookup.lookupDefaultPrintService();
if (ps == null) { if (ps == null) {
System.out.println("ERROR-01: no default print service"); logger.error("ERROR-01: no default print service");
} }
System.out.println("Printer: " + ps.getName()); logger.error("Printer: " + ps.getName());
PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet(); PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
pras.add(OrientationRequested.PORTRAIT); pras.add(OrientationRequested.PORTRAIT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment