Actually, you need to handle InitializePrint and InitializePrintPreview for the grid.
private void PosGrid_InitializePrint(object sender, CancelablePrintEventArgs e) { FormatGridForPrinting(e.PrintLayout); } private void PosGrid_InitializePrintPreview(object sender, CancelablePrintPreviewEventArgs e) { FormatGridForPrinting(e.PrintLayout); }
private void FormatGridForPrinting(UltraGridLayout e) { e.Appearance.FontData.SizeInPoints = 10; }
You may also have to re-adjust your column widths if you increase the font size.
Cheers
Allan
Try handling the BeforePrint event of the grid. The event args for this event have a PrintLayout. This is a clone of the grid's DisplayLayout. So you can change properties on this layout and it will affect the print without affecting the on-screen grid. So you could change the appearances on this layout any way you like, such as assigning a bigger font size.