Error in SDK PDF Virtual Print

D Dener de Alencar 3 years 7 months ago
31 1 0

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.

Please Register or Login to post a reply

1 Replies

E Efkan YILMAZ

Hi Dener,
This kind of exception can happen in several circumstances.  Have you opened the connection?  Is the printer on?  Please verify.
Robin

CONTACT
Can’t find what you’re looking for?