|
@@ -41,7 +41,7 @@ public class ZplPrinter {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
} else {
|
|
|
- System.out.println("C://ts24.lib文件不存在");
|
|
|
+ System.out.println("ts24.lib文件不存在");
|
|
|
}
|
|
|
//初始化打印机
|
|
|
//AppContext.getAppContext().put(PrintServiceLookup.class.getDeclaredClasses()[0], null);//刷新打印机列表
|
|
@@ -240,7 +240,7 @@ public class ZplPrinter {
|
|
|
}
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
- ZplPrinter p = new ZplPrinter("Designer ZT210-200dpi ZPL");
|
|
|
+ ZplPrinter p = new ZplPrinter("\\192.168.11.247\\ZDesigner ZT210-200dpi ZPL");
|
|
|
p.printBarcode(p, "D21066000101");
|
|
|
|
|
|
}
|