summaryrefslogtreecommitdiff
path: root/source3/printing/printing.c
diff options
context:
space:
mode:
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;