[PATCH] XFPRINT support for RLPR

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Tue Jul 15 15:33:39 CEST 2003


On Tue, 15, Jul 2003, Alex Martin wrote:

> Hello everybody,

Hello Alex,

>   I made a patch to allow xfprint to use rlpr instead
> lp or lpr commands.
> File: print.c (CVS HEAD version)

First: Please use the -u switch to diff when you make patches. That
makes them easier to read.

> 74c74,81
> <       if ((lp = g_find_program_in_path("lp")) !=
> NULL) {
> ---
> >       if ((lp = g_find_program_in_path("rlpr")) !=
> NULL) {
> >               filter = xfce_filter_new(lp);
> >               xfce_filter_add(filter, "-P");
> >               xfce_filter_add(filter, "%s",
> pr->name);
> >               xfce_filter_add(filter, "-#");
> >               xfce_filter_add(filter, "%d",
> settings->copies);
> >       }
> >       else if ((lp = g_find_program_in_path("lp"))
> != NULL) {

Thank you, I'll make it an option.

> Regards,
> Alex

Benedikt

> P.S."I would like to send a cvs diff result, but i'm
> experiencing problems to connect to sourceforge cvs"

We all do.

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/



More information about the Xfce4-dev mailing list