Fix lprng printers sharing, samba-3.0.3pre2
idra at samba.org
Thu Apr 15 13:06:28 GMT 2004
Don't think so, you should put whatever the user choose to put.
If you install lprng in /usr/local you should be able to set
/usr/local/etc/printcap and so on.
On Thu, 2004-04-15 at 12:39, Jianliang Lu wrote:
> This fix will solve the printers sharing problem for lprng printing type. The
> PRINTCAP_NAME in include is "cups", but we should change it if we are not
> using cups!
> --- param/loadparm.c.orig Fri Apr 9 08:55:56 2004
> +++ param/loadparm.c Thu Apr 15 11:34:04 2004
> @@ -1209,6 +1209,7 @@
> "lpc hold '%p' %j");
> "lpc release '%p' %j");
> + string_set(&Globals.szPrintcapname, "/etc/printcap");
> case PRINT_CUPS:
> Jianliang Lu
> TieSse s.p.a. Ivrea (To) - Italy
> j.lu at tiesse.com luj at libero.it
Simo Sorce - idra at samba.org
Samba Team - http://www.samba.org
Italian Site - http://samba.xsec.it
More information about the samba-technical