Task 1.3 Smart Printing
Task 1.3 Smart Printing
The use-case diagram for the Student Smart Printing Service (HCMUT_SSPS) system is as
follows:
The use-case diagram shows the actors involved in the system and the use-cases they can
perform. The actors include the Student, the Student Printing Service Officer (SPSO), and the
HCMUT_SSO Authentication Service. The use-cases include uploading a document, choosing a
printer, specifying printing properties, viewing the printing log, viewing the account balance, and
buying printing pages. The SPSO has additional use-cases for managing printers, managing
configuration, and generating reports. All users need to be authenticated by the HCMUT_SSO
Authentication Service before using the system.
For the module "Manage Printers", the use-case diagram is as follows:
The module "Manage Printers" allows the Student Printing Service Officer (SPSO) to add printers,
enable printers, disable printers then re-configure the printer if needed. These use-cases provide
functionality for managing the printers in the system.
Page 2 of 9
The use-cases for the whole system and the "Manage Printers" module are described in the
following table:
Page 3 of 9
7 | Role-Based Access:
Depending on the user's role, they are directed to the appropriate dashboard or landing page
within the HCMUT-SSPS app.
For students, this may include access to features like printing, checking balance, and viewing
their printing history.
For the SPSO, this may include access to administrative tools and system configuration
options.
End Objective: Enable the SPSO to add, enable, disable printers and configure as needed,
ensuring that the printing infrastructure is well-maintained and functional.
Created by: Nguyễn Phan Duy Minh On (date): 29/09/2023
User/Actor: SPSO
Business Owner HCMUT Contact
Name: Details:
Trigger: The system receives a request from the Student Printing Service Officer
(SPSO) to perform a printer management action (e.g., add printer, enable
printer, disable printer, update printer configuration, delete printer).
Frequency of Use: Whenever a student has a need to print documents and printers needed to be
add or enabled before hand or there’s a need for re-configuration
Preconditions
Authentication: The SPSO must be successfully authenticated and authorized to access the printer
management features of the system. This ensures that only authorized personnel can perform printer
management tasks.
Access Permission: The SPSO must have the necessary access permissions and privileges to manage
printers within the system. This may be determined by the system's role-based access control
(RBAC) or a similar access control mechanism.
Functional System: The HCMUT_SSPS system must be in a functional state with its core
components and services operational. Printer management actions cannot be performed if the system
is undergoing maintenance, experiencing technical issues, or is in an inactive state.
Printer Availability: If the SPSO intends to add or enable a printer, the printer hardware must be
available and properly set up. Adding or enabling a printer that is not physically present or not
correctly configured may lead to issues.
Technical Requirements: The technical infrastructure required for adding or enabling printers must
be in place. This includes network connectivity, drivers, and any necessary hardware components.
Page 4 of 9
Printer Information: When adding a new printer, the SPSO should have the necessary information
about the printer, such as its ID, brand/manufacturer name, printer model, short description, and the
location (campus name, building name, and room number). This information is required for
configuring the new printer within the system.
2 The SPSO provides The system validates the provided information and
information about the new checks for any conflicts with existing printers.
printer, including its ID, If the information is valid and there are no conflicts,
brand/manufacturer name, the new printer is added to the system and becomes
printer model, short available for student use.
description, and location
(campus name, building name,
room number).
The SPSO may specify
additional configuration
parameters such as supported
paper sizes and features.
3 After performing printer Printer Prompt
management actions (adding,
enabling, or disabling,
configure), the SPSO confirms
the changes.
The system saves the changes
made to the printer
configuration.
Alternate Flow <may be more than one> : Enable a previously added printer
Step User Actions System Actions
1 The SPSO logs into the The system verifies the SPSO's identity and grants
HCMUT_SSPS system using access to printer management features.
their authorized credentials.
2 The SPSO selects the printer The system enables the printer, making it accessible
from the list of available for students to use.
printers.
Page 5 of 9
Alternate Flow <may be more than one> : Enable a previously added printer
Step User Actions System Actions
3 After performing printer The system saves the changes made to the printer
management actions (adding, configuration.
enabling, or disabling,
configure), the SPSO confirms
the changes.
Exception Flow <identify system and data error conditions that could occur for each step in the
normal and alternate flow>
1
1. Authentication Failure:
2
2. Printer Already Exists:
Page 6 of 9
3
3. Invalid Printer Information:
4
4. Printer Enabling/Disabling Error:
5
5. Unauthorized Access:
Page 7 of 9
6
6. System Unavailability:
7
7. Unhandled Errors:
Post conditions
Successful Printer Addition:
The SPSO adds a new printer successfully, the new printer is now part of the system's
printer pool and available for students to use.
The system's printer configuration is updated to include the new printer's information.
the SPSO enables a printer successfully, the printer becomes accessible for student use
within the system.
The printer status is updated to "enabled."
The SPSO disables a printer successfully, the printer is no longer accessible for student
use within the system.
The printer status is updated to "disabled."
Page 8 of 9
Successful Printer Configure/Reconfigure:
The SPSO configures a printer successfully, the printer is updated with new
configuration and is accessible for student use within the system.
The printer status is updated to “ newly configuration saved”
Updated Printer Information:
the SPSO updates the configuration of an existing printer (e.g., changes in supported
paper sizes or features), the updated information is reflected in the system's printer
configuration.
Students can access and use the updated printer based on the new configuration.
Page 9 of 9