I would like to know how to open this preview preview window of IE by javascript, I need a button that opens this window, without having to go through it through the settings.
Use the print
method of the window
object.
window.print()
If you want to bind to the click of a button it would look like this:
<input type="button" name="imprimir" value="Imprimir" onclick="window.print();">