How can I retrieve the IP address of the default printer from the windows registry

I am using LabVIEW 7 on windows NT4 computers.
I have a SubVI that I use to ping the network printer to make sure that the printer is on line prior to sending a print at the end of testing a unit.
If LabVIEW does not get a reply to its ping data is saved locally and the user informed.
I would like to modify the VI that pings the printer to ping the default printer of the computer on which the VI is running.
I would be grateful if anyone can show me how to retrieve the default printers IP address.

Hi Stuart,
The registry entries for User's Default Printer are:
Win 9x:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr​entVersion\Windows]
NT/XP:
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows]
"Device"="Printer Name"
The device is the name used to represent the printer in the registry. The name can be found in the [HKEY_CURRENT_USER\Printers\Settings] key.
Machine name is part of the "Printer Name," which you can use to ping directly (i.e., w/out having to look-up its IP address).
Hope this helps.
Regards,
Khalid

Similar Messages

  • How can i get my hp office jet j4550 to print from word 7?

    How can I get my HP Office Jet j4550 to print from the Microsoft Word 7? I downloaded the drivers for the printer and reinstalled Microsoft Word 7. 

    Do you mean Windows 7?
    ======================================================================================
    * I am an HP employee. *
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **
    ***Click on White “Kudos” STAR to say thanks!***

  • How can I delete a bookmark address in I cloud without deleting the whole account

    How can I delete a bookmark address in I cloud without deleting the complete account. Is it possible?

    Your question does not make much sense. iCloud syncs Safari's bookmarks between devices. If you delete a web site's bookmark from one device it will be removed from all other devices setup to sync to your iCloud account. If this is a bookmark to other websites you have an account with such as Amazon or other sites you are only removing the bookmark to that site, you would have to log into that website to remove thae account related to that site.

  • HOW CAN I DELETE AN EVENT WITHOUT  HAVING TO SELECTING IT FROM THE LIBRARY?

    I have a big problem.
    I want to delete an entire event from my library because everytime I select it imovie freezes and then close itself up. So I have to re-open imovie again. And when I want to select that particular event again the same problem occures. So I can not select that particular event. Therefore I can take NO action on this event.
    HOW CAN I DELETE AN EVENT WITHOUT HAVING TO SELECTING IT FROM THE LIBRARY?
    (Everytime I select it imovie closes itself up)
    All other events work fine. I believe The footage had a problem from capturing. but now it's in my computer and i can't open it.
    Please help me, I don't need this event, I can't open it therefore I can't use it and it takes place on my hardrive for nothing.
    Thank you

    One can delete it from one's computer. In the finder go to homeuser, movies, imovie events, delete the footage.
    Then reopen iMovie and see if that helps.
    Hugh

  • HT4628 How can I set up a standard account to auto disconnect from the wireless network upon logging out (Using Mavericks)?  There used to be a setting for this in previous versions of OSX but I can't find it in the new version.

    How can I set up a standard account to auto disconnect from the wireless network upon logging out (Using Mavericks)?  There used to be a setting for this in previous versions of OSX but I can't find it in the new version.

    How can I set up a standard account to auto disconnect from the wireless network upon logging out (Using Mavericks)?  There used to be a setting for this in previous versions of OSX but I can't find it in the new version.

  • How can I make an external link (to a different folder) from the main menu?

    How can I make an external link (to a different folder) from the main menu?

    If the folder is outside the Muse page, you will have to insert manual HTML to define a more complex URL like e.g. ../_stuff for going one level up and then into a folder called "_stuff" The deeper you are in the hierarchy, the more ../ you will have to add to climb up.
    Mylenium

  • How can I completely remove iTunes and all associated files/programs from my Windows PC?

    How can I completely remove iTunes and all associated files/programs from my Windows PC?

    iTunes, along with Quick Time, iCloud, Apple Software Update, Bonjour, Apple Mobile Device Support and Apple Application Support can all be removed from your PC by uninstalling them using 'Uninstall or change a program' in Control Panel. The only obvious thing that will be left behind is your iTunes library which remains untouched. If you want to remove that as well it's just a question of deleting it.
    Hope that helps.

  • How do I find a list of printers that will print from the IPad 2?

    How do I find a list of printers that will print from the IPad 2?

    Those that support AirPrint are listed on this page : http://support.apple.com/kb/HT4356
    Some printer manufacturers also have their own apps e.g. HP http://itunes.apple.com/us/app/hp-eprint-home-biz/id299531647?mt=8
    And there are third-party apps which work with some printers e.g. Print Central For iPad and Print n Share

  • How can i retrieve my ip address.i lost all my receipts and my box.someone stole it

    how can i retrieve my stolen ipad 2?i lost everything that proves that it is mine.all iknow is the apple address.i want to know the ip adress and everything about it

    The IP addres won't help you at all if someone connects from a different location.
    Did you install and activate Find My iPhone before it was stolen? If so, you can try to locate it from http://icloud.com. In any case, you should report it stolen to the police and your mobile operator if it was a 3G version.

  • How can I retrieve my photos and videos after pressing 'delete from everywhere' accidentally on my iPhone 4s?

    Hello all,
    So I was organising my photos and videos on my iPhone 4s and wanted to delete them from my camera roll once I had moved them to new folders. When I tried to delete them from my camera roll it asked if I wanted to 'delete from everywhere'. Not knowing what this button did I pressed it and have now lost all the copies of those photos and videos I had taken!!!
    Is there any way of retrieving them off of my iPhone? Is there like a recycle bin type folder where all the deleted data has gone to from where I can recover it?
    Hope someone can help.
    Thank you

    Your backup contains photos and videos from the camera roll, if you did not sync after that, use the latest backup to restore from: iTunes: About iOS backups and Backing Up, updating, and restoring your iPhone and iPod touch software

  • How do I get Firefox to recognize my new default printer as the old default printer is no longer connected?

    I have installed a new default printer in my computer which is running Windows XP Pro. When I try to print from the browser it keeps showing the old printer which is no longer connected to the computer. Every other program has recognized the new default printer. The Control Panel indicates that the new printer is the default.

    You can force Firefox into forgetting the old printer.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''print.print_printer''', right-click on it and choose '''Reset'''
    # Restart Firefox

  • How can I change my email address on my Itunes account if the old email address has been closed down?

    Hi, my brother is struggling to log in to his itunes account. He has been using an old email address but not actually logged into his email account for quite a while. All of a sudden he hasn't been able to sign in to itunes. He has been trying to change over the email address but it looks like the old email address account has been deleted. Any ideas he can go around this to change it over?

    Hello amy_c22,
    Thanks for using Apple Support Communities.
    From what I understand is that your brother no longer has access to the email being used for the Apple ID.  He will be able to change his Apple ID if you follow the instructions in the article below:
    Apple ID: Changing your Apple ID
    http://support.apple.com/kb/HT5621
    Take care,
    Alex H.

  • How do I change the IP address on my 4000TN printer from 0.0.0.0

    My 4000TN printer shows an IP address of 0.0.0.0 in the configuration menu.  How do I change this IP address so that I can connect the printer to my Apple Airport Extreme Base Station for wireless printing?
    This question was solved.
    View Solution.

    Did you select manual configuration? 
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • How can I fix my Firefox browser so that PDF files from the Internet do not blur and go out of focus?

    When I try to open a PDF document from the Internet, it opens, with sharp resolution; however, within a few seconds, it blurs and seems to have multiple copies being shown on top of each other (ever so slightly mis-aligned). Yet, when I use any other browser, the document opens without losing sharpness.
    Also, opening a saved PDF document in Adobe Reader does not cause any loss of sharpness.
    Running updated Windows XP; Adobe Reader updated; and Firefox updated.

    Firefox's built-in PDF viewer overlays a transparent layer of text over a graphical image so you can copy/paste. It doesn't always line up pixel-perfectly, so if the text is not transparent for some reason, you will see double text.
    Could you try switching to the Adobe Acrobat plugin? This article has the steps: [[How to disable the built-in PDF viewer and use another viewer]]. Does that one work correctly?

  • How can I find e-mail address for photosmart D110 printer?

    I am trying to send printing from a remote computer.  I need my printer's e-mail.  Where can I find it?

    Look for the web services or ePrint icon on your display (it looks like a piece of paper with blue circles around it).  Press that icon and a menu should come up, then press display email address. 

Maybe you are looking for

  • Display icons in Network ui element

    Hello everybody! Im trying to display some hierarchies in a Network ui element. Generally, this works fine, but I'm not able to display icons with the elements inside the applet. The examples in the JNet/JGantt Developer Documentation use <icon/>-tag

  • 'writeSettings' in plug-in 'servermgr_dns' error.

    Hi I get the following error when trying to add DNS entries in OS X Server DNS. "The error occurred while processing a command of type 'writeSettings' in plug-in 'servermgr_dns'." I just did a reinstall of the Server App because of similiar issues. E

  • Vodafone Sure Signal problem due to BT stability

    Just a quick post to help any Vodafone Sure Signal users who are struggling to make calls. There are major compatibility issues between SS and the various BT hubs. Go to the vodafone forum to see how many people are struggling to make calls and many

  • I can't find my iMovie in my macbook

    I'm looking for imovie in mac and I can't find it. Any ideas?

  • Burning a DVD without Themes

    "I recommend an autostart dvd where you drag and drop your QT movie to the top box while in map view and then set the movie to loop. That way it will play in kiosk mode w/o much user interaction other than inserting the Dvd." Hi all, I am fairly new