summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-16 02:01:23 +0000
committerTim Potter <tpot@samba.org>2002-05-16 02:01:23 +0000
commitea8c45bbfd31151e91c1c57a162f255e706ca859 (patch)
tree26685c191e859096667ef12bb06d960e26d86ee1 /source3/python/py_spoolss.c
parent932b8e9d40e620c166da907d48ae571e5d73db6a (diff)
downloadsamba-ea8c45bbfd31151e91c1c57a162f255e706ca859.tar.gz
samba-ea8c45bbfd31151e91c1c57a162f255e706ca859.tar.bz2
samba-ea8c45bbfd31151e91c1c57a162f255e706ca859.zip
Added addjob command.
(This used to be commit e4cc7e2d521cb2777c15c00ec222342e2a0b02ca)
Diffstat (limited to 'source3/python/py_spoolss.c')
-rw-r--r--source3/python/py_spoolss.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/python/py_spoolss.c b/source3/python/py_spoolss.c
index fde8b1efbd..95be77de55 100644
--- a/source3/python/py_spoolss.c
+++ b/source3/python/py_spoolss.c
@@ -144,10 +144,10 @@ Example:
Example:
->>> spoolss.set_debuglevel(10)"
+>>> spoolss.set_debuglevel(10)" },
/* Printer driver routines */
-
+
{ "addprinterdriver", (PyCFunction)spoolss_addprinterdriver,
METH_VARARGS | METH_KEYWORDS,
"Add a printer driver." },
@@ -259,6 +259,10 @@ Set the form given by the dictionary argument."},
METH_VARARGS | METH_KEYWORDS,
"Write job data to a printer." },
+ { "addjob", (PyCFunction)spoolss_hnd_addjob,
+ METH_VARARGS | METH_KEYWORDS,
+ "Add a job to the list of print jobs." },
+
/* Printer data */
{ "getprinterdata", (PyCFunction)spoolss_hnd_getprinterdata,