patch for cups printers

Dmitry Timoshkov dmitry at baikal.ru
Mon Apr 29 18:55:34 CDT 2002


"Michael Cardenas" <michael.cardenas at lindows.com> wrote:

> --- 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);

Something tells me that two '4's above should be replaced by '5's ...

-- 
Dmitry.







More information about the wine-devel mailing list