summaryrefslogtreecommitdiff
path: root/source3/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
commit2e6939cf0b16055bae6eba6b3d3404164833c459 (patch)
treeed80e2919ae338e8f1885abda9dd5a0986c4cf88 /source3/python/py_spoolss.c
parent4deb5612549d927988474c5c84251f6fec7edc78 (diff)
downloadsamba-2e6939cf0b16055bae6eba6b3d3404164833c459.tar.gz
samba-2e6939cf0b16055bae6eba6b3d3404164833c459.tar.bz2
samba-2e6939cf0b16055bae6eba6b3d3404164833c459.zip
Added writeprinter command.
(This used to be commit 307788d0b823f228c718b2a186fc66144fd55717)
Diffstat (limited to 'source3/python/py_spoolss.c')
-rw-r--r--source3/python/py_spoolss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/python/py_spoolss.c b/source3/python/py_spoolss.c
index b209e6243b..ef61d02db6 100644
--- a/source3/python/py_spoolss.c
+++ b/source3/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,