Whether you're running Windows, Linux/Unix or Apple there are a number of different ways that you can find a printer's IP address through the command line. All devices on a TCP/IP (Transmission Control Protocol/Internet Protocol), including your computer, have unique numbers assigned to them known as Media Access Control (MAC) addresses.
So this article will show you how to add a printer to Mac. Note that if Windows Firewall is enabled on the remote computer and the File And Printer Sharing exception is turned off, neither of the above methods will work and you'll have to try something else. This address allows other network devices to find the printer on the local or wide area network. A Printer will save you some precious moments when you need to print out something right away. The MAC Address will be displayed in the form of 00:08:C7:1B:8C:02. From the displayed information, find eth0 (this is the default first Ethernet adapter),locate the number next to the HWaddr.
You can use one of the following commands: GETMAC /s computername Get MAC Address remotely by Computer Name. As the root user (or user with appropriate permissions. Ipconfig exited on 172.16.11.222 with error code 0. Use this method to obtain the MAC Address of your local computer as well as query remotely by computer name or IP Address. PsExec v1.94 - Execute processes remotely