Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 377
  • Last Modified:

Active X viewer (printing in Landscape)

Cr 9.2


Hi,

I know similar questions to this have been asked before but I cannot seem to get my working at all!

I have report that I am calling throught asp pages ( examples laid out by crystal- http://support.businessobjects.com/communityCS/FilesAndUpdates/aspxmps9.exe.asp)

On my Simplsetlogon.asp I have set the paperorientation = 2


<!-- #include file="AlwaysRequiredSteps.asp" -->

<%
session("oRpt").DiscardSavedData
set crtable = session("oRpt").Database.Tables.Item(1)
crtable.SetLogonInfo "COE", "coe", "******", "*******"
'response.write crtable.testconnectivity
%>


<%
Session("oRpt").Report.PaperOrientation = crLandscape
Session("oRpt").ParameterFields.GetItemByName("assesmentid").AddCurrentValue(CDbl(request.querystring("assesmentid")))
%>

This has NO effect.  Does anyone know where I might be going wrong?? Any help would be greatly appeciated.


Many thanks,
Nicky
0
NickyNin
Asked:
NickyNin
  • 2
  • 2
  • 2
  • +1
3 Solutions
 
frodomanCommented:
0
 
ebolekCommented:
That is how you do it. Look at the placement of the code.
Regards
Emre
0
 
NickyNinAuthor Commented:
Thank you for your replies however....

The fix quoted above is so that it prints in Landscape it does not display the report in landscape within the active X viewer. I did download the fix and it has completely broken my printing - now all I get is a blank screen!!!

I need to be able to view the report landscape in the Active X viewer.

Emre - I am not sure what you mean by "Look at the placement of the code" Have I put the code in the wrong place??  I did try it in Alwayrequiredsteps.asp but this did not work either.

If anyone has any other idea I would really appreciate it.

Thanks again,
Nicky
0
Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

 
ebolekCommented:
check this out. I think it will help you
support.businessobjects.com/library/kbase/articles/c2006136.asp

Regards
Emre
0
 
mlmccCommented:
Was the report built landscape?

If not I don't think you can force the viewer to be landscape.

mlmcc
0
 
NickyNinAuthor Commented:
Yes it was built landscape and the active X viewer simply cuts it off!!

I'll close this for the moment. As I have told the customer it was not possible as of yet.

Thanks!
0
 
mlmccCommented:
Glad i could help

mlmcc
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now