CVS update: samba/source/printing
jerry at samba.org
jerry at samba.org
Tue Mar 2 14:29:01 GMT 2004
Date: Tue Mar 2 14:29:01 2004
Author: jerry
Update of /data/cvs/samba/source/printing
In directory dp.samba.org:/tmp/cvs-serv22000/printing
Modified Files:
printing.c
Log Message:
allow the 'printing' parameter to be set on a per share basis.
The problem was that the current_printif struct was set during
print_backend_init() based on the 'printcap name'. So you could
not use cups and then override the setting for a specific printer
by setting 'printing = bsd' (a common setup for pdf generation
print services.
There is a subtle change in behavior in that the print
interface functions are selecting on the basis of lp_printing()
and not lp_printcap_name(), but the new behavior seems more
intuitive IMHO.
Revisions:
printing.c 1.202 => 1.203
http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/printing.c.diff?r1=1.202&r2=1.203
More information about the samba-cvs
mailing list