Landscape printing css IE11 mvc5 razor
<p>So I have been searching for how to print a pretty basic razor html page and really haven't found an answer. The page in question just has a regular html table and some viewbag data. Printing in landscape mode used to be really simple so I'm having a hard time believing this is a functionality that just disappeared. 
I am using IE 11 and CSS3, an MVC5 project with razor. It does not need to be functional in any other browser either.
here's all the things I have tried</p>

<p>example 1: does not change print landscape, the double @'s are to escape the razor @ usage</p>

<pre><code> @@media print
{@@page {size: landscape}}
</code></pre>

<p>example 2: also does not change print landscape</p>

<pre><code>@media print{@page {size: landscape}}
</code></pre>

<p>example 3:
for this one I tried a bunch of different variations with the margins and the width and height settings. I also tried changing body to @page, @@page, and to a div IDs or class names. It sort of works, but it never takes up the full page length and is always shifted in some direction or another.</p>

<pre><code>&lt;style type="text/css" media="print"&gt;
         body{
             margin: 150px 10px 20px 50px;
                -ms-transform: rotate(90deg); 
                -webkit-transform: rotate(90deg); 
                transform: rotate(90deg);
             width: 10px;
            }
    &lt;/style&gt;
</code></pre>

<p>I feel like there has to be a way to do this, it used to be pretty simple by using this example.</p>

<p>example 4: however this one also does not change print orientation and instead gives the error of "CSS3.0: size is not a known CSS property name."</p>

<pre><code>    &lt;style type="text/css" media="print"&gt;
                 @page {
size: landscape;
}
            &lt;/style&gt;
</code></pre>

<p>Any help would be really appreciated, I know there are several threads on this topic, however none of the answers did it for me.
Here are the threads I checked out, I checked out more, but these seemed to have the most varied answers so I included them.</p>

<ol>
<li><a href="https://stackoverflow.com/questions/7201580/landscape-printing-with-css?rq=1">Landscape printing with CSS</a> </li>
<li><a href="https://stackoverflow.com/questions/31969122/how-to-print-html-in-landscape">How to print HTML in landscape?</a> </li>
<li><a href="https://stackoverflow.com/questions/138422/landscape-printing-from-html">Landscape printing from HTML</a></li>
</ol>