bmiller250
asked on
PrintPreviewDialog Prints Blank Pages
C#.Net 2005
Visual Studio 2005 Pro
We are developing a form that prints generated values. When we use this code _pd.Print(); the report prints perfectly, and when we use this code:
PrintPreviewDialog ppd = new PrintPreviewDialog();
ppd.Document = _pd;
ppd.ShowDialog();
the preview is perfect, but only a few lines print when the user click print.
And thats the problem.
Visual Studio 2005 Pro
We are developing a form that prints generated values. When we use this code _pd.Print(); the report prints perfectly, and when we use this code:
PrintPreviewDialog ppd = new PrintPreviewDialog();
ppd.Document = _pd;
ppd.ShowDialog();
the preview is perfect, but only a few lines print when the user click print.
And thats the problem.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.