Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Print the contents of a page

 
mahadevan raja
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i have page which displays reports,for eg.
Name Age
xxx 1
yyy 2
zzz 3
aaa 4
.....
nnn n
v have done paging and r displaying 10 records per page,now the problem is when v try to take out the printout of the page which has the first 10 records,v want only the reports to be printed ,i dont want to select reports and then print,
i need to give the user a link called printable format,and i need to take these reports in that printable format with proper page size and alignment.
2.and suppose i print all the records in the same page without paging,and try to print it (normal print ctrl+P),i dont get the header in the next page,
can u give me a solution of how to do these.
plz reply soon.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic