summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_spoolss_printers.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/python/py_spoolss_printers.c b/source3/python/py_spoolss_printers.c
index d011681acc..929442ab67 100644
--- a/source3/python/py_spoolss_printers.c
+++ b/source3/python/py_spoolss_printers.c
@@ -173,6 +173,22 @@ PyObject *spoolss_hnd_getprinter(PyObject *self, PyObject *args, PyObject *kw)
case 3:
py_from_PRINTER_INFO_3(&result, ctr.printers_3);
break;
+
+ /* These info levels are supported by NT4 and higher
+ but don't seem to be used by any clients we know of. */
+
+ case 4:
+ case 5:
+ case 6:
+ break;
+
+ /* These info levels are only supported by Windows 2000
+ and higher. */
+
+ case 7:
+ case 8:
+ case 9:
+ break;
}
Py_INCREF(result);