http://bugs.winehq.org/show_bug.cgi?id=4268
------- Additional Comments From wine.dev@web.de 2006-22-01 06:11 ------- Hi. For your Comment #39
- Problem with leading space in printer name
Real solution is probably to do the same as Windows does (or what we believe it does), which is trim() of OpenPrinterW() parameter.
The wine testsuite is the place to verify this. I created a Patch for winspool/tests: http://www.winehq.org/pipermail/wine-patches/2006-January/023538.html
My XPsp2_home fails with ERROR_INVALID_PRINTER_NAME in this Test, so i IMHO, the Space in front of the Printername is a bug in ISS@VFP9.
Did you already test: - with all available Service-Pack's / Hotfixes for ISS and VFP9? - without the latest Fixes for ISS and VFP9 (Fixes can also add Bugs)? - with a different Default-Printer? - with a Dfferent App for VFP9 (is the Bug in VFP9 or in ISS)?
It's also Possible, that a bug in a different wine-DLL add the Space. WINEDEBUG="+relay,+seh" produces a very big log. You can use "Debug\RelayExclude" to shrink that log. See: http://wiki.winehq.org/UsefulRegistryKeys
- Missing PrinterDriverData registry key
- Missing PrinterDriverData\FontSubTable key
This is Easy to fix, but we need a testcase for this to verify, if the keys are created by "AddPrinter", created by the Driver or if they are optional and the wine-log should be different.
About "PPD File": This Entry is wine-specific. I updated http://wiki.winehq.org/UsefulRegistryKeys
Did you try to print with a different PPD-File (different Printer)?
- Windows version emulation
fixme:commdlg:PrintDlgExA stub
There is already an Entry for this in Bugzilla: Bug #4342
For your Problem with the wrong Printing-Results: This Problem is gdi32/wineps - specific and i must say sorry, I'm unable to help here.
We should close this BUG as soon, as Issue 1 is fixed (since your Printers are visible in ISS@VFP9 and ISS@VFP9 does Print), and open a new Bugzilla-Entry about the wrong Printing-Results.
I'm working to get PDF-Creation to work inside wine ("http://wiki.winehq.org/PDF"), but there are to mutch parts missing in winspool.drv yet.