jkdil33 0 Newbie Poster

Hi,
I am using the following javascript code for printing a web page
but the webpage is not getting printed fully.Half page is not coming to the A4 sheet


url = "home.aspx"

printscript = "<script language='javascript'>" + "window.print('" + url + "', 'CustomPopUp', " + "'width=1000,height=800,left=0,top=0')" + "</script>"


ClientScript.RegisterStartupScript(Me.GetType(), "Printpage", printscript)

how can I solve it?Please help

Thankx in advance