summaryrefslogtreecommitdiff
path: root/docs/manpages/smbcontrol.1
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manpages/smbcontrol.1')
-rw-r--r--docs/manpages/smbcontrol.141
1 files changed, 35 insertions, 6 deletions
diff --git a/docs/manpages/smbcontrol.1 b/docs/manpages/smbcontrol.1
index f3e6c843b5..d1479bff25 100644
--- a/docs/manpages/smbcontrol.1
+++ b/docs/manpages/smbcontrol.1
@@ -3,7 +3,7 @@
.\" <http://shell.ipoline.com/~elmert/hacks/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <steve@ggi-project.org>.
-.TH "SMBCONTROL" "1" "08 May 2002" "" ""
+.TH "SMBCONTROL" "1" "15 August 2002" "" ""
.SH NAME
smbcontrol \- send messages to smbd, nmbd or winbindd processes
.SH SYNOPSIS
@@ -47,7 +47,7 @@ One of: close-share,
debug,
force-election, ping
, profile, debuglevel, profilelevel,
-or printer-notify.
+or printnotify.
The close-share message-type sends a
message to smbd which will then close the client connections to
@@ -90,11 +90,40 @@ a "request profile level" message. The current profile level
setting is returned by a "profilelevel" message. This can be sent
to any smbd or nmbd destinations.
-The printer-notify message-type sends a
+The printnotify message-type sends a
message to smbd which in turn sends a printer notify message to
-any Windows NT clients connected to a printer. This message-type
-takes an argument of the printer name to send notify messages to.
-This message can only be sent to smbd.
+any Windows NT clients connected to a printer. This message-type
+takes the following arguments:
+.RS
+.TP
+\fBqueuepause printername\fR
+Send a queue pause change notify
+message to the printer specified.
+.TP
+\fBqueueresume printername\fR
+Send a queue resume change notify
+message for the printer specified.
+.TP
+\fBjobpause printername unixjobid\fR
+Send a job pause change notify
+message for the printer and unix jobid
+specified.
+.TP
+\fBjobresume printername unixjobid\fR
+Send a job resume change notify
+message for the printer and unix jobid
+specified.
+.TP
+\fBjobdelete printername unixjobid\fR
+Send a job delete change notify
+message for the printer and unix jobid
+specified.
+.RE
+.PP
+Note that this message only sends notification that an
+event has occured. It doesn't actually cause the
+event to happen.
+This message can only be sent to smbd.
.TP
\fBparameters\fR
any parameters required for the message-type