<!doctype html>
<meta charset="utf-8">
<iframe sandbox="allow-same-origin allow-scripts allow-modals" src="about:blank" width="0" height="0"></iframe>
<script>
  onload = function() {
    document.querySelector("iframe").contentWindow.print();
  };
</script>
