title: print web page with F4 size with php/css/javascript/jquery?
body: <p>I want print my web page which the content is letter with paper's size F4 or Folio,but i have problem when print it in browser the web page always printed with A4/letter size. How to make it defaults to F4 or Folio so User not must setting again the paper size print setup ? anyways there is no setting for the size of F4 in my browser....</p>
  
  <p>thanks for advance and this my code :</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Coba Print&lt;/title&gt;   
          &lt;link rel="stylesheet" type="text/css" media="print" href="print.css" /&gt;        
          &lt;link rel="stylesheet" type="text/css" media="screen" href="screen.css" /&gt;  
      &lt;/head&gt;            
      &lt;body&gt;
         ....here the letter
      &lt;/body&gt;  &lt;/html&gt;
  </code></pre>
  
  <p>Print.css</p>
  
  <pre><code>html{
      width: 8.5in;
      height: 13in;
  }
  body{ 
      width: 6.5in;
      padding: 0;
      margin: 1in 1in 1in 1in;
      font-size: 12pt; 
      page-break-inside: avoid;
  }
  </code></pre>
  
  <p>screen.css</p>
  
  <pre><code>body{
      background: #aaa;
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/FZj1y.png" alt="NO F4 Size in browser setting"></p>