2 Replies Latest reply on Apr 17, 2017 4:00 AM by Dener de Alencar

    Error in SDK PDF Virtual Print

    Dener de Alencar

      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.