http://bugs.winehq.org/show_bug.cgi?id=21987
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer URL|http://www.adobe.com/produc |http://ardownload.adobe.com |ts/acrobatpro/tryreg.html |/pub/adobe/acrobat/win/7x/7 | |.0/misc/AcTR7EFG.exe CC| |focht@gmx.net Depends on| |18231 Summary|Acrobat 7 tryout complains: |Acrobat 7 tryout installer |This Postscript Driver or |complains: "This Postscript |Windows Platform (Win9x/Me) |Driver or Windows Platform |not supported |(Win9x/Me) not supported" | |(winspool.drv missing level | |8/global default printer | |settings handling)
--- Comment #1 from Anastasius Focht focht@gmx.net 2012-03-11 12:11:14 CDT --- Hello,
confirming, needs bug 18231 workaround as prerequisite (enable spooler service).
Relevant part of trace log:
--- snip --- 0026:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 100 L"Action 17:51:24: SetupPrinterDevMode. Customizing the Adobe PDF printer" ... 0026:trace:msi:ACTION_CustomAction Handling custom action L"SetupPrinterDevMode" (c41 L"AdobeIsf" L"SetupDeviceMode") ... 0026:trace:msi:HANDLE_CustomType1 Calling function L"SetupDeviceMode" from L"C:\users\focht\Temp\msid15b.tmp" ... 0040:Call winspool.drv.OpenPrinterA(019fe608 "Adobe PDF",019fe5f4,019fe5d4) ret=009f5364 ... 0040:fixme:winspool:OpenPrinterW PRINTER_DEFAULTS ignored => (null),(nil),0x000f000c ... 0040:Ret winspool.drv.OpenPrinterA() retval=00000001 ret=009f5364 0040:Call winspool.drv.SetPrinterDataA(00000001,009f9e54 "Protocol",00000004,019fe5e8,00000004) ret=009f538c 0040:Call advapi32.RegCreateKeyW(80000002,f71f1500 L"System\CurrentControlSet\Control\Print\Printers",019fe47c) ret=f71d844d 0040:Ret advapi32.RegCreateKeyW() retval=00000000 ret=f71d844d 0040:Call advapi32.RegOpenKeyW(00000130,00ed3740 L"Adobe PDF",019fe4d8) ret=f71d847a 0040:Ret advapi32.RegOpenKeyW() retval=00000000 ret=f71d847a 0040:Call advapi32.RegCloseKey(00000130) ret=f71d84f9 0040:Ret advapi32.RegCloseKey() retval=00000000 ret=f71d84f9 0040:Call advapi32.RegCreateKeyA(00000134,f71f2885 "PrinterDriverData",019fe4d4) ret=f71e75d2 0040:Ret advapi32.RegCreateKeyA() retval=00000000 ret=f71e75d2 0040:Call advapi32.RegSetValueExA(00000130,009f9e54 "Protocol",00000000,00000004,019fe5e8,00000004) ret=f71e7678 0040:Ret advapi32.RegSetValueExA() retval=00000000 ret=f71e7678 0040:Call advapi32.RegCloseKey(00000130) ret=f71e7689 0040:Ret advapi32.RegCloseKey() retval=00000000 ret=f71e7689 0040:Call advapi32.RegCloseKey(00000134) ret=f71e7697 0040:Ret advapi32.RegCloseKey() retval=00000000 ret=f71e7697 0040:Ret winspool.drv.SetPrinterDataA() retval=00000000 ret=009f538c ... 0040:Call winspool.drv.GetPrinterA(00000001,00000002,00000000,00000000,019fe5e4) ret=009f53d4 ... 0040:Ret winspool.drv.GetPrinterA() retval=00000000 ret=009f53d4 ... 0040:Call winspool.drv.GetPrinterA(00000001,00000002,00ed1920,000001de,019fe5e4) ret=009f53f3 0040:Call ntdll.RtlAllocateHeap(00110000,00000000,000001de) ret=f71e2e73 0040:Ret ntdll.RtlAllocateHeap() retval=00ed2ca8 ret=f71e2e73 0040:Call advapi32.RegCreateKeyW(80000002,f71f1500 L"System\CurrentControlSet\Control\Print\Printers",019fe474) ret=f71e28ca 0040:Ret advapi32.RegCreateKeyW() retval=00000000 ret=f71e28ca 0040:Call advapi32.RegOpenKeyW(00000130,00ed3740 L"Adobe PDF",019fe478) ret=f71e293d 0040:Ret advapi32.RegOpenKeyW() retval=00000000 ret=f71e293d ... 0040:Ret winspool.drv.GetPrinterA() retval=00000001 ret=009f53f3 0040:Call winspool.drv.SetPrinterA(00000001,00000002,00ed1920,00000000) ret=009f5407 0040:fixme:winspool:SetPrinterA (0x1,2,0xed1920,0): stub 0040:Ret winspool.drv.SetPrinterA() retval=00000000 ret=009f5407 0040:Call winspool.drv.ClosePrinter(00000001) ret=009f540f ... 0040:Call winspool.drv.GetPrinterA(00000001,00000008,00000000,00000000,019fe84c) ret=009f5608 0040:Call advapi32.RegCreateKeyW(80000002,f71f1500 L"System\CurrentControlSet\Control\Print\Printers",019fe4a4) ret=f71e28ca 0040:Ret advapi32.RegCreateKeyW() retval=00000000 ret=f71e28ca 0040:Call advapi32.RegOpenKeyW(00000130,00ed3740 L"Adobe PDF",019fe4a8) ret=f71e293d 0040:Ret advapi32.RegOpenKeyW() retval=00000000 ret=f71e293d 0040:fixme:winspool:GetPrinterW Unimplemented level 8 ... 0040:Ret winspool.drv.GetPrinterA() retval=00000000 ret=009f5608 ... 0040:Call winspool.drv.GetPrinterA(00000001,00000008,00ed16b8,00000000,019fe84c) ret=009f562a 0040:Call advapi32.RegCreateKeyW(80000002,f71f1500 L"System\CurrentControlSet\Control\Print\Printers",019fe4a4) ret=f71e28ca 0040:Ret advapi32.RegCreateKeyW() retval=00000000 ret=f71e28ca 0040:Call advapi32.RegOpenKeyW(00000130,00ed3740 L"Adobe PDF",019fe4a8) ret=f71e293d 0040:Ret advapi32.RegOpenKeyW() retval=00000000 ret=f71e293d 0040:fixme:winspool:GetPrinterW Unimplemented level 8 ... 0040:Ret winspool.drv.GetPrinterA() retval=00000000 ret=009f562a 0040:Call user32.MessageBoxA(00000000,009f9e60 "This Postscript Driver or Windows Platform (Win9x/Me) not supported",009f9ea4 "Setup Devmode",00000010) ret=009f5778 --- snip ---
Printer data under "HKLM\System\CurrentControlSet\Control\Print\Printers\Adobe PDF":
--- snip --- [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\Adobe PDF] "Attributes"=dword:00000004 "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 "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 ---
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/dd144911%28v=vs.85%2...
The problem seems to be missing level 8/PRINTER_INFO_8 handling (global default printer settings).
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/dd162851%28v=vs.85%2...
Wine source: http://source.winehq.org/git/wine.git/blob/915ddc4026f318e5665670d4b76930edf...
--- snip --- 3758 BOOL WINAPI GetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, 3759 DWORD cbBuf, LPDWORD pcbNeeded) 3760 { ... 3787 switch(Level) { ... 3902 default: 3903 FIXME("Unimplemented level %d\n", Level); 3904 SetLastError(ERROR_INVALID_LEVEL); 3905 RegCloseKey(hkeyPrinters); 3906 RegCloseKey(hkeyPrinter); 3907 return FALSE; 3908 } ... 3917 return ret; 3918 } --- snip ---
Adjusting download link (old one was busted).
$ du -sh AcTR7EFG.exe 116M AcTR7EFG.exe
$ sha1sum AcTR7EFG.exe 4f1ff389ea71f21d624083d65bbe5a74e4760079 AcTR7EFG.exe
$ wine --version wine-1.4-78-g94953f1
Regards