0

I need guidance regarding how to send a table in java applet to a printer connected to the system. It shouldn't involve internet. Is it possible in Java swing? Thanks in advance.

Gomathi
  • 973
  • 7
  • 17
  • 37
  • The same question asked earlier here: http://stackoverflow.com/questions/438397/can-a-java-applet-use-the-printer – ali Jul 31 '12 at 13:35
  • @josh Yeah, I noticed. Thanks. I have modified my question now. Kindly check it out. – Gomathi Jul 31 '12 at 16:20
  • Please edit your question to include an [sscce](http://sscce.org/) that shows your current approach. – trashgod Jul 31 '12 at 16:42

2 Answers2

1

http://www.gamedev.net/topic/563757-printing-from-java-applet/ Is your applet signed?

StanislavL
  • 56,971
  • 9
  • 68
  • 98
0

Use

myJTableInstance.print();

to open a dialog, that lets you select your printer.

Stefan
  • 12,108
  • 5
  • 47
  • 66