Duane Clark wrote:
Currently, using the Wine supplied print dialog, printing to a file results in a file named "FILE:".
Yes, that's bug # 3975
It looks to me like the correct place to do this is in gdi/printdrv.c CreateSpoolFile().
Using dlls/gdi/printdrv.c for Printing is the old win3.1 - Style.
We should not duplicate the code from winspool.drv in gdi, but should call winspool.drv for all print-related functions.
The Magic for "FILE:" is already in dlls/winspool.drv/info.c in StartDocDlgA / StartDocDlgW
Thanks for looking at printing in wine.
My direction to fix printing in wine is from low-level to high-level. Print-Monitors are already managed in git-HEAD, and they are loaded and used in my tree (Port-Functions). Afterwards, the Printer-Functions will be updated and then "gdi.exe" (16-Bit) is no longer required for printing.