Obtain MAC Address from network printer via CMD











up vote
1
down vote

favorite












I'm trying to find the MAC address for my network printer using cmd.



I've tried using nbtstat -a (ipaddress) and it says host not found. But the IP works when I ping it. Is there another command that can pull the information for me?










share|improve this question






















  • Is the printer on the same layer-2 LAN and layer-3 network as your PC?
    – Ron Maupin
    Mar 18 '16 at 22:18








  • 2




    if they are on same network you can do: arp -a|find "x.x.x.x"
    – arana
    Mar 18 '16 at 22:23








  • 1




    Possible duplicate of How to find MAC address of a machine in my network
    – DavidPostill
    Mar 18 '16 at 22:54










  • I found a much easier way. I ping the device and then after enter ARP -A and it gives me even more information than I needed. BTW, arp -a|find is not a valid command
    – awoitte
    Mar 18 '16 at 23:06








  • 1




    @awoitte Rubbish. arp -a|find "dynamic" works perfectly well.
    – DavidPostill
    Apr 3 '16 at 13:00

















up vote
1
down vote

favorite












I'm trying to find the MAC address for my network printer using cmd.



I've tried using nbtstat -a (ipaddress) and it says host not found. But the IP works when I ping it. Is there another command that can pull the information for me?










share|improve this question






















  • Is the printer on the same layer-2 LAN and layer-3 network as your PC?
    – Ron Maupin
    Mar 18 '16 at 22:18








  • 2




    if they are on same network you can do: arp -a|find "x.x.x.x"
    – arana
    Mar 18 '16 at 22:23








  • 1




    Possible duplicate of How to find MAC address of a machine in my network
    – DavidPostill
    Mar 18 '16 at 22:54










  • I found a much easier way. I ping the device and then after enter ARP -A and it gives me even more information than I needed. BTW, arp -a|find is not a valid command
    – awoitte
    Mar 18 '16 at 23:06








  • 1




    @awoitte Rubbish. arp -a|find "dynamic" works perfectly well.
    – DavidPostill
    Apr 3 '16 at 13:00















up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm trying to find the MAC address for my network printer using cmd.



I've tried using nbtstat -a (ipaddress) and it says host not found. But the IP works when I ping it. Is there another command that can pull the information for me?










share|improve this question













I'm trying to find the MAC address for my network printer using cmd.



I've tried using nbtstat -a (ipaddress) and it says host not found. But the IP works when I ping it. Is there another command that can pull the information for me?







cmd.exe network-printer mac-address






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 18 '16 at 22:16









awoitte

1614




1614












  • Is the printer on the same layer-2 LAN and layer-3 network as your PC?
    – Ron Maupin
    Mar 18 '16 at 22:18








  • 2




    if they are on same network you can do: arp -a|find "x.x.x.x"
    – arana
    Mar 18 '16 at 22:23








  • 1




    Possible duplicate of How to find MAC address of a machine in my network
    – DavidPostill
    Mar 18 '16 at 22:54










  • I found a much easier way. I ping the device and then after enter ARP -A and it gives me even more information than I needed. BTW, arp -a|find is not a valid command
    – awoitte
    Mar 18 '16 at 23:06








  • 1




    @awoitte Rubbish. arp -a|find "dynamic" works perfectly well.
    – DavidPostill
    Apr 3 '16 at 13:00




















  • Is the printer on the same layer-2 LAN and layer-3 network as your PC?
    – Ron Maupin
    Mar 18 '16 at 22:18








  • 2




    if they are on same network you can do: arp -a|find "x.x.x.x"
    – arana
    Mar 18 '16 at 22:23








  • 1




    Possible duplicate of How to find MAC address of a machine in my network
    – DavidPostill
    Mar 18 '16 at 22:54










  • I found a much easier way. I ping the device and then after enter ARP -A and it gives me even more information than I needed. BTW, arp -a|find is not a valid command
    – awoitte
    Mar 18 '16 at 23:06








  • 1




    @awoitte Rubbish. arp -a|find "dynamic" works perfectly well.
    – DavidPostill
    Apr 3 '16 at 13:00


















Is the printer on the same layer-2 LAN and layer-3 network as your PC?
– Ron Maupin
Mar 18 '16 at 22:18






Is the printer on the same layer-2 LAN and layer-3 network as your PC?
– Ron Maupin
Mar 18 '16 at 22:18






2




2




if they are on same network you can do: arp -a|find "x.x.x.x"
– arana
Mar 18 '16 at 22:23






