title: Open Rotativa print dialog automatically
body: <p>I am using Rotativa to generate a PDF of a view with the intention of printing it.</p>
  
  <p>I have the following code</p>
  
  <pre><code>public ActionResult PrintTicket(string tempTickID)
  {
     //var tick = ctx.vw_printTicket.Where(e =&gt; e.noTicket == tempTickID).FirstOrDefault();
     // return View(tick);
  
      var report = new ActionAsPdf("PrepareTicket", new { tempTickID = tempTickID });
      return report;
  }
  </code></pre>
  
  <p>ActionAsPdf allows me to open the "PrepareTicket" view as a pdf and then I can print.</p>
  
  <p><strong>Problem</strong></p>
  
  <p>The problem for me is this, The pdf takes over my entire page and while I can print I don't have access to my program's menus anymore cause it's now a PDF view.</p>
  
  <p><strong>Questions</strong></p>
  
  <p>Is it possible that I call the print dialog automatically instead of showing the pdf?</p>
  
  <p>I think will work for my situation.</p>
  
  <p>Regards</p>