473,322 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Crystal Report - Landscape orientation by default?

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
Nov 21 '05 #1
12 24625
CR uses the settings of your currently selected printer.
Change the printer settings and your report changes.

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
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

Nov 21 '05 #2
CR uses the settings of your currently selected printer.
Change the printer settings and your report changes.

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
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

Nov 21 '05 #3
Ok thats fair enough! I'll pass that on to my Client!

Thanks
Dan
"Mark Jones" <no**************@devnullbucket.org> wrote in message
news:41***********************@news.twtelecom.net. ..
CR uses the settings of your currently selected printer.
Change the printer settings and your report changes.

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
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


Nov 21 '05 #4
Ok thats fair enough! I'll pass that on to my Client!

Thanks
Dan
"Mark Jones" <no**************@devnullbucket.org> wrote in message
news:41***********************@news.twtelecom.net. ..
CR uses the settings of your currently selected printer.
Change the printer settings and your report changes.

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
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


Nov 21 '05 #5
Hi Dan,

The solution is to set the orientation in the report itself. Inside
Crystal, set file/printer setup to portrait or landscape and save the
report. The viewer will then display each report appropriately, without
having to change the printer each time a report is selected.

HTH,

Bernie Yaeger

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
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

Nov 21 '05 #6
Hi Dan,

The solution is to set the orientation in the report itself. Inside
Crystal, set file/printer setup to portrait or landscape and save the
report. The viewer will then display each report appropriately, without
having to change the printer each time a report is selected.

HTH,

Bernie Yaeger

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
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

Nov 21 '05 #7
You are absolutely right. My reply was hasty.
If you create (or add) a crystal report to your vb app,
you can Dim it like any other object.

Programatically you can set a report's default orientation
with something like:

Dim MyReport as new rptCrystalReportIMade
MyReport.PrintOptions.PaperOrientation = PaperOrientation.Landscape

"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:uR**************@TK2MSFTNGP15.phx.gbl...
Hi Dan,

The solution is to set the orientation in the report itself. Inside
Crystal, set file/printer setup to portrait or landscape and save the
report. The viewer will then display each report appropriately, without
having to change the printer each time a report is selected.

HTH,

Bernie Yaeger

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
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


Nov 21 '05 #8
You are absolutely right. My reply was hasty.
If you create (or add) a crystal report to your vb app,
you can Dim it like any other object.

Programatically you can set a report's default orientation
with something like:

Dim MyReport as new rptCrystalReportIMade
MyReport.PrintOptions.PaperOrientation = PaperOrientation.Landscape

"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:uR**************@TK2MSFTNGP15.phx.gbl...
Hi Dan,

The solution is to set the orientation in the report itself. Inside
Crystal, set file/printer setup to portrait or landscape and save the
report. The viewer will then display each report appropriately, without
having to change the printer each time a report is selected.

HTH,

Bernie Yaeger

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
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


Nov 21 '05 #9
Excellent, i'll give that a go tomorrow!

Thanks,
Dan

"Mark Jones" <no**************@devnullbucket.org> wrote in message
news:41***********************@news.twtelecom.net. ..
You are absolutely right. My reply was hasty.
If you create (or add) a crystal report to your vb app,
you can Dim it like any other object.

Programatically you can set a report's default orientation
with something like:

Dim MyReport as new rptCrystalReportIMade
MyReport.PrintOptions.PaperOrientation = PaperOrientation.Landscape

"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:uR**************@TK2MSFTNGP15.phx.gbl...
Hi Dan,

The solution is to set the orientation in the report itself. Inside
Crystal, set file/printer setup to portrait or landscape and save the
report. The viewer will then display each report appropriately, without
having to change the printer each time a report is selected.

HTH,

Bernie Yaeger

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
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



Nov 21 '05 #10
Excellent, i'll give that a go tomorrow!

Thanks,
Dan

"Mark Jones" <no**************@devnullbucket.org> wrote in message
news:41***********************@news.twtelecom.net. ..
You are absolutely right. My reply was hasty.
If you create (or add) a crystal report to your vb app,
you can Dim it like any other object.

Programatically you can set a report's default orientation
with something like:

