Instructions
2) Click Printers & Scanners.
3) Click the plus sign (+).
4) Press and hold the control key on your keyboard while clicking the Default icon (or any other icon on the toolbar). Then, choose Customize Toolbar on the menu that appears.
5) Drag the Advanced (gear) icon to the toolbar. Click Done.
6) Click the Advanced icon that was added to the toolbar. From the "Type" drop-down menu, choose Windows printer via spoolss.
7) In the "URL" field, type the printer's address in one of the following formats:
- smb://workgroup/server/sharename
- smb://server/sharename
EXAMPLE: smb://print.tosm.ttu.edu/printername
NOTE: Workgroup is the name of the Windows workgroup to which the computer sharing the printer belongs. Server is the name of the computer sharing the printer (or its IP address). Sharename is the shared Windows printer's share name. If the share name contains spaces, replace each space with %20.
TIP: You don't need a workgroup when specifying the IP address of the computer (such as when the printer is on a different subnet), or if your Mac belongs to the same Windows (SMB) workgroup.
8) In the "Name" field, type the name you would like to use for this printer on your Mac. Choose the appropriate PPD or printer driver from the "Use" drop-down menu. Click Add after making the changes.
9) Click OK.
10) Exit the Printers & Scanners window.
Outcome
You have added a printer in macOS that was shared from a Windows computer.