From c762908074c45baacde1df04b633e01308030864 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 20 Sep 2005 23:28:22 +0000 Subject: r10371: Adding iPrint printing backend written by Joel J. Smith @ Novell. Jeremy. (This used to be commit 155dc2d52a971bfb8d7565c06f3efc637e130b11) --- source3/printing/pcap.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/printing/pcap.c') diff --git a/source3/printing/pcap.c b/source3/printing/pcap.c index e9d8195366..9b4b5e4f71 100644 --- a/source3/printing/pcap.c +++ b/source3/printing/pcap.c @@ -56,6 +56,9 @@ * * Modified to call CUPS support if printcap name is set to "cups" * in smb.conf. + * + * Modified to call iPrint support if printcap name is set to "iprint" + * in smb.conf. */ #include "includes.h" @@ -129,6 +132,13 @@ void pcap_cache_reload(void) } #endif +#ifdef HAVE_IPRINT + if (strequal(pcap_name, "iprint")) { + pcap_reloaded = iprint_cache_reload(); + goto done; + } +#endif + #if defined(SYSV) || defined(HPUX) if (strequal(pcap_name, "lpstat")) { pcap_reloaded = sysv_cache_reload(); -- cgit