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                                          <[EMAIL PROTECTED]>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.


Reply via email to