Page 1 of 1

Printer friendly print without color

Posted: Wed Sep 30, 2020 3:17 am
by Neelima
Hi,

When we export as printer friendly the preview shows colors but when we save as pdf it preview without color and save pdf without color.

Current filters: block appears in color but table header and data grid are without color and border.

Any idea why this happens ?

I enabled the print background and color option .

Thanks

Re: Printer friendly print without color

Posted: Wed Sep 30, 2020 8:14 am
by mobhar
It could be happened, since Export to Print (Printer Friendly) does not use the specific class to change the . In other words, this feature only gets the data with style from the default theme that used by your web application.

However, you may actually create your own class that extends the ExportBase class in order to change the style of Printer Friendly feature.

For your reference, please read "Example 1" from "Server Events and Client Scripts" -> "Global" -> "All Pages" -> "Global Code".

Re: Printer friendly print without color

Posted: Wed Sep 30, 2020 11:40 am
by arbei
You may try customize the ewpdf.scss in the dompdf extension.

Re: Printer friendly print without color

Posted: Sat Jan 21, 2023 5:14 pm
by BobbyLuashy

A printer-friendly print is a version of a document or webpage that is optimized for printing, typically by removing or simplifying elements that are not necessary for the printed version. This can include things like images, background colors, and other formatting that may not be necessary or may use up a lot of ink.