[Bug 32556] New: application can not find default printer
http://bugs.winehq.org/show_bug.cgi?id=32556 Bug #: 32556 Summary: application can not find default printer Product: Wine Version: 1.5.20 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: patcomfort(a)yahoo.com Classification: Unclassified Created attachment 42964 --> http://bugs.winehq.org/attachment.cgi?id=42964 debug log file Captools is a financial management (stocks) program. It once had a version for individual investors, but long ago. It still runs well on Win XP. An upgrade is not available. It also runs beautifully on Linux with wine, with one exception. When the program starts, a message pops up which says that a default printer for windows (not the program) has not been selected. A Printer Setup menu item produces the same message. Reports can NOT be generated (even on screen) because there is no recognized printer. The message never happened on Win XP. There is almost no information in the registry for Captools, either on XP or wine. With grep, there is no reference at all to any printer in any file in the program directory, either on XP or in wine. Debug tracing indicates that the CUPS printers are seen. They are properly in the registry. Printing with notebook in wine is perfect. It is also available in regedit. The hardware (2 computers) does not have LPT or COM ports, only USB connections to printers. I have no idea what the program is checking on startup, but something is needed to avoid the default printer message. A debug log is attached. The last few lines of win.ini are: [devices] HL5340=wineps.drv,CUPS:HL5340 HL5340dup=wineps.drv,CUPS:HL5340dup [PrinterPorts] HL5340=wineps.drv,CUPS:HL5340,15,45 HL5340dup=wineps.drv,CUPS:HL5340dup,15,45 [windows] device=hl5340,wineps.drv,CUPS:HL5340 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32556 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal --- Comment #1 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-01-05 13:43:34 CST --- Not major, read http://bugs.winehq.org/page.cgi?id=fields.html#importance If the application was developed for Windows 95 and if it is using EnumPrinters with parameter PRINTER_ENUM_DEFAULT it could result in an empty response [1] but that does not seen to be the case judging by the log attached. [1] - http://source.winehq.org/source/dlls/winspool.drv/info.c#L4623 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32556 --- Comment #2 from Joe Comfort <patcomfort(a)yahoo.com> 2013-01-05 23:20:42 CST --- Thank you for the comments. Although the program might have been originally developed for Win95, I also ran it on WinME. Then the coding was upgraded to run on WinXP, where I used it for many years. By scanning and grepping, there is nothing like EnumPrinters or PRINTER_ENUM_DEFAULT anywhere in the executable or DLL files, nor in the Windows registry. The executable begins with MZ and has a NE header. Is there some additional debugging output that would be helpful? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32556 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |https://web.archive.org/web | |/20020210114746/http://capt | |ools.com/ctwin.exe Ever confirmed|0 |1 --- Comment #3 from Bruno Jesus <00cpxxx(a)gmail.com> --- Confirming in wine 1.7.34. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32556 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com Summary|application can not find |Captools complains the |default printer |default printer is not | |selected in Windows -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32556 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net, | |super_man(a)post.com --- Comment #4 from super_man(a)post.com --- Still an issue 1.7.53 which doesnt come as huge surprise. file --> printer setup gives the error message. Maybe doing this with some debug channel on would indicate where it tries to read printer data. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32556 --- Comment #5 from super_man(a)post.com --- Still complains 1.9 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32556 Reluctant0 <WineHQ(a)gcarl.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |WineHQ(a)gcarl.net --- Comment #6 from Reluctant0 <WineHQ(a)gcarl.net> --- I'm glad to see I'm not the only one trying to keep Captool alive. I just got Captool to find the default printer by changing the driver in the registry entries for printers. The driver that works is wineps16.drv. There are three registry entries related to printers: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts When installing a new virtual drive through PlayOnLinux the driver in these registry entries is set to wineps.drv. This posed no problem for my Quicken98 install. But it's what causes the printer message in Captool. As an example when installing to a new virtual drive HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows is set to PDF,wineps.drv,CUPS:PDF and should be changed to PDF,wineps16,CUPS:PDF I made this change in the three keys above and the printer message went away. I noted that running Captool updated the WIN.INI [windows] entry to match the registry. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32556 --- Comment #7 from Bruno Jesus <00cpxxx(a)gmail.com> --- Still in wine 1.9.19-git, just confirmed with a very old 16-bit Brazilian software. It complains that printers are not found and gives up, when changing wineps.drv to wineps16 the program is able to start. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32556 --- Comment #8 from Joe Comfort <patcomfort(a)yahoo.com> --- I have tried the adjustments recommended in Comment #6 with each recent version of Wine that has been released. I also found more places to apply wineps16. I confirm that the bug still exists. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32556 --- Comment #9 from Reluctant0 <WineHQ(a)gcarl.net> --- Joe, when you say "I also found more places to apply wineps16" do you mean more registry entries or more applications that will work. Thanks -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32556 --- Comment #10 from Joe Comfort <patcomfort(a)yahoo.com> --- The places were in the registry. I simply did a grep on wineps, found some other locations, and added them to the list. All of the wineps.drv entries in system.reg and user.reg now have wineps16.drv. On my Windows XP computer, there is a registry block for HKEY_Current_User/Printers. It contains entries for various printers. The block in not present in the Wine registry. I thought of creating one, but the data for the entries are binary and I have no idea how they are created or updated. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org