Blank Page for pdf printing using printJS library on safari.

After the latest safari update and ventura os update, pdf print no longer works using the printJS library. I can see that the pdf print works on every other browser, this is just an issue specific to Safari. I know that this was also an issue in the past for the printJS library that was resolved, but it is back again. Is there a solution that anyone can suggest?

Blank Page for pdf printing using printJS library on safari.
 
 
Q