1

I am printing an IReport report with JRPrintServiceExporter. I am using a tomcat server on Ubuntu. Special character like "°" are not well printed, I am getting a "°".
"é" is printed "©" Is there a way to display the good character?

If I preview it on a web browser and then print it, it is well printed, but if i print it directly with java javax.print.PrintService I am getting the accent problem.

Thanks in advance.

user1260928
  • 3,269
  • 9
  • 59
  • 105
  • maybe this can help: http://stackoverflow.com/questions/5093749/ukraine-cyrilic-characters-not-displaying-in-jasper-report-pdf and http://stackoverflow.com/questions/8739811/diacritic-chars-in-a-jasper-report-template, check encoding... – Petter Friberg Nov 02 '15 at 14:22
  • on another ubuntu system, the accents are well printed, maybe it 's a pb with a font not installed on the "failing" Ubuntu or on the java runtime of this ubuntu? – user1260928 Nov 02 '15 at 14:24
  • I can't, i have plenty of accents displayed I can't replace each one of them – user1260928 Nov 02 '15 at 14:28
  • i ll try, but I am confused by the fact that the same war is installed on the two ubuntu, one ubuntu prints well the accents, the other doesn't. – user1260928 Nov 02 '15 at 14:40
  • \u00E9 is printed "\u00E9", not è. – user1260928 Nov 02 '15 at 15:18
  • Could this be due to a different jdk? JDK1.8.0_25 is on the working ubuntu server, and JDK.1.8.0_45 is on the non working ubuntu server. – user1260928 Nov 03 '15 at 08:30

0 Answers0