Hi Bernie Yaeger,
Thanks .
When I print from cysrtal report the report is printing ok i.e landscape.
When I try to Print the same report from VB.net windows application ,It
picks the default setting of the local printer and not the setting of the
report
thanks
ulka
> Hi Ulka,
>
[quoted text clipped - 20 lines]
> >
> > How can I force my report to come as landscape?
Bernie Yaeger - 15 Feb 2005 12:11 GMT
Hi Ulka,
My .net app prints the report after displaying the viewer control as
landscape or portrait, based only upon the report's settings as defined in
the crystal environment. I print using a reportdocument object, but I am
not setting the orientation in it, so I still think the issue is with your
printer.
Bernie
> Hi Bernie Yaeger,
> Thanks .
[quoted text clipped - 33 lines]
>> >
>> > How can I force my report to come as landscape?
Bruce Wood - 15 Feb 2005 18:48 GMT
Are you setting the PrinterName in your VB.NET application?
Try checking the PrintOptions.PaperOrientation setting before and after
you set the PrinterName, or before you print the document, and see what
it's set to. It should be set to Landscape.
Bernie Yaeger - 15 Feb 2005 20:31 GMT
Hi Bruce,
I'm neither setting the orientation nor the printername, but your idea is
good, and Ulka should try this, as his printer might need to 'boost'.
Bernie
> Are you setting the PrinterName in your VB.NET application?
>
> Try checking the PrintOptions.PaperOrientation setting before and after
> you set the PrinterName, or before you print the document, and see what
> it's set to. It should be set to Landscape.