• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Print table need some idea

 
anchit pancholi
Ranch Hand
Posts: 53
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

i have 120 tables in database and i want to print 6 table on a page like a invoice format. so there will be 20 pages.

how can i print 6 invoice on a single page and print all tables data in 20 pages??
i tried table.print(); but this is helps when i have only one table per page. other then that please suggest me something if you have some other solution

Thanks
Anc
 
Rob Spoor
Sheriff
Pie
Posts: 20398
47
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anchit pancholi wrote:i tried table.print(); but this is helps when i have only one table per page.

Are you sure? I remember trying that before and getting the content spread across multiple pages, even with the column names at the top of each page. However, the JTable must be visible for this to work.
 
anchit pancholi
Ranch Hand
Posts: 53
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Spoor wrote:
anchit pancholi wrote:i tried table.print(); but this is helps when i have only one table per page.

Are you sure? I remember trying that before and getting the content spread across multiple pages, even with the column names at the top of each page. However, the JTable must be visible for this to work.


when i tried this that time i am getting only one print and there page have only border no data.
is there any other thing easier then this if you know??

Thanks for reply
 
Ashish Agre
Ranch Hand
Posts: 73
Java Linux Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go here ....
Java 7 Tuts

Download the tutorials and then fin JTable demo.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic