Wen es interessiert...

so habe ich's nun gemacht .....

    <HTML>
    <HEAD>
    <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
    <style type="text/css">

    @media print
        {
                .print_NOW
                {
                        display: block;
                        position: absolute;
                }
                .screen
                {
                        display: none;
                }
                .cont_printel
                {
                        display: none;
                        position: absolute;
                }
    }
        @media screen
        {
                .print_NOW
                {
                        display: none;
                        position: absolute;
                }
                .cont_printel
                {
                        display: none;
                        position: absolute;
                }
                .screen
                {
                        display: block;
                }
        }

    </style>

        <script language="JavaScript">

        function sPrint(w)
        {
                if (document.layers)
                {
                        window.print()
                        return false;
                }
                else
                {
                        //only IE allows media-type printing
                        eval(w + ".className='print_NOW'");
                        window.print();
                        eval(w + ".className='cont_printel'")
                }
        }

        </SCRIPT>
    </HEAD>


<body>
<div class="cont_printel" id="pr1">this is the Graph to show on print and is
pr1</DIV>
<div class="cont_printel" id="pr2">this is the Graph to show on print and is
pr2</DIV>
<DIV class="screen">

<div>This is the Graph to show on screen</DIV>

<A HREF="Javascript:sPrint('pr1')">drucken pr1</A>
<BR>

<A HREF="Javascript:sPrint('pr2')">drucken pr2</A>
</DIV>
</body>
</html>


| [aspdecoffeehouse] als [email protected] subscribed
| http://www.aspgerman.com/archiv/aspdecoffeehouse/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdecoffeehouse.asp

Antwort per Email an