• Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing table

 
Elizabeth Luckose
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to print a jtable in pdf format (or any other format). Is it possible? It so, please help me giving a solution
Thanks,
Elizabeth
 
Guennadiy VANIN
Ranch Hand
Posts: 898
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Elizabeth,
May I advise you to put this question in "I/O and Streams" forum?
Generally there is an easy way of printing: getting reference to component, reference to default toolkit, getting reference to PrintJOb(returned by getPrintJob(toolkitreference), invoke the print job's getGraphics method, which returns a reference to a PrintGraphis.
But my company does not like the quality, and I am to create eache element (mostly lines, paragraphs, etc.) for printing. I beleive that you would just program/parse pdf elements...
[This message has been edited by G Vanin (edited November 21, 2001).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!