Showing posts with label orientation. Show all posts
Showing posts with label orientation. Show all posts

Wednesday, March 21, 2012

Report to be printed in the orientation set in the rpt

I run a crystal report from VB. I send the report directly to the printer. The rpt file of the report that i am generating has paper orientation set to "Landscape". When i print the report , it prints in Portrait(setting of the default printer). But, if i preview the report instead of directly sending to the printer, the orientation is what is in the rpt. How to solve this problem ? Has anyone came up with this problem.

thanks
priyaI have a code example in my signature called "VB6/CR Print Setup Dialog Ex." which shows how to preset the printer setting and use those for printing, etc.