Skip to Content
0
Former Member
Aug 01, 2008 at 03:15 PM

Printing Gets Cut Off Halfway

15 Views

I am developing software using Visual Basic 2008 Professional Edition and I am using the Designer included in Visual Basic 2008. I also have code which uses the PrintDocument object. My problem is whenever I go to produce output using the PrintDocument object and then try to view a Crystal Report (using the Viewer), the text is half truncated on every line.

If I run the Crystal Report first, everything looks fine. It is only after I use the PrintDocument object that everything gets screwed up.

Good Report Sample:

[http://www.trendytechnology.com/good_report.jpg]

Bad Report Sample:

[http://www.trendytechnology.com/bad_report.jpg]

What am I doing wrong? Am I not disposing of objects correctly when I use the PrintDocument? Or is there something I should be doing when initializing Crystal Reports?