title: Open print dialog receiving a pdf file from controller C#
body: <p>I have a controller that is returning a pdf file, this is temporary save in a local folder. It is possible to open a print dialog directly with out open the pdf file using javascript??</p>
  
  <pre><code>public ActionResult LoadDownloadAndPrint(string Download)
  { return File(System.IO.File.ReadAllBytes(target);)
  </code></pre>
  
  <p>The file is saved in C:\Windows\Temp\3ac416b7-7120-4169-bc4d-61e105ec197c\output.pdf</p>
  
  <p>I've have tried to used embed tag like in this thread <a href="https://stackoverflow.com/questions/16239513/print-pdf-directly-from-javascript">Print PDF directly from JavaScript</a> but did not work I guess because is a local place where the file is stored.</p>