2.5.3.2 Delete a Print Queue -- Administrative Client

Goal: To delete a previously provisioned print queue that is available on a print server, which subsequently no longer enables a user to select the print queue, removing all attributes and components that are necessary to make the print queue discoverable and accessible to a print client.

Context of Use: When a print queue is no longer required, an administrator uses an administrative tool to delete a print queue from a print server. In Windows, this tool is the Print Management Console. After an administrator deletes the print queue, a user by using a print client via an application or the operating system can no longer send a print job to the printer.

Direct Actor: The direct actor is the administrative client.

Primary Actor: The primary actor is an administrator.

Supporting Actors: The supporting actors are the print server and the Active Directory system.

Stakeholders and Interests:

  • Administrative client: The administrative client is used by an administrator to participate in this use case to delete a previously provisioned print queue.

  • Administrator: An administrator participates in this use case by using an administrative client to configure a print server to delete a previously provisioned print queue.

  • Print server: A print server is configured by this use case so that a printer that is connected to the print server can no longer be shared among multiple users via a queue that is located on the print server.

  • Active Directory system: The Active Directory system is updated by this use case so that the listing of the print queue is no longer reported to a print client when a user attempts to locate a print queue to which to send a print job.

Preconditions: The print server and the administrative client are connected by using a network connection, and both are members of the domain. The print spooler service is operational on the print server and administrative client. The Active Directory system is available and operational. The print queue exists.

Minimal Guarantee: The administrative client is denied access, and no delete operations occur.

Success Guarantee: A print queue is deleted from a print server, and the Active Directory system is updated to no longer return the print queue in directory queries.

Trigger: An administrator initiates the process of deleting a print queue by using an administrative tool to delete a print queue on a print server.

Main Success Scenario:

The administrative client uses the Print System Remote Protocol [MS-RPRN] to direct the print server to unpublish the print queue from the Active Directory system. The print server uses LDAP [RFC4511] to delete the directory object for the print queue.

The administrative client uses the Print System Remote Protocol to delete the print queue on the print server.

Extension (a) - Deleting objects that are no longer referenced on the print server: After deleting the print queue, the administrative client can use the Print System Remote Protocol to determine if the port, the print processor, and the printer driver that were previously used by the deleted print queue are still in use by other print queues; and if that is not the case, the administrative client can use the Print System Remote Protocol to delete those objects from the server.

Variation (a) - Performing the use case by using the protocol described in [MS-PAR]: All details are identical to the use case that is described in this section except that the Print System Asynchronous Remote Protocol [MS-PAR] is used to delete the print queue.