title: Display mode of Word document generated in PHP
body: <p>I want to export a page to a .doc file but when I open the generated .doc it opens in weblayout-view instead of print-view. This is ugly and confusing. Is there a way to set it to print-view? </p>
  
  <p>The script I use to generate the doc:</p>
  
  <pre><code>&lt;?php  if(isset($_GET['word'])) {
      header("Content-Type: application/vnd.ms-word");
      header("Expires: 0");
      header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
      header("content-disposition: attachment;filename=test.doc");
  }
  ?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"&gt;
    &lt;title&gt;Example&lt;/title&gt;
    &lt;style type="text/css"&gt; /* SOME STYLING */ &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h1&gt;Hello StackOverflow!&lt;/h1&gt;
    &lt;p&gt;Lorem ipsum...&lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And now that i'm here is it possible to add word-checkboxes ☒ and word-input fields?</p>