473,544 Members | 1,822 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Landscape orientation Crystal Viewer

Hi Again,

Forgive me for posting this again, but old items seem to get little review.

I thought I could adjust the viewer properties without any further aid from
the NG, but I was wrong. When I print my reports to a file or directly to
the printer, the orientation is landscape. This was set in the report
itself using Designer | Printer Setup and setting the printer to landscape.
When I send the report to the viewer, using the statements listed below, the
lines are truncated because the viewer is defaulting to portrait
orientation. How can I change this viewer property? The book I am using is
Neil FitzGerald et. al., Using Crystal Reports 10. It is very good at
explaining Crystal, but is very brief on explaining the .NET material. As
ever, thank you in advance for your help.

Sincerely,

Bob

Robert Schuldenfrei
bo*@s-i-inc.com
"Kevin Yu [MSFT]" <v-****@online.mic rosoft.com> wrote in message
news:4H******** *****@cpmsftngx a06.phx.gbl...
Hi Robert,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to view crystal report on a
windows form. If there is any misunderstandin g, please feel free to let me
know.

As far as I know, if you need to view it on a windows form, you need to
place a crystal report viewer on the form, and assign the report document
report source to the viewer. Then you just use the following to show dialog box.

Form1 myForm = new Form1();
myForm.ShowDial og();

Crystal Report is not supported by Microsoft. For more information related to this issue please check the following link:
https://support.crystaldecisions.com

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."


Nov 16 '05 #1
5 9417
Hi Bob,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that the landscape report is being printed
in portrait mode from then printer although you have set to landscape mode.
If there is any misunderstandin g, please feel free to let me know.

Based on my research, this might be a known issue in crystal report. They
have released a hotfix on this. Please check the following link for more
information.

http://support.businessobjects.com/l...s/c2010983.asp

Furthermore, Crystal report is not supported by Microsoft. For more
information related to this issue please check the following link:

http://support.crystaldecisions.com

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #2
Hi Kevin,

Thanks for your additional wisdom. Before I go blindly ahead with the
update, I thought I would check with you. I believe that my version of
Visual Studio is much newer than the version for which this fix remediates.
The fix was applied to the follow version of CR as reported from the site
you reference:

With the file update, print orientation is now set from the PaperOrientatio n
property of the Page Object. As a result, reports will now print based on
the paper orientation that is set in the report print settings.

This issue is corrected in the following component and version and later:

CrystalDecision s.Windows.Forms .dll, version 9.1.9466.5, dated 06/25/2002

My version Visual Studio is: Microsoft Development Environment 2003 Version
7.1.3088 Crystal Reports for Visual Studio .NET AAP50-GS00000-TTH00RM
taken from the About text. Please verify that I should apply the fix.

FURTHER: My understanding of the following comments from Crystal:
"PaperOrientati on property of the Page Object" leads me to believe that
there is a Page Object whose PaperOrientatio n property I could set. As you
remember, I have set the orientation from the report layout itself with the
following: Designer | Printer Setup. I see how the following statements
could work with the report, but not the Viewer:

ReportDocument report = new ReportDocument( );
report.Load("C: \\database\\MCS-3-SQL\\MCS-3inC#\\INV\\Rep orts\\rpt1302.r pt")
;
report.PrintOpt ions.PaperOrien tation =
CrystalDecision s.Shared.PaperO rientation.Land scape;

Could you help me with two issues:

1/ An example of setting the the PaperOrientatio n property of the Page
Object. This needs to be done with respect to the Viewer and not the
printer, which is working fine.

2/ How to use the help function of Visual Studio to learn about the Viewer
myself.

Thank you,

Bob

Robert Schuldenfrei
bo*@s-i-inc.com

"Kevin Yu [MSFT]" <v-****@online.mic rosoft.com> wrote in message
news:y3******** ******@cpmsftng xa06.phx.gbl...
Hi Bob,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that the landscape report is being printed
in portrait mode from then printer although you have set to landscape mode. If there is any misunderstandin g, please feel free to let me know.

Based on my research, this might be a known issue in crystal report. They
have released a hotfix on this. Please check the following link for more
information.

http://support.businessobjects.com/l...s/c2010983.asp

Furthermore, Crystal report is not supported by Microsoft. For more
information related to this issue please check the following link:

http://support.crystaldecisions.com

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #3
Hi Bob,

Here I found some examples and threads that having the same problem as
yours. Please try the solutions.

http://www.experts-exchange.com/Data..._21068270.html
http://www.xtremevbtalk.com/archive/.../t-168179.html

To learn programming on Crystal Report, here are some useful links:

http://msdn.microsoft.com/library/de...us/crystlmn/ht
ml/crconcrystalrep orts.asp

Besides MSDN, you can refer to Crystal Report website for more detailed
information.
http://support.businessobjects.com/l...10/docs_en.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #4
Hi Kevin,

Thank you for staying with this issue. Still no luck. I tried the four
references noted below. The Expert Exchange wanted $9.95 per month for
answers. Might do that as a last resort. Xtremevbtalk did not answer the
question. Microsoft did not even address the question. Business Objects
suggested an update, which I did, but I still have the issue.

Here is what I plan to do. I am going to buy the Brian Bischof book,
Crystal Reports .NET Programming. When it arrives I will try to resolve the
issue. If I can not I will just let the problem alone as I can print any
report I want as long as it goes to the printer. If worst comes to worst I
can load WordPad with the report stored on disk and use that as my Viewer.

