views:

24

answers:

0

Crystal Reports, alignment when printing

Hello, i have a report with 2 objects. a text object from left to right and a database field on top of this object. When I load the report in viewer(or print from viewer) it looks OK but when I print the report programmatically with ReportDocument.PrintToPrinter() the database field moves to to the left and as a result it print on the text object. Concatenate the text and database field is not an option. The margins are the same in viewer and before to print programmatically.

in viewer: http://promagic.hopto.org/screens/screen_2010-5-13_10_24_7-531.png

programmatically: http://promagic.hopto.org/screens/screen_2010-5-13_10_25_55-187.png

(the bold text is from db)

Can anyone help me? Thanks!