Windows: Turn on printer and computer. Click Windows icon and then Settings. Next, go to Device -> Printers & Scanners. Open Add a printer or scanner and select your printer. Finally, click on Add device.
Mac: Choose Apple icon on Mac and select System Preferences. Then, go to Printers & Scanners. Choose printer from list and then press Add. Your printer automatically connects to Mac.