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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Web Printing?

  • 01-09-2004 10: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