'windows.print() - background to preview window but not to print

I'm using jsPDF. I create a PDF that registers input text in a specific layout.

With this, is their a way to have a background image in the print preview window BUT not actually print the background?

(for printing registration basically).

The paper has a pattern and the print call from Javascript positions the elements to print correctly, but the preview showing the background image and the items registered would be very useful.

I can either: a) create a PDF (jsPDF) that has a non printing background? <- Ideal
b) Or is their a way to use the .print() functions to do so?

Thank you for everyone's time.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source