summaryrefslogtreecommitdiffstats
path: root/source/python/py_spoolss.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-14 06:09:59 +0000
committerTim Potter <tpot@samba.org>2002-05-14 06:09:59 +0000
commit307788d0b823f228c718b2a186fc66144fd55717 (patch)
treee1c64662d5450060198f383eed0203780d6a0c38 /source/python/py_spoolss.c
parent89633a1d87d2a437dc1ceab9439f415ee1ec606d (diff)
downloadsamba-307788d0b823f228c718b2a186fc66144fd55717.tar.gz
samba-307788d0b823f228c718b2a186fc66144fd55717.tar.xz
samba-307788d0b823f228c718b2a186fc66144fd55717.zip
Added writeprinter command.
Diffstat (limited to 'source/python/py_spoolss.c')
-rw-r--r--source/python/py_spoolss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/python/py_spoolss.c b/source/python/py_spoolss.c
index b209e6243b5..ef61d02db6d 100644
--- a/source/python/py_spoolss.c
+++ b/source/python/py_spoolss.c
@@ -225,6 +225,10 @@ Set the form given by the dictionary argument.
METH_VARARGS | METH_KEYWORDS,
"Notify spooler that a document is about to be printed." },
+ { "writeprinter", (PyCFunction)spoolss_writeprinter,
+ METH_VARARGS | METH_KEYWORDS,
+ "Write job data to a printer." },
+
/* Printer data */
{ "getprinterdata", (PyCFunction)spoolss_getprinterdata,