469,904 Members | 2,533 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,904 developers. It's quick & easy.

Paper Size in Crystal Web Viewer

I have a Crystal Report which is set to A4 paper size, both at design time, and also in run-time code. However, when displayed in the web viewer, it is cut off at 'letter' size. Any ideas?

John
Nov 20 '05 #1
2 1956
Hi John,

You have to set this as part of the reportdocument class and then set the
viewer to display that reportdocument object:
crreportdocument.PrintOptions. etc

CrystalReportViewer1.ReportSource = crreportdocument

HTH,

Bernie Yaeger

"JohnHorb" <Jo******@discussions.microsoft.com> wrote in message
news:75**********************************@microsof t.com...
I have a Crystal Report which is set to A4 paper size, both at design time, and also in run-time code. However, when displayed in the web viewer,
it is cut off at 'letter' size. Any ideas?
John

Nov 20 '05 #2

Thanks for the response, however, that is what I did. I defined the report initially on a system with the default printer set to A4. I then also set the paper size in the reportdocument class to A4 before binding to the viewer. However, the viewer still cut off a bit at the right-hand side to reduce to the equivalent of letter. (Previewing in stand-alone Crystal 10 is OK). It is as if the viewer is ignoring the paper size in the reportdocument and always assuming letter.

"Bernie Yaeger" wrote:
Hi John,

You have to set this as part of the reportdocument class and then set the
viewer to display that reportdocument object:
crreportdocument.PrintOptions. etc

CrystalReportViewer1.ReportSource = crreportdocument

HTH,

Bernie Yaeger

"JohnHorb" <Jo******@discussions.microsoft.com> wrote in message
news:75**********************************@microsof t.com...
I have a Crystal Report which is set to A4 paper size, both at design

time, and also in run-time code. However, when displayed in the web viewer,
it is cut off at 'letter' size. Any ideas?

John


Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Robert Schuldenfrei | last post: by
5 posts views Thread by Robert Schuldenfrei | last post: by
reply views Thread by Chris | last post: by
reply views Thread by william.reynolds | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.