http://bugs.winehq.org/show_bug.cgi?id=17354
--- Comment #14 from Kenneth Robinette support@securenetterm.com 2011-01-01 08:42:52 CST --- (In reply to comment #13)
(In reply to comment #12)
(In reply to comment #11)
Is this still an issue in current (1.1.29 or newer) wine?
Just retested with 1.1.29 -- still an issue.
I just tried this on Mac OSX, Snow Leopard 10.6.5, Wine version 1.3.9 installed by MacPorts with XQuartz version 2.6.0. Each time a Windows based WINE program tries to print, it fails with the following dialog message: "Before you can perform printer-related tasks such as page setup or printing a document, you need to install a printer. Please install one and retry." The following message is displayed in the log: fixme:winspool:WINSPOOL_EnumPrintersW We don't handle PRINTER_ENUM_CONNECTIONS All normal Mac programs can use the printer attached to the Mac. None of the wine based Windows programs can print including the wine included Notepad program. The printer is network shared and is physically attached to a Micosoft XP system.
I see the problem. In MacBool Pro OS/x 10.6.5 the /etc/printcap file is not present, however the /etc/cups/printers.conf file is being updated to reflect any printer that is defined. The creation of /etc/printcap depends on the CUPS configuration (according to http://cups.org/doc-1.3/ref-cupsd-conf.html#Printcap). As far as I can tell, CUPS in OS X is configured not to create the file by default. If you manually create a valid /etc/printcap file, WINE printing will work.