Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Web Printing?

Options
  • 01-09-2004 11:19am
    #1
    Closed Accounts Posts: 216 ✭✭


    Hey,

    having a bit of a problem with printing ASP webpages. I'm looking to print an image in a landscape orientation as oppossed to the standard setup on my printer which is portrait. However, I do not want to have to change it manually in the printer dialogue box.

    I have tried only one idea which I got off another board. Using the CSS to setup the image in landscape print mode, but am having nothing but trouble. Below is the code I was borrowing to try this?

    Any help or idea?

    Cheers

    <style type="text/css" media="print">
    @page port {size: portrait;}
    @page land {size: landscape;}
    .graphport { page: port; }
    .graphland { page: land ;}
    </style>

    <body>
    <img class="graphport" src="cards.gif">
    </body>


Advertisement