Hi friends,

I need to do printing...I can do printing with the following code

Code:
 var targetElement = Ext.getCmp('bidAssessmentGrid');
                        var myWindow = window.open('', '', 'width=200,height=100');
		        myWindow.document.write('<html><head>');
		        myWindow.document.write('<title>' + 'Title' + '</title>');
		        myWindow.document.write('</head><body>');
		        myWindow.document.write(targetElement.body.dom.innerHTML);
		        myWindow.document.write('<br>');
		        myWindow.document.write('</body>');
		        
		        myWindow.document.write('</html>');
		        myWindow.print();
		        myWindow.close();
Now my problem is i need to add the value of label too with this printing .I added the line

Code:
var actionMsg = actionMsgLabel.getText();
and
Code:
myWindow.document.write(actionMsg .body.dom.innerHTML);
.actionMsg is printing in the middle of the page .I need to print at the bottom of the page..

Any help is much appreciated

Thanks in advance