http://bugs.winehq.org/show_bug.cgi?id=3864
--- Comment #20 from Detlef Riekenberg wine.dev@web.de 2012-10-13 05:13:46 CDT --- As mentioned before, the next step is moving AddPrinterW to localspl. To make this possible, we need to use unicode functions to call wineps (or the same function in Windows Printer drivers)
Current call path (used by AddPrinterW): DocumentPropertiesW in winspool.drv call DocumentPropertiesA DocumentPropertiesA call old win3.1 function in gdi32. (GDI_CallExtDeviceMode16) GDI_CallExtDeviceMode16 in gdi32 call ExtDeviceMode in the Driver
Expected call path: Win3.1 api in gdi32 must call winspool.drv DocumentPropertiesA in winspool.dev must use DocumentPropertiesW DocumentPropertiesW must call the driver
The needed functions in wineps are still ANSI. I have some code for this, but my code need a sync to current git and a split in nice small patches.