VB.NET, C#
Standard grid print and preview functionality features the ability to print a range of pages. It also allows you to define columns that repeat on each printed page when necessary.
The basic steps necessary to print a grid programmatically
The use of a print preview dialog as well as printer and page setup settings forms
Extension of the GridPrintDocument class in order to provide Print with configurable margins, headers and page setup, as well as full previewing capabilities
The use of QueryPrintPage
The zoomable print preview functionality of a GridControl using a GridPrintDocument
C#: Xceed Samples\Xceed Grid for WinForms v#.#\CSharp\StandardPrinting\Xceed.Grid.Samples.StandardPrinting.csproj
VB.NET: Xceed Samples\Xceed Grid for WinForms v#.#\Visual Basic .NET\StandardPrinting\Xceed.Grid.Samples.StandardPrinting.vbproj