I have two identical reports:
- one created with CR XI R2 SP6
- the second with CR 2008 SP4
For both reports the orientation in the page setup is set to "Landscape" and "No Printer" is checked.
I use a HP Laserjet printer which Default Orientation is set to "Portrait".
Now from my VB.Net 2008 program, the PaperOrientation of CrystalDecisions.CrystalReports.Engine.PrintOptions will be set to DefaultPaperOrientation.
When I print the reports, I have two behaviors:
- the first one (CR XI) ist printed in Portrait (the printer's default)
- the second one (CR 2008) is printed in Landscape (as set in the report)
For me the second one prints correctly as defined in the report. (When I set the default orientation in the printer driver to Landscape or when I explicitly set CrystalDecisions.CrystalReports.Engine.PrintOptions to Landscape, both reports are printed in Landscape - but that is not the problem)
Could someone explain me why the two version of CR act differently? What is the best rule of thumb to avoid such problems?
Tx,
Patrick