|
|
Commits changes to this print job to the spooler
[Visual Basic] Public Sub Commit [C#] public void Commit(); [C++] public: void Commit(); [JScript] public function Commit();
Throws an InsufficentPrintJobAccessRightsException if the logged in user does not have sufficient privilege to commit changes to this print job
[Visual Basic] The following example commits a job having set it's priority to 12
[Visual Basic] Public Sub CommitAJob(ByVal pjIn As PrintJob) With pjIn Try .Priority = 12 .Commit() Catch ej As PrinterQueueWatch.PrinterMonitoringExceptions.InsufficentPrintJobAccessRightsException Debug.Write("You cannot Commit this print job") End Try End With End Sub
Namespace: PrinterQueueWatch
Platforms: Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
PrintJob overview , All PrintJob members
© 2003 Merrion Computing Ltd. All rights reserved.