The PrintTable2 project is a more elaborate version of the PrintTable project and it contains the following additional features:

It prints the author names in the width provided for this column and doesn't run over the right edge of the page's printable area.

It prints a grid around the cells in gray color.

It has a title at the top of the page and a page number at the bottom of the page.

It supports portrait and landscape orientation.

As you can guess, it contains a fair amount of extra code, much more than it's really required to explain the basic techniques for printing tabular data, and this is the reason I've used a much simpler version of the application in the text. If you're going to add printed reports to an application, you can use the PrintTable project's code as your starting point.
