The ‘print’ window is created by your browser, not by Javascript (Javascript just says ‘hi browser, could you print this for me?). Luckily, browsers do not allow the ‘close’ and ‘minimize’ button to be disabled, as this would create a VERY unfriendly user experience (just imagine sites that ‘force’ you to print a million pages for them). So, there’s no ‘how to’ answer to your question, and that makes the world a better place.
1
solved Disable close and minimize option