printer spooler change

Mariusz Kiełpiński kielpi at poczta.onet.pl
Wed Mar 15 14:25:28 CST 2006


I noticed problem with lpr command during printing, so I made a small patch.
lp comes with cups in Debian so I think it is a good idea to this small 
change.
Here it is

? wine.15.03.06.19.02.59.diff
? dlls/msvideo/Makefile
? dlls/win32s/Makefile
? dlls/winsock/Makefile
? dlls/winsock/libws2_32.def
? dlls/winsock/version.res
? dlls/winsock/tests/Makefile
? dlls/winsock/tests/testlist.c
Index: dlls/gdi/printdrv.c
===================================================================
RCS file: /home/wine/wine/dlls/gdi/printdrv.c,v
retrieving revision 1.46
diff -u -p -1 -r1.46 printdrv.c
--- dlls/gdi/printdrv.c	12 Sep 2005 10:30:06 -0000	1.46
+++ dlls/gdi/printdrv.c	15 Mar 2006 18:03:01 -0000
@@ -471,3 +471,3 @@ static int CreateSpoolFile(LPCSTR pszOut
     if (!psCmd[0] && !strncmp("LPR:",pszOutput,4))
-        sprintf(psCmd,"|lpr -P%s",pszOutput+4);
+        sprintf(psCmd,"|lp -d'%s' ",pszOutput+4);









More information about the wine-patches mailing list