summaryrefslogtreecommitdiffstats
path: root/source/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
commit155dc2d52a971bfb8d7565c06f3efc637e130b11 (patch)
tree7a8596993a777d390b71ba174150794064a443b6 /source/printing/printing.c
parent758b30710e9f84f19b79c39afddc742aef495ebd (diff)
downloadsamba-155dc2d52a971bfb8d7565c06f3efc637e130b11.tar.gz
samba-155dc2d52a971bfb8d7565c06f3efc637e130b11.tar.xz
samba-155dc2d52a971bfb8d7565c06f3efc637e130b11.zip
r10371: Adding iPrint printing backend written by Joel J. Smith @ Novell.
Jeremy.
Diffstat (limited to 'source/printing/printing.c')
-rw-r--r--source/printing/printing.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/printing/printing.c b/source/printing/printing.c
index 52a30704667..397ed3b3555 100644
--- a/source/printing/printing.c
+++ b/source/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;