title: How to print Zebra byte array to a printer?
body: <p>I programmed in Java to send byte array (Zebra type) to a printer to print. I want to have the printer dialog pop up. I googled and see people using <code>printerjob</code>, but I never see how the byte array data being sent cause they just have <code>printerjob.print();</code> . </p>
  
  <p>I also tried to use <code>PrintService[] services = PrintServiceLookup.lookupPrintServices(DocFlavor.SERVICE_FORMATTED.PRINTABLE, null);</code>
   to get printer to print, but it didn't return any printserivce to me when I debug in Intellij (I have networked printer).</p>
  
  <p>Right now, I would like to have the printerjob (1st way) to print my byte array if I can. Otherwise, can some one also point out why 2nd way didn't give me any printservice and how to fix it?  </p>
  
  <p>Either way will be great to me. Thanks in advance</p>