I have implemented my own print function and want to print 3 graphs in 1 page, but in that funciton if i set my pageformat.setOrientation() to REVERSE_LANDSCAPE, a strange thing happens, Only about 2/3 of the graph gets printed but if i in the print function do the same graph printing twice, i.e. return PAGE_EXISTS, twice then it prints the graph nicely in the second page but it's always 2/3 printing in the first page, whether you set the maxpages to be printed 2, or 3 or greater, i mean this is mind boggling, is it a bug in the java.print classes?? Should I use jdk1.4??
please do help
printing problem
Re: printing problem
I m fine now, I had actually called the setOrientation(LANDSCAPE) in the print function that meant the first time around, it printed wrong. So I actually set the orintation before i called the print function and now it's working fine,
thanks anway for reading this post, but i think it was worth the trouble for people with this simple mistake in the future
anup
thanks anway for reading this post, but i think it was worth the trouble for people with this simple mistake in the future
anup