From ea8c45bbfd31151e91c1c57a162f255e706ca859 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 16 May 2002 02:01:23 +0000 Subject: Added addjob command. (This used to be commit e4cc7e2d521cb2777c15c00ec222342e2a0b02ca) --- source3/python/py_spoolss.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source3/python/py_spoolss.c') 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, -- cgit