I have a base64 pdf on client side, I want to open the print dialog on same tab in browser but could not find a way to do it.
I explored some answers like window.open()
but it opens print dialog in another tab
Can somebody tell me how to achieve this?