my dog learned polymorphism
The moose likes JSF and the fly likes Printing or rendering in landscape format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Printing or rendering in landscape format" Watch "Printing or rendering in landscape format" New topic

Printing or rendering in landscape format

John Jacobson

Joined: Nov 14, 2008
Posts: 1
Hello all,

I have a unique requirement from a client. They want a bunch of pages to be printed without the print dialog popping up i.e. when they hit the print button on the page its printed out directly. I have managed to do this with vbScript (they use IE exclusively and are happy with the solution).

The problem I'm facing now is that some of the pages HAVE TO BE in landscape mode. After thorough research, I realized that this is not possible through the vbScript solution. I was wondering if there was a way to render a page (i mean a faces view) in landscape format? Please let me know if this is even remotely possible.

Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2846

"Logic Fox " please see your private messages for an important administrative matter.

|Asking Good Questions|
subject: Printing or rendering in landscape format
It's not a secret anymore!