Hi.
I'm trying to print a pdf document for the Zebra ZT230-200 printer using the Virtual PDF SDK.
In line execution: ZebraPrinter printer = ZebraPrinterFactory.getInstance (connection); The following error occurs:
Com.zebra.sdk.comm.ConnectionException: Error writing to connection: ZDesigner ZT230-200dpi ZPL
At com.zebra.sdk.comm.DriverPrinterConnection.write (Unknown Source)
At com.zebra.sdk.comm.ConnectionA.write (Unknown Source)
At com.zebra.sdk.comm.ConnectionA.sendAndWaitForValidResponse (Unknown Source)
At com.zebra.sdk.printer.SGD.GET (Unknown Source)
At com.zebra.sdk.printer.SGD.GET (Unknown Source)
At com.zebra.sdk.printer.internal.ZebraPrinterFactoryHelper.getApplNameHocusPocus (Unknown Source)
At com.zebra.sdk.printer.internal.ZebraPrinterFactoryHelper.getLanguage (Unknown Source)
At com.zebra.sdk.printer.internal.ZebraPrinterFactoryHelper.getInstance (Unknown Source)
At com.zebra.sdk.printer.internal.ZebraPrinterFactoryHelper.getInstance (Unknown Source)
At com.zebra.sdk.printer.ZebraPrinterFactory.getInstance (Unknown Source)
At com.denso.printer.SendPDFExample.main (SendPDFExample.java:35)
I ask for help to find out why this error occurs.
Error in SDK PDF Virtual Print |
1 Replies
Hi Dener,
This kind of exception can happen in several circumstances. Have you opened the connection? Is the printer on? Please verify.
Robin