Window.print () does not work

Use custom element (see link above)