I recently started using a new tool called PrintJS. However, after going through the documentation, I realized that it is not displaying a printer preview window when I try to print. What's intriguing is that there are no JavaScript errors showing up in the console on Chrome. Here is a snippet of my code:
<button type="button" onclick("printJS('JobSheet','html')")>Print Job
Sheet</button>
<link rel="stylesheet" href="{{asset('bundles/css/print.min.css')}}">
<script src="{{asset('bundles/js/print.min.js')}}"></script>
If anyone has any tips or suggestions on how to resolve this issue, I would greatly appreciate it. Thank you!