Hello everyone,
 
I found this beautiful jquery to print pages from html:
- <script>  
 -                       
 -                     function PrintPanelAttachment() {  
 -                         var panel = document.getElementById("<%=pnPrintAttachment.ClientID %>");  
 -                     var printWindow = window.open('', '', 'height=1000,width=900');  
 -                     printWindow.document.write('<html><head><title>Dhipaya Insurance Program</title>');  
 -                     printWindow.document.write('</head><body >');  
 -                     printWindow.document.write(panel.innerHTML);  
 -                     printWindow.document.write('</body></html>');  
 -                     printWindow.document.close();  
 -                     setTimeout(function () {  
 -                         printWindow.print();  
 -                     }, 500);  
 -                     return false;  
 -                 }  
 -                   
 -                 </script>  
 
 How do we change the page orientation from portrait to landscape and vise versa? Also, is it possible to add CSS link? Thank you all for any help.
 
Cheers.