This sample illustrates printing a grid on a single page.
Features
GridPrintDocumentAdv class is derived to handle the printing of multiple grids across various pages. This is achieved by drawing the full size grid to a large bitmap, and then drawing this bitmap, scaled to fit the output page.
Displays various properties for printing the grid
Columns can be specified to fit on a single page
Headers and footers can be added by using the DrawGridPrintHeader and DrawGridPrintFooter events.