Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2004
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Window.Print Parameters?

    Hey I don't know if this is even possible, but if I have a window.Print command is there a way to set the printing preference to Landscape by default. I have this table and I got it as small as possible but the print still gets cut off to the right. The only solution is printing in Landscape.

    any ideas.

    Thanks
    Dean Forant
    Programmer

    Delta Mechanical Seals
    44 Probber Lane
    Fall River, MA 02720
    (508)324-1409

  • #2
    Regular Coder
    Join Date
    Mar 2006
    Posts
    726
    Thanks
    35
    Thanked 132 Times in 123 Posts
    <style type="text/css" media="print">
    body{page:landscape}
    </style>

    This style setting (with media print) will do what you want in firefox and the other 1+ mozillas, and opera, but not IE6-
    I don't know if the next IE will be able to handle it...


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •