0

am creating a high school management system with java. I have a function where am supposed to print student report cards. I decided to put the contents to a JPanel and print the JPanel.The problem am having is that if a print to file i get the Jpanel the way it appears on the screen but if I print to the printer i get a blown out image.Below are the blown out print and the print from a fileblown out print

print out from file(i.e from XPS Viewr)

by the way am using a hp 2515 deskjet from testing purposes

Francis
  • 573
  • 1
  • 5
  • 16

1 Answers1

0

You can take a look for RenderingHints and other thing is Font mismatching. Your frame font is something different and printer Font different.

Sumit Singh
  • 24,095
  • 8
  • 74
  • 100