Since you can't animate to height: auto in CSS3, I created this workaround that creates a smooth animation in either direction and is height-independent.
It works around block elements too, and uses a bezier curve to simulate ease-in-out identically for both short and tall content.
Uses CSS3 @media print and @page to print HTML tables in Landscape via Javascript.
Best Performance is in the Opera Browser Version 41 or higher.
Best to copy this code and run it external from jsfiddle, that way multiple pages will print and not be chopped off.