title: Export word with Print Layout from .mhtml in MVC
body: <p>I am exporting a word document with images which is converted from .mhtml file.
  I referred the below link for exporting the word.</p>
  
  <p><a href="http://www.revium.com.au/articles/sandbox/aspnet-mvc-convert-view-to-word-document/" rel="nofollow">http://www.revium.com.au/articles/sandbox/aspnet-mvc-convert-view-to-word-document/</a></p>
  
  <p>Now the word is getting exported but its in web layout. But I need the document in Print Layout.</p>
  
  <p>Can anyone help me solving this issue.</p>
  
  <p><strong>Edited</strong></p>
  
  <p>I solved the issue with the help of below link</p>
  
  <p><a href="http://forums.aspfree.com/asp-development-5/open-ms-word-documents-print-layout-view-57860.html" rel="nofollow">http://forums.aspfree.com/asp-development-5/open-ms-word-documents-print-layout-view-57860.html</a></p>
  
  <p>You can always reverse engineer it. Open your doc in word. Do it up the way you want it and Save it as html. Open with a text editor and use what you need.</p>
  
  <p>That is what i do.</p>
  
  <pre><code>&lt;head&gt;
  &lt;meta http-equiv=Content-Type content="text/html; charset=us-ascii"&gt;
  &lt;meta name=ProgId content=Word.Document&gt;
  &lt;meta name=Generator content="Microsoft Word 9"&gt;
  &lt;meta name=Originator content="Microsoft Word 9"&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;!--[if gte mso 9]&gt;&lt;xml&gt;
   &lt;o:DocumentProperties&gt;
   &lt;/o:DocumentProperties&gt;
  &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
   &lt;w:WordDocument&gt;
    &lt;w:View&gt;Print&lt;/w:View&gt;
   &lt;/w:WordDocument&gt;
  &lt;/xml&gt;&lt;![endif]--&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>I also added some extra code generated by my word then only I got it correctly.</p>
  
  <p>Hope this will help someone facing the same issue.</p>