Window.print () does not work

so how to fix?