Open cedriclajato opened 2 years ago
you can try , more setting -> options -> second option
I have the same problem. How did you solve it?
I have the same problem. How did you solve it?
修改打印设置 彩色选项不要选择黑白
好的,谢谢。请问可以配置成默认是彩色选项吗
好像设置了一次 下次默认就是彩色的了把 不知道有没有其他方法 你可以查下
I used the react-to-print package in React instead
@crabbly Hi, background-color:red not work on headerStyle、gridHeaderStyle、gridStyle how to solve it ?
@crabbly Hi, background-color:red is not work on headerStyle、gridHeaderStyle、gridStyle how to solve it ?
I find solution. Just need to add -webkit-print-color-adjust: exact;
see the docs according to your browser. https://developer.mozilla.org/en-US/docs/Web/CSS/print-color-adjust
@TingNLP This: -webkit-print-color-adjust: exact; really helps. Thanks! <3
<script> function awnow(){ printJS({ printable: 'print', type: 'html', targetStyles: ['*'] }); } </script>