One way you could do that would be to create a new document (perhaps in an invisible iframe), dump the table's contents there and call .print()
on the iframe.
As DA pointed out, you could manipulate the print CSS; by hiding everything but the table you want to print, but that might not work across browsers.