summaryrefslogtreecommitdiff
path: root/source3/printing/printing.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-09-20 23:28:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:03:41 -0500
commitc762908074c45baacde1df04b633e01308030864 (patch)
tree2d564b844bc03e8bba9ba00f61f426ccc4fd8b53 /source3/printing/printing.c
parent1970294ab3df66d36b713dc8811527ddc8e99bd0 (diff)
downloadsamba-c762908074c45baacde1df04b633e01308030864.tar.gz
samba-c762908074c45baacde1df04b633e01308030864.tar.bz2
samba-c762908074c45baacde1df04b633e01308030864.zip
r10371: Adding iPrint printing backend written by Joel J. Smith @ Novell.
Jeremy. (This used to be commit 155dc2d52a971bfb8d7565c06f3efc637e130b11)
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r--source3/printing/printing.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 52a3070466..397ed3b355 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -244,6 +244,12 @@ static struct printif *get_printer_fns_from_type( int type )
}
#endif /* HAVE_CUPS */
+#ifdef HAVE_IPRINT
+ if ( type == PRINT_IPRINT ) {
+ printer_fns = &iprint_printif;
+ }
+#endif /* HAVE_IPRINT */
+
printer_fns->type = type;
return printer_fns;