Web Analytics Made Easy -
StatCounter Print Landscape - CodingForum

Announcement

Collapse
No announcement yet.

Print Landscape

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Print Landscape

    Hi

    I want to print html content(vatever in the screen)landscape everytime when user clicks print button on my page.is there anyway we can do using javascript.i am doing .net application.

    thanks

  • #2
    No. Javascript has no access to browser settings. Imagine if it can. Just instruct the user to print the page in Landscape.
    Glenn
    vBulletin Mods That Rock!

    Comment


    • #3
      Using style sheets you can specify that a physical page is to be printed in landscape orientation. It's just to bad that none of the browsers out respect that yet.

      Put it in there anyway, one of these days maybe you'll have a user with a browser that does as it's told, meanwhile you'll have to resort to less useful ways to get the user to manually change to landscape.
      Check out the Forum Search. It's the short path to getting great results from this forum.

      Comment

      Working...
      X