Printer Discovery

Unlike the processes used in environments running the Windows operating system, macOS exhibits specific behavior:

  • The system automatically scans the network for available printers.

  • This detection occurs via AirPrint or Bonjour in CUPS (Common UNIX Printing System).

  • As a result, printers can be installed automatically without user intervention, which may cause unwanted devices to appear in the NDD Print Agent module.

Procedure for disabling Discovery

To prevent macOS from automatically installing printers on the network, follow the steps below:

  1. Open Terminal and edit the CUPS configuration file:

    sudo nano /etc/cups/cupsd.conf
    
  2. In the cupsd.conf file, locate or add the following line:

    Browsing Off
    
  3. Save the changes and close the editor.

  4. Restart the CUPS service to apply the configuration:

    sudo launchctl stop org.cups.cupsd
    sudo launchctl start org.cups.cupsd