Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing in java

Status
Not open for further replies.

rohithere

Programmer
Oct 27, 2003
51
IN
Hi
My application is created in swing.There is one report where there are many values displayed in one page only(earlier the values were broken into various pages eg: 1.1,1.2,2.1,2.2 etc.I displayed it again in one page only done this way because breaking it to next page missed some values).Now while printing I want to give the user the facility to print which part(page) he wants to print.
Also while printing the whole page is not printed only the 1st part(page) is printed.

Help needed URGENTLY.

Thanxin advance.
 
Hi,
But it is printing only the viewable area of the long page again and again.What to do so that it also prints the un viewable part of the single long page????

Please HELP.
 
Have you read the tutorials on the links I posted ?
 
As far as I know, using the Graphics2D object to print your view means that you can print the current viewable area of the screen (of the graphics device) so if you need to print parts that are not viewable (ie off the screen) then you need to bring those areas into "view" ...
 
But how can I move the scrollbar of a long page programetically to make it viewable to the printer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top