Printing on Windows?

I think the most promising approach is indeed to target the native Windows API for printing. I can’t comment on how hard it could be as I’m not a Windows user. That being said it may not that very hard as CUPS is only used to get the printer name, hard margin and the set of supported paper with the corresponding sizes. I suppose Windows propose all this. From there dt create a PDF internally and send it to the printer.