Click here to Skip to main content
15,887,886 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm developing a project using java and it allows user to print an invoice through the software. I used jasper report to generate the report and used the JAVA code to print. With my laptop which i use for development the print out was correct and printed properly (printer was EPSON LX-300+II and OS is Windows 8.1). But when i used complied jar file in another computer (Desktop with windows 7 and same printer) print out is not correct. The text are unreadable and and they are stick each other as in below link.

https://drive.google.com/open?id=0B93qF88FNIiwNXpwVHdTb3VSOGs[^]

Both computers have properly installed the printer driver and only different is OS version.

All the problems are in windows 7 PC and in Windows 8 laptop printout was Correct(clear). What is the problem here and can anyone help for this issue?

Thank you.

What I have tried:

Change font to Arial - but the problem is same
print through jasper viewer - same
exported report to PDF and word document and printed - this was OK but for the requirement I need printout through java
Use .jrxml file and .jasper file - but problem is same
Posted
Updated 2-Jul-17 8:36am
v3
Comments
PIEBALDconsult 2-Jul-17 13:49pm    
Might need to provide a link that doesn't ask the user to log into Google.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900