code is hear
var d=new Date();
window.frames["print_frame"].document.body.innerHTML = '<HTML>\n<head>\n<title>CLS -' + d.getTime() +'</title>\n<link href="<?php echo JURI::base();?>templates/cls/css/style.css" rel="stylesheet" type="text/css" />\n</head>\n<body>' + document.getElementById('result_content').innerHTML + "</body>\n</HTML>" ;
window.frames["print_frame"].window.focus();
setTimeout('window.frames["print_frame"].window.print()',300);
this code is work fine but when it is print then not print with css style...