Currently, on my web application, the vendor is able to print the invoice using windows.print(). However, in the print preview, it displays a screenshot of the current page. The vendor has specific printed paper with their own details and some blank space reserved for printing text only. I am looking for a way to print only the text on this sheet without any styles or tables.
Is there a method to achieve this, such as through media queries or another technique?
Thank you