Skip to main content
Participant
October 26, 2009
Question

cfreport landscape orientation?

  • October 26, 2009
  • 1 reply
  • 1114 views

Running ColdFusion 8. We're using the cfreport tag to bring up reports designed in coldfusion report builder. They were designed in landscape orientation. We have cfreport's format set to flashpaper. when the report is brought up on screen it shows in portrait and prints in portrait. if the cfreport format is changed to PDF, it gets brought up landscape and prints in landscape.

We want to be able to show reports in flashpaper, but have it in landscape orientation by default. Is this possible? Why does cfreport not have an orientation attribute like cfdocument has? Right now users will have to change the printing settings everytime to change it to landscape; this is quite a hassle. Why can't cfreports be set to landscape through code?

or, if they can, how can I do this? Thanks...

This topic has been closed for replies.

1 reply

Participating Frequently
February 23, 2010

I suggest just creating another CFR with the other orientantion.  If you created the CFR in landscape, and say you took full advantage of the width with where you placed all your elements, how could you expect all elements to fit when the orientation changes?