Use this code below :
function callPrint(ctrId)
{
var prtContent = document.getElementById(ctrId);
var winPrint = window.open('','','left=0,top=0,width=1,height=1
,toolbar=0,scrollbars=0,status=0');
winPrint.document.write(prtContent.innerHTML);
winPrint.document.close();
winPrint.focus();
winPrint.print();
winPrint.close();
}
Just call the javascript method, it will print the content of the div of id ctrId.
:rose: