Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Compiled reports print in wrong orientation

Compiled reports print in wrong orientation

Compiled reports print in wrong orientation

We have several compiled reports that run on different workstations on different printers.  The reports are set up as landscape, but when they are run on the workstations, they print portrait.  I am using version 8.0.  I followed the instructions on the web site for the same problem with version 5, but that didn't help.  The user can change the orientation on the printer setup, but they do many reports and it isn't until after it prints the wrong way that they realize they have to change the orientation.  Any suggestions?

RE: Compiled reports print in wrong orientation

I have never gotten a clear answer to this one, but you can try the following.  It worked for one of my customers. You might get a better answer from someone else.

Create a new printer instance on each PC called "report printer" and set it's default properties to landscape.  Now, on the development PC, create a "Report Printer", and set the reports to that printer before compiling.   The "report printer" can be any  printer, but has to have the exact same name so that CR will find it first.  

Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB

RE: Compiled reports print in wrong orientation

I was having the same issue and this is what I did to solve it.  When compiling a report it creates two additional files, the reportname.crf and the reportname.exe.  The .crf file is the key here. Run the compiled report and ensure that it's in landscape or however you'd like it and then go to the .crf file and make it a read only file.  This should lock the report to that specification that the last user (you) set it up as.  Since we had multiple users with multiple O/S and printers, the orientation would get, inadvertently, changed frequently...this solved our problem.  Hope it works for you, as well.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close