I’m working on a ASP.Net application (.Net 1.1) with Crystal Reports 2003. I have created a report with some Text Objects and Data Fields (Report title, Company title, Date, etc.) which are retrieved from a DataSet. Most of them are using the default font (Times New Roman / 10pt).
Everything looks fine on the development machine, but when I install the application to the server and print the report, practically all of the fields are “messed up”.
By “messed up” I mean:
- fields look as if their width and height have been reduced which results in cropping top and/or bottom part of the Text Object or wrapping the content and displaying it in two rows
- vertical spacing between Text Objects is slightly increased
- vertical spacing between report segments have been increased
On the server machine I had two different printers installed a POS printer which was not used anymore, and the “Microsoft XPS Document Writer”. After deleting both of these, and reconfiguring the other ones to same settings as the development machine had. Reports were fixed.
I’m not sure if this helps anyone, but if you encounter a similar problem, try fiddling with your printer settings, because this behavior seems to be related to printer, not Crystal Report itself.
Answered By – Miljenko Barbir
Answer Checked By – Katrina (BugsFixing Volunteer)