Your computer may download and install your printer's software. If your printer is not on the list, contact its manufacturer and see if drivers are available for it. This makes the command execute much faster, because DNS lookups to get the host names can be slow (several seconds or a minute for many hosts). The -n flag is for displaying IP addresses instead of host names.
Prepend sudo (followed by a space) if you need information on ports below 1024. A tcp socket is just another type of file descriptor in Unix derivatives so we can use lsof to get the same info on Mac OS X: lsof -i -P grep -i 'listen' mysqld 31797 henribenoit 10u IPv4 0xe1e3f49df503def7 0t0 TCP localhost:3306 (LISTEN) This shows you the listening ports for programs running under your user name. Your Mac may guess what your printer is automatically, but if it doesn't, from the pull-down list beside "Use:" or "Print Using:", choose Select Software., Select Printer Software., or Select a driver to use., and then choose your network printer's model or series. sudo lsof -nP -iTCP:PORT grep LISTEN sudo lsof -nP -i:PORT grep LISTEN Substitute PORT with the port number or a comma-separated list of port numbers.
Go to the Tech Specs page, click the Search Tech Specs bar, press Command-V to enter your computer's serial number, then click Search. Give the printer a descriptive name and location in the appropriate fields. Information about these and other types of Mac ports is in the specifications for your Mac: Choose Apple menu > About This Mac, double-click your serial number, then press Command-C to copy it.To print to a specific queue, type its name in the "Queue:" field.
Once you've finished, "Valid and complete address" will appear below the "Address:" field. As you type, your computer will search for printers with that number. In the "Address:" field, type the hostname or IP number of the printer.If you're not sure, try the default option. Next to "Protocol:", select the protocol your printer uses.Click the + (plus sign) to add a new printer, and in the new window that opens, click IP.In System Preferences, from the View menu, select Printers & Scanners, Print & Scan, or Print Please note that the table doesnt include the ports used by the standard System Center Configuration Manager. Please review the following table and make sure that the ports listed are available. From the Apple menu, select System Preferences. Network Ports Used by Parallels Mac Management for Microsoft SCCM: The ports used by Parallels Mac Management should NOT be used by other programs.To set up your Mac computer to print to a networked printer over TCP/IP, change your settings as described below: If you are an IUB campus housing resident and wish to connect your Mac computer to your RTC's networked printer, see Connect your computer or tablet to the printers in the STCs and RTCs using the IU Print BYOD Package.