This post shows that how can we get installed printers list using PrintServiceLookup class
Implementations of this class provide lookup services for print services
Blog about Oracle ADF, JDeveloper, PL/SQL, Java, JavaScript, jQuery and Other Web Technologies
window.print();
/**Method to execute Javascript * @param javascriptCode */ public static void runJavaScriptCode(String javascriptCode) { FacesContext facesCtx = FacesContext.getCurrentInstance(); ExtendedRenderKitService service = Service.getRenderKitService(facesCtx, ExtendedRenderKitService.class); service.addScript(facesCtx, javascriptCode); }