Hi,
i have created visual webpart and applied window.print() on html button type control but it did not work and also i tried by adding window.print() in sharepoint designer using html button control it also did not work but when i used self.print() it worked.
thanks,
Gaurav