How to set up a CUPS print server running Fedora Server for an HP printer, and connect to it from your Fedora Workstation:
Run these commands on the server:
dnf install cups hplip
systemctl start cups
firewall-cmd --zone=FedoraServer --add-service=ipp
firewall-cmd --zone=FedoraServer --add-service=ipp --permanent
Then go to the CUPS Web admin at http://[server]:631
and go to the "Administration" page.