http://bugs.winehq.org/show_bug.cgi?id=21987
--- Comment #9 from Anastasius Focht focht@gmx.net 2012-05-12 16:29:39 CDT --- Hello,
even with level 2 SetPrinter implemented the installer still shows the error message.
The current "Adobe PDF" printer Wine registry export:
--- snip --- REGEDIT4
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\Adobe PDF] "Attributes"=dword:00001004 "Datatype"="RAW" "Default DevMode"=hex:41,64,6f,62,65,20,50,44,46,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,0a,03,01,00,9c,00,08,00,13,7b,00,00,\ 01,00,09,00,9a,0b,33,08,64,00,01,00,07,00,00,00,02,00,01,00,00,00,03,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 "Default Priority"=dword:00000000 "Description"="" "Location"="My Documents" "Name"="Adobe PDF" "Port"="My Documents\*.pdf" "Print Processor"="WinPrint" "Printer Driver"="Adobe PDF Converter" "Priority"=dword:00000000 "StartTime"=dword:00000000 "Status"=dword:00000000 "UntilTime"=dword:00000000
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\Adobe PDF\PrinterDriverData] "Protocol"=dword:00000000 --- snip ---
Maybe someone can export/dump this registry part from Acrobat 7 tryout install on Windows to compare against.
The private driver-specific data which ought to be returned by printer level 8 query is included in "Default DevMode" data that's for sure.
The current "private" data in Wine registry actually comes from "wineps.drv" defaults:
--- snip --- =>0 0xf71e037a SetPrinterW(printer=0x1, level=0x9, data="...", command=0) [/home/focht/projects/wine/wine-git/dlls/winspool.drv/info.c:2918] in winspool (0x019fb888)
1 0xf6b141d5 PSDRV_FindPrinterInfo+0x41e(name="Adobe PDF") [/home/focht/projects/wine/wine-git/dlls/wineps.drv/init.c:740] in wineps (0x019fbb18)
2 0xf6b12969 PSDRV_CreateDC+0xaf(pdev=0x11a884, driver="wineps.drv", device="Adobe PDF", output="LPT1:", initData=(nil)) [/home/focht/projects/wine/wine-git/dlls/wineps.drv/init.c:294] in wineps (0x019fbb78)
3 0x7e808687 CreateDCW+0x251(driver="wineps.drv", device="Adobe PDF", output="LPT1:", initData=(nil)) [/home/focht/projects/wine/wine-git/dlls/gdi32/dc.c:595] in gdi32 (0x019fbe58)
4 0x7e808838 CreateDCA+0xdc(driver="wineps.drv", device="Adobe PDF", output="LPT1:", initData=(nil)) [/home/focht/projects/wine/wine-git/dlls/gdi32/dc.c:641] in gdi32 (0x019fbea8)
5 0x7e8088d0 CreateICA+0x31(driver="wineps.drv", device="Adobe PDF", output="LPT1:", initData=(nil)) [/home/focht/projects/wine/wine-git/dlls/gdi32/dc.c:658] in gdi32 (0x019fbec8)
6 0x7e83383b GDI_CallExtDeviceMode16+0x196(hwnd=(nil), lpdmOutput=(nil), lpszDevice="Adobe PDF", lpszPort="LPT1:", lpdmInput=(nil), lpszProfile=0x0(nil), fwMode=0) [/home/focht/projects/wine/wine-git/dlls/gdi32/driver.c:1030] in gdi32 (0x019fc508)
7 0xf71dcc2e DocumentPropertiesA+0x1e8(hWnd=(nil), hPrinter=0x0(nil), pDeviceName="Adobe PDF", pDevModeOutput=(nil), pDevModeInput=(nil), fMode=0) [/home/focht/projects/wine/wine-git/dlls/winspool.drv/info.c:1840] in winspool (0x019fc578)
8 0xf71dcdc7 DocumentPropertiesW+0x156(hWnd=(nil), hPrinter=0x0(nil), pDeviceName="Adobe PDF", pDevModeOutput=(nil), pDevModeInput=(nil), fMode=0) [/home/focht/projects/wine/wine-git/dlls/winspool.drv/info.c:1873] in winspool (0x019fc5e8)
9 0xf71df4f4 AddPrinterW+0x60c(pName=0x0(nil), Level=0x2, pPrinter="") [/home/focht/projects/wine/wine-git/dlls/winspool.drv/info.c:2666] in winspool (0x019fc6b8)
10 0xf71dfb02 AddPrinterA+0x12d(pName=0x0(nil), Level=0x2, pPrinter="") [/home/focht/projects/wine/wine-git/dlls/winspool.drv/info.c:2742] in winspool (0x019fc718)
11 0x004e1e3a in msi3446.tmp (+0x1e39) (0x019fc794) 12 0x004e51b9 in msi3446.tmp (+0x51b8) (0x019fe7ec) 13 0x004e2f71 in msi3446.tmp (+0x2f70) (0x00dd8b80) --- snip ---
Maybe the way DocumentPropertiesA/W is implemented skips Adobe PS driver (which might provide this private data)?
Regards