FOSS Linux published a tutorial about how to set up CUPS print server on Ubuntu 22.04.
How to set up CUPS print server on Ubuntu 22.04
A CUPS print server can be installed on Ubuntu using the apt package manager. First, Update the system repositories by executing the following command.
How to set up CUPS print server on Ubuntu 22.04