ARTICLE AD BOX
I have one page that call the page for printing. But the problem is I need to go directly on printing page process without opening the dialog box print preview. After printing out page close.
Someone can resolv it in PHP with Javascript.
<script type="text/javascript"> function PrintPage() { window.print(); } window.addEventListener('DOMContentLoaded', (event) => { PrintPage() setTimeout(function(){ window.close() },750) }); </script>