[cairo] color dithering during print

Adrian Johnson ajohnson at redneon.com
Thu Sep 24 15:25:37 PDT 2015


On 25/09/15 00:57, Patrick Fritzsch wrote:
> Hello,
> 
>  
> 
> i have a "KONICA MINOLTA 423 PCL" printer with "Print With Black"
> option. When "Print With Black" is active a gray shading gets printed as
> black. I use cairo with a win32_printing_surface backend.
> 
>  
> 
> Is there a way, where I can activate color dithering during GDI print
> with cairo?

Not with cairo. You would need to configure this in the DEVMODE
structure before creating the DC. See the pdftocairo source for an
example of how to do this:

http://cgit.freedesktop.org/poppler/poppler/tree/utils/pdftocairo-win32.cc#n362

> 
>  
> 
> Best regards,
> 
> Patrick
> 
> 
> 



More information about the cairo mailing list