print gridcontrol devexpress

C#
 gridProperties.ShowRibbonPrintPreview();
Source

Also in C#: