ZQ520 and printing by Java


I have Zebra ZQ520 printer and I use your Java API for printing the barcodes on the Windows OS. Java program works fine and I get the barcodes out from the printer. But it takes about 20 seconds to do that even printers is on (not in standby mode). My question is that how fast is possible to print one print? My point of view is that 20 seconds is too long. 

E.g. this line of code takes about 10 seconds

com.zebra.sdk.printer.ZebraPrinter printer = com.zebra.sdk.printer.ZebraPrinterFactory.getInstance(printerConnection);

And this code line takes rest of times


Do you have any tips how one print could be faster to print?