<input type="button" name="Submit2" value="Imprimir" onClick="parent.frames['mainFrame'].focus(); window.print();">