Cheers,

Bob

Robert Schuldenfrei
bo*@s-i-inc.com

"Kevin Yu [MSFT]" <v-****@online.mic rosoft.com> wrote in message
news:gk******** ******@cpmsftng xa10.phx.gbl...
Hi Bob,

Here I found some examples and threads that having the same problem as
yours. Please try the solutions.

http://www.experts-exchange.com/Data..._21068270.html
http://www.xtremevbtalk.com/archive/.../t-168179.html

To learn programming on Crystal Report, here are some useful links:

http://msdn.microsoft.com/library/de...us/crystlmn/ht ml/crconcrystalrep orts.asp

Besides MSDN, you can refer to Crystal Report website for more detailed
information.
http://support.businessobjects.com/l...10/docs_en.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #5
Hello NG,

I found the answer to this issue by "poking around." I was looking in the
wrong place. You do not set the properties of Form1, but you alter the
properties of the Crystal Viewer. There is an object in the "tray" below
Form1 that was created by the ReportDocument component called (in my case)
rpt13011. It is THIS object that has the property you want to alter. Bring
up the property sheet for this object. Look for the property called:
PrintOptions | PaperOrientatio n. It is set by default to
DefaultPaperOri entation which in my case is Portrait. Change this property
to Landscape and you are done. Thank you Kevin for all your help.

Sincerely,

Bob

Robert Schuldenfrei
bo*@s-i-inc.com

"Robert Schuldenfrei" <bo*@s-i-inc.com> wrote in message
news:IjuUc.2738 60$%_6.101896@a ttbi_s01...
Hi Again,

Forgive me for posting this again, but old items seem to get little review.
I thought I could adjust the viewer properties without any further aid from the NG, but I was wrong. When I print my reports to a file or directly to
the printer, the orientation is landscape. This was set in the report
itself using Designer | Printer Setup and setting the printer to landscape. When I send the report to the viewer, using the statements listed below, the lines are truncated because the viewer is defaulting to portrait
orientation. How can I change this viewer property? The book I am using is Neil FitzGerald et. al., Using Crystal Reports 10. It is very good at
explaining Crystal, but is very brief on explaining the .NET material. As
ever, thank you in advance for your help.

Sincerely,

Bob

Robert Schuldenfrei
bo*@s-i-inc.com
"Kevin Yu [MSFT]" <v-****@online.mic rosoft.com> wrote in message
news:4H******** *****@cpmsftngx a06.phx.gbl...
Hi Robert,

First of all, I would like to confirm my understanding of your issue. From your description, I understand that you need to view crystal report on a
windows form. If there is any misunderstandin g, please feel free to let me know.

As far as I know, if you need to view it on a windows form, you need to
place a crystal report viewer on the form, and assign the report document report source to the viewer. Then you just use the following to show

dialog
box.

Form1 myForm = new Form1();
myForm.ShowDial og();

Crystal Report is not supported by Microsoft. For more information

related
to this issue please check the following link:
https://support.crystaldecisions.com

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."


Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
19603
by: Biguana | last post by:
Hi, Just wondering if anyone can help here. We have a site where most of the site opens in a window with no toolbars or menubar: window.open('mypage.aspx','self','toolbar=0, menubar=0, etc, etc) This is because it's a data driven site where space is at a premium and we'd rather discourage use of back, stop and refresh. The problem...
0
1099
by: Dino L. | last post by:
hi, Can I give option for landscape printing in crystal reports viewer?
0
1316
by: Alpha | last post by:
How can I pint in Landscape when I use graphics.drawstring? Currently, I have to change my printer to Landscape to make it do so. The output is preview in a Crystal Report form that is setup as landscape but it still shows up as portrait. I skipped the preview and sent it directly to the printer and it still is Portrait orientation. ...
5
6829
by: cpopham | last post by:
I tried posting earlier and it never showed up.. I have a simple program to print a text file. I need to know how to change the page settings to landscape if it is not already in ladnscape mode. I do not want to use a dialog to do it and this appears the only way you can do it. I just need it to spit out the print in landscape orientation. ...
12
24666
by: Connor T | last post by:
Hi, I have a crystal report embedded in a viewer. How / Where can I set a property to make it default to landscape orientation? Rgds, Dan
2
6317
by: Ralf | last post by:
I posted under a different subject earlier, no responses. I have changed the question somewhat. Is there a way to have the report come up in landscape, not just print in landscape? I know how to get it to print in landscape no problem. I want the report to display to the user in landscape. I can click on the rpt file and go in there...
0
1256
by: matvin | last post by:
When generating .NET Crystal Reports with Page Orientation as Landscape, a Blank page gets generated along with the report. But this is not the case when the page orientation is set with Portrait.Any help on this?
2
4377
by: satnamsarai | last post by:
it is possible to change page orientation to landscape from asp.net page? I am using window.print() dialog to print a page and I would like that page to print automatically in landscape view.
2
5392
by: Charlie | last post by:
Hi: When outputing reports to PDF using report viewer control the PDF file can not be changed to landscape. What I mean is when you open in Acrobat and set to landscape, it accepts setting, but can page stays stuck on portrait. Happens on all reports in my application. Desperate to get this figured out as it's a valuable feature. Maybe...
0
7431
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7617
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7779
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7714
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5920
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5305
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4924
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1848
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
992
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.