title: MVC - Print pdf automatically
body: <p>We have a grid which shows invoices. Users should be able to select all or a subset of invoices and print. We are stuck at the part of printing. We are using Telerik Reporting to generate the PDF for us. Below is a section of the code which does the work</p>
  
  <pre><code>        ReportProcessor rp = new ReportProcessor();
          RenderingResult result = rp.RenderReport("PDF", book, null);
          Response.Clear();
          Response.ContentType = result.MimeType;
          Response.BinaryWrite(result.DocumentBytes);
          Response.End();
          return new FileStreamResult(Response.OutputStream, "application/pdf");
  </code></pre>
  
  <p>Now instead of openning these invoices in a separate window we would like the invoices to be printed automatically (the user might get the print dialog where they can change settings). At the moment it opens in another window and the user has to manually go and print which is what we dont want.</p>
  
  <p>Does anybody know how to achieve automatic printing of these invoices. Please note this is an MVC based project and is internet based.</p>