title: How to print jQuery datatable in landscap mode
body: <p>I am trying to print datatable in landscape mode, here is my code which i am using:</p>
  
  <pre><code>var table = jQuery('#dyntable_client_orders').DataTable({
      lengthChange: true,
      //responsive: false,
      buttons: ['copy', 'excel', 'pdf', 'colvis',{
              extend: 'print',
              customize: function ( win ) {
                  console.log(win.styleMedia.type);
                  win.styleMedia.type = 'print';
  
              }
          }]
  });
  </code></pre>
  
  <p>I also tried this:</p>
  
  <pre><code>var table = jQuery('#dyntable_client_orders').DataTable({
      lengthChange: true,
      //responsive: false,
      buttons: ['copy', 'excel', 'pdf', 'colvis',{
              extend: 'print',
              orientation: 'landscape'
          }]
  });
  </code></pre>