[PATCH] XFPRINT support for RLPR
Alex Martin
ora12705 at yahoo.com
Tue Jul 15 14:40:27 CEST 2003
Hello everybody,
I made a patch to allow xfprint to use rlpr instead
lp or lpr commands.
File: print.c (CVS HEAD version)
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) {
Regards,
Alex
P.S."I would like to send a cvs diff result, but i'm
experiencing problems to connect to sourceforge cvs"
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
More information about the Xfce4-dev
mailing list