Something should come from the button of the window with a log this will display all of your Bonjour services. Then click the Run button (looks like a play button) and wait for a Build Succeeded image. Click the + button, search for amework, and add it. Next, you'll need to add amework to the project by clicking the project name in the sidebar > Build Phases and open the dropdown arrow next to Link Binary With Libraries. Open and copy all text in ~/Downloads/DNSServiceMetaQuery/DNSServiceMetaQuery.cand paste it into main.c of your new Command Line Tool project (replacing everything that was there in the template). Create a new project under the template of Mac OS X > Application > Command Line Tool. Then, install Xcode if you haven't already. To run DNSServiceMetaQuery on Mountain Lion (the included build does not run properly), go to the sample code link and click Download Sample Code. Machines must be running mDNSResponder-58.6 (Mac OS X 10.3.4) or later in order to respond to this query. This PC software can be installed on 32-bit versions of Windows XP/Vista/7/8/10/11. This sample uses DNSServiceQueryRecord to send a Multicast DNS query that returns a list of Bonjour service types being advertised on the local network. You can download Bonjour Browser 1.13 from our software library for free. Another strategy is to run something like dns-sd -B _home-sharing._tcp which remains open and reports when instances are added or removed, then, one by one, quit various apps and (assuming it's not a system service) see which one's quitting triggers the removal message.Īlthough classified as a legacy article, this very may well be what you are looking for: DNSServiceMetaQuery. You can use the strategy given in binarybob's answer to try to map service entries to running processes based on port number, but this may not always work. Whichever way you do it, though, it may not always be clear what program is responsible for a given service entry. To be honest, though, this whole process is rather tedious, and it's exactly what Discovery (formerly Bonjour Browser) was built to do, so I highly recommend using that. Using that list, you can request information about the individual services types by running things like dns-sd -B _home-sharing._tcp (which lists iTunes Home Sharing instances), and then, given an instance name, you can run dns-sd -L "Wes Campaigne’s Library" _home-sharing._tcp to lookup information for a particular instance. (The list is per interface, so there will be some redundancy.) If this is done on a Mac with no active network connection, the list will of course only contain services running on that machine. Running dns-sd -B _services._dns-sd._udp will return a list of all available service types that currently being advertised. ![]() The setup is now complete.The dns-sd command-line tool can be helpful for this, but learning to use it is a bit tricky. Select Quit System Preferences from the Apple Menu. The printer is now available in the Print list.Ĩ. Instead, we recommend that you choose the CUPS Driver, as detailed above, for the most complete functionality.ħ. IMPORTANT: If the AirPrint driver is selected, then you will not have the full functionality of the printer driver. Make sure that you have selected the BR-Script Driver shown as Brother XXXXXX BR-Script. If you want to print using the PostScript Driver (not available for all models): ![]() From the Use or Print Using list, make sure that you have selected the CUPS Driver (Recommended) shown as: Brother XXXXXX CUPS. ![]() Select your machine from the Printer Name list.Ħ. Click the Default icon, which is located at the top of the window.ĥ. NOTE: If you receive a pop-up showing "Nearby Printers", click Add Other Printer or Scanner.Ĥ. Click the + (plus) button located below the Printers section on the left side. Refer to the following solution for instructions if needed - How do I open Print & Scan in Macintosh OS X?ģ. If you have not already connected the machine to your network, you will need to do so using the initial network setup instructions from the Quick Setup Guide before attempting to add the printer driver.Ģ.
0 Comments
Leave a Reply. |