Any guidelines that able to print customize a page with custom header and data passing?
I found a solution, but that is print the repeater/gridview without customize the page..
What i need is print a page with customization.

The Red Cross indicates to remove while in print preview.
Auto Landscape if neccessary.
Thanks for in advanced.

protected void Print(object sender, EventArgs e)
            StringWriter sw = new StringWriter();
            HtmlTextWriter hw = new HtmlTextWriter(sw);
            string gridHTML = sw.ToString().Replace("\"", "'")
                .Replace(System.Environment.NewLine, "");
            StringBuilder sb = new StringBuilder();
            sb.Append("<script type = 'text/javascript'>");
            ClientScript.RegisterStartupScript(this.GetType(), "GridPrint", sb.ToString());

Have you tried to further customize the look and feel of the page for printing using CSS Media Types, @media print? You can then provide customized values for properties and/or display: none to those elements you do not want included in the print.

Hmm.. May i know what is that? @.@

The photo of previous post, is the printpreview of the entire page, but i only need capture the information of gridview, repeater, chart, grandtotal if any.