The Student Smart Printing Service (HCMUT_SSPS) is a campus-wide application developed by Ho Chi Minh City University of Technology (HCMUT) to enhance the printing experience for students. It provides seamless access to printers, document upload features, and quota management, while administrators have a dedicated platform for efficient printer oversight and system configuration.
- Printer Information: View details of available printers, including printer IDs and campus locations.
- Document Upload: Upload documents for printing with options for number of pages, color settings, size, and scheduled print time.
- Quota Management: Monitor and purchase additional printing pages via the university's payment service.
- Authentication: Secure login through the HCMUT Student Authentication Service (HCMUT_SSO).
- User-Friendly Interface: Simple navigation and accessibility designed for all users.
- Printer Management: Add, update, or remove printers and configure their settings.
- Transaction Tracking: Monitor all printing transactions and activities.
- Reporting: Generate customizable periodic reports for analysis.
- System Configuration: Adjust system settings to ensure optimal performance.
Follow these steps to set up the application:
- Install NodeJS on your system.
- Clone the repository to your local machine.
- Navigate to the project folder using your terminal.
- Install MySQL to set up the database.
- Update the configuration file located at
/Back_end/.envwith your environment variables. - Start the backend server by running:
npm run start
- Access the application at the VITE local address:
http://localhost:5173
Below is an example structure for student accounts:
| Username | Password | Student ID | Student Name | Page Number |
|---|---|---|---|---|
| student1 | password1 | 2252898 | Huỳnh Ngọc Văn | 100 |
| student2 | password2 | 2252327 | Lê Hà Nguyên Khánh | 100 |
| student3 | password3 | 2252293 | Huỳnh Mai Quốc Khang | 100 |
| student4 | password4 | 2252608 | Hoàng Văn Phi | 100 |
| student5 | password5 | 2252023 | Lê Đỗ Minh Anh | 100 |
Below are the credentials for the admin account:
| Field Name | Description | Example |
|---|---|---|
username |
Admin username | spso1 |
password |
Default password for admin login | password1 |
Use the following SQL script to create a trigger for managing request_id in the Request table:
USE hcmut_spss;
DROP TRIGGER IF EXISTS `before_insert_request`;
DELIMITER $$
CREATE TRIGGER `before_insert_request`
BEFORE INSERT ON `Request`
FOR EACH ROW
BEGIN
-- Calculate the next request_id for the given student_send
DECLARE next_request_id INT;
-- Get the maximum request_id for the current student_send
SELECT IFNULL(MAX(request_id), 0) + 1
INTO next_request_id
FROM Request
WHERE student_send = NEW.student_send;
-- Assign the calculated request_id to the new row
SET NEW.request_id = next_request_id;
END$$
DELIMITER ;For support or inquiries, please contact the us:
- Email: phi.hoangsut0504@hcmut.edu.vn, phihv0504@gmail.com
- Phone: +84 28 1234 5678


