From 92708e3945cf294b3cb8d946200f8a7bf5d1def6 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 21 Jul 2000 19:59:51 +0000 Subject: Added EnumPorts() and fixed up some problems with the other spoolss client calls. Also cleaned up output for 'help' command. jerry (This used to be commit 56ce247977c05ef37888c2572e679c44346e5568) --- source3/rpcclient/spoolss_cmds.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/rpcclient/spoolss_cmds.c') diff --git a/source3/rpcclient/spoolss_cmds.c b/source3/rpcclient/spoolss_cmds.c index 1538f560f9..630d2f2aa5 100644 --- a/source3/rpcclient/spoolss_cmds.c +++ b/source3/rpcclient/spoolss_cmds.c @@ -31,10 +31,16 @@ static const struct command_set spl_commands[] = { * printer testing */ + {"SPOOLSS", NULL, NULL, {NULL, NULL}}, + {"spoolenum", cmd_spoolss_enum_printers, "Enumerate Printers", {NULL, NULL}}, + {"spoolenumports", cmd_spoolss_enum_ports, + "Enumerate Ports", + {NULL, NULL}}, + {"spoolenumdatas", cmd_spoolss_enum_printerdata, " Enumerate Printer datas", {NULL, NULL}}, -- cgit