JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
<body>

<button onclick="myFunction()">Try it</button>

<script>
  function myFunction() {
  popup = window.open("http://192.168.1.104:1007/print/coupon", "Popup", "width=500,height=500");
  popup.focus();
}
</script>

</body>
</html>