Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Landscape/Portrait Settings 1

Status
Not open for further replies.

BobHunter

Programmer
Joined
Mar 26, 2001
Messages
62
Location
GB
Folks,

Just one more. When I compile a report, with all the settings in landscape, the compiled report opens in portrait, chopping off a lot of info. This can only be rectified by using the print setup button in the compiled report. Any ideas ?

Bobster
 
Hi,
Can you set the orientation before you compile it? I don't use compiled reports, so I am not familiar with them. What I do with .RPT files is set it in the .RPT file as landscape and it works fine. See FAQ 2A.
Brett Please visit my websites!
 
Just to clarify, I set the setting to landscape in the RPT file, compile it to EXE, and it spits it back out compiled in portrait.

Going mad.

Bobster
 
I don't know. I have no experience with compiled reports. Sorry. It works fine with a VB 6 frontend. I know it works when you tell a DSR to print landscape and compile it within VB also. Sorry I can't be of further assistance.
Brett Please visit my websites!
 
I have run into this with Compiled reports. It is a flaky problem with no clear solution that I know of (yet).

What works in some situations is to create another printer name for the client's printer. Use the same printer name on the development PC. I used "report printer" as the printer name.

Crystal will first look for the printer name from the design PC (even if it is a different model), and if it doesn't find that name, it will use that PCs default printer. It is supposed to always use the report's orientation, but I have seen situations like yours where it doesn't.

With the new report printer you can set the default for that printer to landscape, and see if that gets the report correctly. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top