Simple printing using JS Print Setup not working

Here’s how it should look like [ pdf capture ]