http://bugs.winehq.com/show_bug.cgi?id=921
------- Additional Comments From z_god@wanadoo.nl 2003-21-06 06:25 ------- Bug comments restored from Gmane.org:
The documentation on Wine printing suggests that the best solution to printing under Wine is to use CUPS - that if you have CUPS set up, printing "just works"
Wrong - Wine cannot correctly identify what printers I have under CUPS, nor can it configure them - in fact most attempts to manipulate print setup cause Wine to fault.
Until Wine and CUPS actually get along, I would suggest the documentation be changed to reflect this.
------- Additional Comments From marcus <at> jet.franken.de 2002-11-12 16:26 ------- what is wrong? what symptoms show that CUPS might not work correctly?
can you send a trace with -debugmsg +winspool ?
------- Additional Comments From bunk <at> fs.tum.de 2002-11-17 18:59 ------- Perhaps the submitter sees something similar to the error messages I see:
<-- snip -->
err:psdrv:PSDRV_PPDGetNextTuple Error in line '*CloseUI *stpBrightness'? To use WINEPS you need to install some AFM files. fixme:winspool:AddPrinterW DocumentPropertiesW on printer 'L"hpdj400"' fails
<-- snip -->
This is with the 20021031 Wine package in Debian unstable. I'll attach the output of "debugmsg +winspool".
------- Additional Comments From bunk <at> fs.tum.de 2002-11-17 19:00 ------- Created an attachment (id=336) --> (http://bugs.winehq.com/attachment.cgi?id=336&action=view) output of "debugmsg +winspool"
------- Additional Comments From dclark <at> akamail.com 2002-11-17 19:37 ------- Unfortunately, a typo has crept into a number of CUPS ppd files. The line: *CloseUI *stpBrightness is incorrect, and should read: *CloseUI: *stpBrightness ________^
Apparently the CUPS software does not care about the typo, but Wine does. Since this typo is so prevalent, it might be worth it for Wine to implement a workaround, but that bug is the fault of CUPS, not Wine. To get rid of that problem, just edit the PPD file and add the colon.
------- Additional Comments From wowbagger <at> sktc.net 2002-11-17 21:29 ------- The last time I tried to install CUPS and then use printing under Wine (which was about the time I filed this bug, so things may have changed), any attempt to access the printing function of a Windows app running under Wine would cause Wine to segfault.
I was told (in the Winedev mailing list) that the problem was that the PPD files that CUPS returned to Wine were not in a format that Wine could understand, and that was causing the fault.
I then pointed out (in Winedev) that the documentation said that printing under Wine with CUPS "just worked" and that in fact it did not "just work".
I was told to file a bug, and I did.
Now, since I got fed up with several of the things that CUPS did to my printing services just under normal Linux, I removed it and went back to LPDng. Since I have no intention of trying CUPS again (since what I have works) I cannot check if the problems have been fixed or not.