HttpContext.Current.Response.OutputStream.Write(b, 0, b.Length);
HttpContext.Current.Response.Write("<script>window.print();</script>");