Link to home
Start Free TrialLog in
Avatar of bmiller250
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.
ASKER CERTIFIED SOLUTION
Avatar of Joel Coehoorn
Joel Coehoorn
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial