Link to home
Start Free TrialLog in
Avatar of dijo1
dijo1

asked on

Resolution?

I have problems with the print-outs!
Is it really true that I just can state points in a 72 dpi? It is a way to rough resolution to print with!!

How can I make the print-outs better?
I can hardly see the curves.

How can I past this difficulty?

There is a method called setPrinterResolution, but how do I use it? Does it help? (I don't use JobAttributes, PagesAttributes or PrintJob.)

I have this row in my code:

PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
  aset.add(new MediaPrintableArea(imgX, imgY, imgWidth, imgHeight, MediaPrintableArea.INCH/72));

What does these parameters mean? Why divide it with 72?

Many questions, but I hope someone will answer!



/Diana

Avatar of StewartJ
StewartJ

There are 72 points in an inch.
Avatar of dijo1

ASKER

Where? On the screen there are 96 dots per inch. Where is it 72 dots per inch? Doesn't Java support more than 72 dpi?
It has to!

/Diana
ASKER CERTIFIED SOLUTION
Avatar of StewartJ
StewartJ

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

-  Points for StewartJ

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venabili
EE Cleanup Volunteer