CVS update: samba/source/printing

jerry at samba.org jerry at samba.org
Tue Mar 2 14:26:45 GMT 2004


Date:	Tue Mar  2 14:26:45 2004
Author:	jerry

Update of /data/cvs/samba/source/printing
In directory dp.samba.org:/tmp/cvs-serv21839/printing

Modified Files:
      Tag: SAMBA_3_0
	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.139.2.44 => 1.139.2.45
	http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/printing.c.diff?r1=1.139.2.44&r2=1.139.2.45


More information about the samba-cvs mailing list