Skip to content

Windows printing #19856

@Cjhemmer

Description

@Cjhemmer

I'm developing an extension of the Linux print module in DT to allow for printing on Windows. I already have a Windows version of the commands needed to compose the printed page, like in Linux and to collect installed printer information. My final hurdle is Windows color management. Windows printing basically sends a bitmap (BitBlt) to the printer and can either be given an .icc profile to use as a specific file, reference an embedded .icc profile header in the BitBlt provided the .icc is installed in Windows, or told to default to sRGB. That means I need to know the source color profiles from Darktable, which I believe are not exposed as .icc profiles. Is that correct? If not, where are they stored in the file structure (LittleCMS?)?

If my assumptions are correct, I think my best approach is to, in the absence of specific paper profiles from the manufacturer (which I handle separately), by default windows printing and the composition of the print file out of DT should assume sRGB (the profile selection in the bottom part of the DT print module, not the paper profile above)?

Looking for guidance from Pascal, author of the CUPS based printing, or others who understand the pipeline better. Would love to get a draft of this into v5.5 in the new year.

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty: hardbig changes across different parts of the code basefeature: newnew features to addscope: color managementensuring consistency of colour adaptation through display/output profilesscope: printall cups and printing related issuesscope: windows supportwindows related issues and PR

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions