<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <style>
      @page { size: landscape; }
    </style>
  </head>
  <body>
    <div>Test</div>
  </body>
</html>