This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printing or rendering in landscape format

 
John Jacobson
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Logic Fox " please see your private messages for an important administrative matter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic