diff options
author | Tim Potter <tpot@samba.org> | 2003-03-13 06:51:26 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-03-13 06:51:26 +0000 |
commit | 06c665365e119192570a7fc04b9cfd02b2867173 (patch) | |
tree | 488d1ddcdfcaf12b03570949f779484a2363438e | |
parent | da3b671f77ee2ec55a4bcf0dd7164c86bc08e8d5 (diff) | |
download | samba-06c665365e119192570a7fc04b9cfd02b2867173.tar.gz samba-06c665365e119192570a7fc04b9cfd02b2867173.tar.bz2 samba-06c665365e119192570a7fc04b9cfd02b2867173.zip |
Merge of some commentary for getprinter info levels supported by win2k+
(This used to be commit 3026a5ef152e1856ac127abe72855371611d5bf3)
-rw-r--r-- | source3/python/py_spoolss_printers.c | 16 |
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); |