Hi All,

I have some printing code that works properly in JDK1.1.8. When I moved
the code to 2D printing, the components are not printing properly. I
print multiple components on the same page. I use setClip() and
translate() methods on the graphics objects a lot. One thing I noticed
is the print() method on my Printable implementation is called twice for
every pageIndex although the number of copies is set to 1. When I
printed out the clipBounds in the middle of the code, I noticed that
there is a difference of 1 pixel between the first call and the second
call for the same pageIndex. Are there any known problems with setClip()
and translate() methods? Why is the print() method getting called twice?
I tried in both JDK1.3 and JDK1.3.1.

Thanks,
Himabindu
begin:vcard
n:;Himabindu
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Himabindu Kosuru
end:vcard

Reply via email to