title: laravel print preview using laravel-dompdf
body: <p>I am using Laravel 5.4 and using  </p>
  
  <pre><code>"barryvdh/laravel-dompdf": "^0.8.0",
  </code></pre>
  
  <p><a href="https://github.com/barryvdh/laravel-dompdf" rel="nofollow noreferrer">https://github.com/barryvdh/laravel-dompdf</a></p>
  
  <p>i have follwoing code in controller</p>
  
  <pre><code>$pdf = PDF::loadView('print.print', $data);
  return $pdf-&gt;download('invoice.pdf');
  </code></pre>
  
  <p>As it will download pdf  properly but i am looking to preview the content in the view to print.
  i have googled lot still not able to get it</p>