if they are on same network you can do: arp -a|find "x.x.x.x"
– arana
Mar 18 '16 at 22:23






1




1




Possible duplicate of How to find MAC address of a machine in my network
– DavidPostill
Mar 18 '16 at 22:54




Possible duplicate of How to find MAC address of a machine in my network
– DavidPostill
Mar 18 '16 at 22:54












I found a much easier way. I ping the device and then after enter ARP -A and it gives me even more information than I needed. BTW, arp -a|find is not a valid command
– awoitte
Mar 18 '16 at 23:06






I found a much easier way. I ping the device and then after enter ARP -A and it gives me even more information than I needed. BTW, arp -a|find is not a valid command
– awoitte
Mar 18 '16 at 23:06






1




1




@awoitte Rubbish. arp -a|find "dynamic" works perfectly well.
– DavidPostill
Apr 3 '16 at 13:00






@awoitte Rubbish. arp -a|find "dynamic" works perfectly well.
– DavidPostill
Apr 3 '16 at 13:00












2 Answers
2






active

oldest

votes

















up vote
1
down vote













In Windows, if you know the printer's IP address, you can use "ping" and "arp /a" to find the same information. You will need to do some searching. If you don't mind clearing your DNS cache with "ipconfig /flushdns" the list will be shorter.






share|improve this answer




























    up vote
    0
    down vote













    I used nbtstat -a as well. If you know the IP of the printer you can do nbtstat -a {IP address}, without the brackets of course :). It'll kick back the MAC address of the device associated with that IP






    share|improve this answer

















    • 2




      OP stated in the question that using nbtstat -a <IP> returns "host not found", advising to run that command is probably not going to help. If you have any other advice, feel free to edit your answer to include these information!
      – Adalee
      Apr 8 '17 at 15:32












    • The command may work if the device utilizes NetBIOS over TCP/IP. I.e., you will likely see the MAC address in the output if the system uses that networking protocol, but, if it doesn't, which is likely if the system is a printer, then relying on nbtstat -a ip_address to obtain the MAC address is not the best way to obtain that address. Instead, he could just ping the IP address and then examine the ARP cache with arp -a or arp -a | find "xxx.xxx.xxx.xxx".
      – moonpoint
      Apr 8 '17 at 17:17













    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1054680%2fobtain-mac-address-from-network-printer-via-cmd%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    In Windows, if you know the printer's IP address, you can use "ping" and "arp /a" to find the same information. You will need to do some searching. If you don't mind clearing your DNS cache with "ipconfig /flushdns" the list will be shorter.






    share|improve this answer

























      up vote
      1
      down vote













      In Windows, if you know the printer's IP address, you can use "ping" and "arp /a" to find the same information. You will need to do some searching. If you don't mind clearing your DNS cache with "ipconfig /flushdns" the list will be shorter.






      share|improve this answer























        up vote
        1
        down vote










        up vote
        1
        down vote









        In Windows, if you know the printer's IP address, you can use "ping" and "arp /a" to find the same information. You will need to do some searching. If you don't mind clearing your DNS cache with "ipconfig /flushdns" the list will be shorter.






        share|improve this answer












        In Windows, if you know the printer's IP address, you can use "ping" and "arp /a" to find the same information. You will need to do some searching. If you don't mind clearing your DNS cache with "ipconfig /flushdns" the list will be shorter.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 15 at 15:04









        Christopher Hostage

        3,088927




        3,088927
























            up vote
            0
            down vote













            I used nbtstat -a as well. If you know the IP of the printer you can do nbtstat -a {IP address}, without the brackets of course :). It'll kick back the MAC address of the device associated with that IP






            share|improve this answer

















            • 2




              OP stated in the question that using nbtstat -a <IP> returns "host not found", advising to run that command is probably not going to help. If you have any other advice, feel free to edit your answer to include these information!
              – Adalee
              Apr 8 '17 at 15:32












            • The command may work if the device utilizes NetBIOS over TCP/IP. I.e., you will likely see the MAC address in the output if the system uses that networking protocol, but, if it doesn't, which is likely if the system is a printer, then relying on nbtstat -a ip_address to obtain the MAC address is not the best way to obtain that address. Instead, he could just ping the IP address and then examine the ARP cache with arp -a or arp -a | find "xxx.xxx.xxx.xxx".
              – moonpoint
              Apr 8 '17 at 17:17

















            up vote
            0
            down vote













            I used nbtstat -a as well. If you know the IP of the printer you can do nbtstat -a {IP address}, without the brackets of course :). It'll kick back the MAC address of the device associated with that IP






            share|improve this answer

















            • 2




              OP stated in the question that using nbtstat -a <IP> returns "host not found", advising to run that command is probably not going to help. If you have any other advice, feel free to edit your answer to include these information!
              – Adalee
              Apr 8 '17 at 15:32












            • The command may work if the device utilizes NetBIOS over TCP/IP. I.e., you will likely see the MAC address in the output if the system uses that networking protocol, but, if it doesn't, which is likely if the system is a printer, then relying on nbtstat -a ip_address to obtain the MAC address is not the best way to obtain that address. Instead, he could just ping the IP address and then examine the ARP cache with arp -a or arp -a | find "xxx.xxx.xxx.xxx".
              – moonpoint
              Apr 8 '17 at 17:17















            up vote
            0
            down vote










            up vote
            0
            down vote









            I used nbtstat -a as well. If you know the IP of the printer you can do nbtstat -a {IP address}, without the brackets of course :). It'll kick back the MAC address of the device associated with that IP






            share|improve this answer












            I used nbtstat -a as well. If you know the IP of the printer you can do nbtstat -a {IP address}, without the brackets of course :). It'll kick back the MAC address of the device associated with that IP







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 8 '17 at 15:14









            Nicholas Pifer

            1




            1








            • 2




              OP stated in the question that using nbtstat -a <IP> returns "host not found", advising to run that command is probably not going to help. If you have any other advice, feel free to edit your answer to include these information!
              – Adalee
              Apr 8 '17 at 15:32












            • The command may work if the device utilizes NetBIOS over TCP/IP. I.e., you will likely see the MAC address in the output if the system uses that networking protocol, but, if it doesn't, which is likely if the system is a printer, then relying on nbtstat -a ip_address to obtain the MAC address is not the best way to obtain that address. Instead, he could just ping the IP address and then examine the ARP cache with arp -a or arp -a | find "xxx.xxx.xxx.xxx".
              – moonpoint
              Apr 8 '17 at 17:17
















            • 2




              OP stated in the question that using nbtstat -a <IP> returns "host not found", advising to run that command is probably not going to help. If you have any other advice, feel free to edit your answer to include these information!
              – Adalee
              Apr 8 '17 at 15:32












            • The command may work if the device utilizes NetBIOS over TCP/IP. I.e., you will likely see the MAC address in the output if the system uses that networking protocol, but, if it doesn't, which is likely if the system is a printer, then relying on nbtstat -a ip_address to obtain the MAC address is not the best way to obtain that address. Instead, he could just ping the IP address and then examine the ARP cache with arp -a or arp -a | find "xxx.xxx.xxx.xxx".
              – moonpoint
              Apr 8 '17 at 17:17










            2




            2




            OP stated in the question that using nbtstat -a <IP> returns "host not found", advising to run that command is probably not going to help. If you have any other advice, feel free to edit your answer to include these information!
            – Adalee
            Apr 8 '17 at 15:32






            OP stated in the question that using nbtstat -a <IP> returns "host not found", advising to run that command is probably not going to help. If you have any other advice, feel free to edit your answer to include these information!
            – Adalee
            Apr 8 '17 at 15:32














            The command may work if the device utilizes NetBIOS over TCP/IP. I.e., you will likely see the MAC address in the output if the system uses that networking protocol, but, if it doesn't, which is likely if the system is a printer, then relying on nbtstat -a ip_address to obtain the MAC address is not the best way to obtain that address. Instead, he could just ping the IP address and then examine the ARP cache with arp -a or arp -a | find "xxx.xxx.xxx.xxx".
            – moonpoint
            Apr 8 '17 at 17:17






            The command may work if the device utilizes NetBIOS over TCP/IP. I.e., you will likely see the MAC address in the output if the system uses that networking protocol, but, if it doesn't, which is likely if the system is a printer, then relying on nbtstat -a ip_address to obtain the MAC address is not the best way to obtain that address. Instead, he could just ping the IP address and then examine the ARP cache with arp -a or arp -a | find "xxx.xxx.xxx.xxx".
            – moonpoint
            Apr 8 '17 at 17:17




















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1054680%2fobtain-mac-address-from-network-printer-via-cmd%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            QoS: MAC-Priority for clients behind a repeater

            Ивакино (Тотемский район)

            Can't locate Autom4te/ChannelDefs.pm in @INC (when it definitely is there)