I need to print the contents between two div tags. The printing is done fine, but somehow if the user checks the "Background Graphics" checkbox in the printing pop up then the background becomes blue which is the actual background color of the web page. Is it possible to force the user to print only in black and white or disable the "Background Graphics" checkbox from the pint pop up? Below is the image of the "Background Graphics" check box that I am talking about:
![XoFGI.png](https://i.stack.imgur.com/XoFGI.png)
I also tried putting this in the page:
<style>
article {
-webkit-print-color-adjust: exact;
background: #222;
color: #eee;
}
</style>
Below is my div tag:
<div>
The contents needs to be printed. This is just a test.
</div>
this is the button that calls the print function:
<asp:LinkButton Width="130px" Height="50px" ID="print" CssClass="btns" runat="server" OnClientClick="printContent('dvContents');return false;" </asp:LinkButton>
any help will be greatly appreciated.