patch for cups printers

Joerg Mayer jmayer at loplof.de
Tue Apr 30 14:42:07 CDT 2002


Just a very late addition to this discussion: I'm using cups 1.1.12 from
Suse 8.0 and "cat file | lpr -Pprintername" works fine.

  ciao
         Jörg

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


--
Joerg Mayer                                          <jmayer at loplof.de>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.




More information about the wine-devel mailing list