--- winehq/dlls/gdi/printdrv.c Thu Mar 28 17:22:05 2002 +++ wine/dlls/gdi/printdrv.c Tue Apr 30 10:41:32 2002 @@ -480,7 +480,9 @@ if (pszOutput == NULL || *pszOutput == '\0') return -1; - if (!strncmp("LPR:",pszOutput,4)) + if (!strncmp("CUPS:",pszOutput,5)) + sprintf(psCmd,"|lp -d%s",pszOutput+5); + else if (!strncmp("LPR:",pszOutput,4)) sprintf(psCmd,"|lpr -P%s",pszOutput+4); else {