Blurred printouts

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
wwwclaes
Posts: 7
Joined: Mon Feb 09, 2004 3:58 pm

Blurred printouts

Post by wwwclaes » Wed Jul 27, 2005 12:32 pm

Hi, we've been using JFreeChart for quite some time and recently come up with this peculiar problem. In a nutshell: when printing from some of the customer's PCs the JFreeChart-part of the JFrame that is being printed is blurred, the rest of the frame is crystal clear as always. The white background of the chart is shaded grey, axes and curves and text are inverted or with a strange shade - almost like some xor-phenomenon. We've been using b/w-printers, but I _think_ the customer mentioned it ocurring on color printers as well.

I've tried it on location with my laptop and of course :-S it works from my computer but not from some of the ones connected to the same printer. The Java environment is exactly the same, as is our software as well as the printer driver. And it's only the JFreeChart thas is blurred, hence this post.

I believe the problems started when we upgraded our software, which included upgrading the JFreeChart-package, as well as our printing routine (we're just using printComponents on a JFrame so I can't see that being part of the problem). Though it's way too much code to post here, so I just wanted to know if anyone came upon something similar?

As a clue, I've printed to file both from one of the PCs that gets blurred and from my "identical" machine that works. I don't know much about printing technical details but the prefix of the print file is:

Code: Select all

%-12345X@PJL JOB NAME="Java Printing"
@PJL COMMENT "2200 Series (PCL 5e)Version  4.2.1.0 Dev. Vers. (Win2k)"
@PJL COMMENT "Username: claes"
@PJL SET JOBATTR="JobAcct1=claes"
@PJL SET JOBATTR="JobAcct2=WWWHOME"
@PJL SET JOBATTR="JobAcct4=20050713155715"
@PJL SET RET=ON
@PJL SET DUPLEX=OFF
@PJL SET ECONOMODE=OFF
@PJL SET OUTBIN=UPPER
@PJL SET FINISH=NONE
@PJL SET PAGEPROTECT=AUTO
@PJL SET PAPER=LETTER
@PJL SET TRAY3TEMP=NORMAL
@PJL SET TRAY2TEMP=NORMAL
@PJL SET TRAY1TEMP=NORMAL
@PJL SET MPTRAYTEMP=NORMAL
@PJL SET HOLD=OFF
@PJL SET RESOLUTION=600
@PJL SET BITSPERPIXEL=1
@PJL ENTER LANGUAGE=PCL
...
They're both similar, with the exception of names of users and machines and that the blurry printout used A4. Then the following binary data is completely different. Any ideas?

Thanks,
Claes

j0medina
Posts: 17
Joined: Sat Aug 30, 2003 12:30 am
Location: Milwaukee
Contact:

Post by j0medina » Mon Aug 01, 2005 7:18 pm

I noticed blurred gridlines when printing as JPG but PNG always prints perfectly.

Locked