We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

printing of grid values

Thread ID:





60181 Apr 30,2007 07:58 AM UTC Apr 30,2007 05:15 PM UTC WinForms 1
Tags: GridControl
Touqeer Ahmed Ahson
Asked On April 30, 2007 07:58 AM UTC

printing data of grid is working fine if it is on single page, but as the data in grid increases say on 5 to 7 pages then the whole data of grid is printed on single page.
which cause a bad printing result.How can i set it to automatically adjust on multiple pages as so to generate a readable print.

haneefm [Syncfusion]
Replied On April 30, 2007 05:15 PM UTC

Hi Touqeer,

You can try this code snippet to print the grid control.

GridPrintDocument pd = new GridPrintDocument(gridControl1, true); //Assumes the default printer
PrintPreviewDialog dlg = new PrintPreviewDialog() ;
dlg.Document = pd;

Here is a forum thread that prints all the columns in a single page and the rows in multiple pages.

Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon