Re: patch for cups printers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> --- winehq/dlls/gdi/printdrv.c	Thu Mar 28 17:22:05 2002
> +++ wine/dlls/gdi/printdrv.c	Mon Apr 29 15:29:42 2002
> @@ -482,6 +482,8 @@
>  
>      if (!strncmp("LPR:",pszOutput,4))
>        sprintf(psCmd,"|lpr -P%s",pszOutput+4);
> +    if (!strncmp("CUPS:",pszOutput,4))
> +      sprintf(psCmd,"|lp -d%s",pszOutput+4);
>      else
>      {
>  	HKEY hkey;


This is wrong, the else { } is handled in the LPR: case too so you break
/etc/printcap based printing.

Ciao, Marcus



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux