title: Chrome: window.print vs ctrl + p
body: <p>I have a internet project where users print a lot. So we add "print button" in every page.</p>
  
  <p>It work's fine in all browser, but google chrome.</p>
  
  <p>This button just call "javacript:window.print". But when pressed, chrome opens new tab "chrome://print" just like when <kbd>CTRL</kbd>+<kbd>P</kbd> is typed.</p>
  
  <p>But with <kbd>CTRL</kbd>+<kbd>P</kbd> print preview is showed fine.
  With "window.print" we get this message: "<em>Print is unavailable because the page you were trying to print has been closed.</em>"</p>
  
  <p>How can I solve this?</p>