Jump to content
We've recently updated our Privacy Statement, available here ×

chalithalawanga

Members
  • Posts

    2
  • Joined

  • Last visited

chalithalawanga's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Im having a similar question like this. Can you please give me an answer? here is the link to my question http://community.jaspersoft.com/questions/845390/error-when-printing-jasper-report-epson-lx-300ii-printer-windows-7-my-java
  2. I created a java application and it is running on windows 7 finely. I created Jasper reports for that software when I try to print a report from Epson lx-300+ii printer letters are printing with out spaces and it is difficult to read.But when I print another document from another software like Microsoft word it prints fine. Picture of the report: Code that I used: public void generateReport() throws PrinterException { try { String sourceFileName = "src/POS_bill/esFourReport.jasper";String printFileName = null;DataBeanFactory2 DataBean = new DataBeanFactory2();JRBeanCollectionDataSource beanColDataSource = new JRBeanCollectionDataSource(DataBean.generateCollection());Map parameters = new HashMap();printFileName = JasperFillManager.fillReportToFile( sourceFileName, parameters, beanColDataSource); if (printFileName != null){ JasperPrintManager.printReport(printFileName, false); }} catch (Exception e) { JOptionPane.showMessageDialog(null,e);} } someone can help me?thank you!
×
×
  • Create New...