Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
print.phtml
Go to the documentation of this file.
1 <?php
6 ?>
7 <script>
8  require(
9  [
10  'jquery'
11  ],
12  function($) {
13  $(function() {
14  window.print();
15  });
16  }
17  );
18 </script>