I have to hook up a thermal printer to my java app. I want to know how to print without print manager. I have come so far
JasperDesign jspDesign = JRXmlLoader.load(reportSource);
JasperReport jspReport = JasperCompileManager.compileReport(jspDesign);
JasperPrint jspPrint = JasperFillManager.fillReport(jspReport, params, datasource);
JRExporter exporter = new JRPrintServiceExporter();
JasperPrintManager.printReport(jspPrint, true);
I want to cut the "JasperPrintManager" and print after click the button. Anybody knows how to do this?