Print to specific printer (IPP URI) in Java

I finally found a way to do this, by using jipsi: URI printerURI = new URI(“ipp://SERVER:631/printers/PRINTER_NAME”); IppPrintService svc = new IppPrintService(printerURI); InputStream stream = new BufferedInputStream(new FileInputStream(“image.epl”)); DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE; Doc myDoc = new SimpleDoc(stream, flavor, null); DocPrintJob job = svc.createPrintJob(); job.print(myDoc, null); I have to admit I’m disappointed at having to use a … Read more