Hi BranchCoreTechnology,
Thanks for writing and we are happy to help you regarding connecting to a local printer.
Ubuntu supports printer sharing over networks, so you can print from your Ubuntu machine, your Windows machine, etc
Please follow the steps to configure the client (the Ubuntu computer from where you want to print)
STEP1: System -> Administration -> Printing
STEP 2: Add - Network printer
Click Find network printer
Specify the host IP address or name.
Click Find
Printers on the target machine should be found, no matter whether they are connected using CUPS or SAMBA.
BUT if both protocols are available, e.g. because you have shared your printer on a Linux box both using CUPS and Samba, prefer CUPS (ipp://) over Samba (smb://), because you won't be prompted to install a driver in general.
You may be prompted to select a driver. Select your model in the list.
--If the reply is helpful, please Upvote and Accept as answer.--