Dim MyReport as new rptCrystalReportIMade
MyReport.PrintOptions.PaperOrientation = PaperOrientation.Landscape

"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:uR**************@TK2MSFTNGP15.phx.gbl...
Hi Dan,

The solution is to set the orientation in the report itself. Inside
Crystal, set file/printer setup to portrait or landscape and save the
report. The viewer will then display each report appropriately, without
having to change the printer each time a report is selected.

HTH,

Bernie Yaeger

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
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



Nov 21 '05 #11
Hi Mark,

You're correct. Actually, setting it in code might be a bit better, because
there may be some occasions when a report could be printed both ways. Using
your approach, a user could select the orientation when choosing to print
the report. That choice would run the code you suggest in an if
conditional.

Bernie

"Mark Jones" <no**************@devnullbucket.org> wrote in message
news:41***********************@news.twtelecom.net. ..
You are absolutely right. My reply was hasty.
If you create (or add) a crystal report to your vb app,
you can Dim it like any other object.

Programatically you can set a report's default orientation
with something like:

Dim MyReport as new rptCrystalReportIMade
MyReport.PrintOptions.PaperOrientation = PaperOrientation.Landscape

"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:uR**************@TK2MSFTNGP15.phx.gbl...
Hi Dan,

The solution is to set the orientation in the report itself. Inside
Crystal, set file/printer setup to portrait or landscape and save the
report. The viewer will then display each report appropriately, without
having to change the printer each time a report is selected.

HTH,

Bernie Yaeger

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
> 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
>
>



Nov 21 '05 #12
Hi Mark,

You're correct. Actually, setting it in code might be a bit better, because
there may be some occasions when a report could be printed both ways. Using
your approach, a user could select the orientation when choosing to print
the report. That choice would run the code you suggest in an if
conditional.

Bernie

"Mark Jones" <no**************@devnullbucket.org> wrote in message
news:41***********************@news.twtelecom.net. ..
You are absolutely right. My reply was hasty.
If you create (or add) a crystal report to your vb app,
you can Dim it like any other object.

Programatically you can set a report's default orientation
with something like:

Dim MyReport as new rptCrystalReportIMade
MyReport.PrintOptions.PaperOrientation = PaperOrientation.Landscape

"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:uR**************@TK2MSFTNGP15.phx.gbl...
Hi Dan,

The solution is to set the orientation in the report itself. Inside
Crystal, set file/printer setup to portrait or landscape and save the
report. The viewer will then display each report appropriately, without
having to change the printer each time a report is selected.

HTH,

Bernie Yaeger

"Connor T" <ma********@hotmail.com> wrote in message
news:93*****************@newsfe5-gui.ntli.net...
> 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
>
>



Nov 21 '05 #13

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

Similar topics

5
by: Robert Schuldenfrei | last post by:
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...
0
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
0
by: Lyners | last post by:
I am using VS.NET 2003/ASP/VB. I have a crystal report that I can output to an Excel File from my ASP.NET application. My problem is I cannot get it to export in landscape mode like the report is...
0
by: Ralf | last post by:
I am trying to get the reports to print in landscape mode. The customer does not want to change his setting to be landscape mode all the time, he want the code to do it. From what I have read,...
0
by: Big George | last post by:
Hello Gurus, I'm developing with VS2003, ASP.NET with Crystal Report for VS.NET, and I need to change the paper orientation of a Crystal Report to Horizontal... How to do that? I tried to...
0
by: John Smith | last post by:
Hello, I am developing a VB.NET 2003 application that will use lots of Crystal Reports. Sometimes the users will preview a report in a Crystal report viewer, and sometimes they will send the...
0
by: brett | last post by:
Hi, I need to build a pdf report by using Crystal report which including several subreport. The problem is that the primary page orientation is portrait and some subreports' orientation is...
2
by: J360 | last post by:
I'm using VB in Access 2003 to generate a dynamic report. I first open the report in design view to set all the grouping levels etc. I then use with rpt .printer.orientation =...
0
by: Sohail1980 | last post by:
Hi All, I have a crystal report that loads default values from the database, using SQL server 2005. On my web page, I have 2 databound dropdownlist and upon selectedindexchanged the report must...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.