Different default printer on different networks

Hi all
I have been trying to figure out a way to set the default printer settings to default to a printer dependent on the network connected to. I use my MacBook on a home and work wireless network and have network printers on both. I would like to be able to set up so it selected the printer relevant to the wireless network it is currently connected to as the default.
Any ideas would be much appreciated.
Mike

mikerw wrote:
Oh well, it was hopeless. I advise to steer clear
It's too bad that one didn't work out for you, but when you have time you might try these other programs:
- NetworkLocation: http://www.versiontracker.com/dyn/moreinfo/macosx/31179
- Locations: http://www.versiontracker.com/dyn/moreinfo/macosx/33214
- Location Changer: http://www.versiontracker.com/dyn/moreinfo/macosx/30710 (free)

Similar Messages

  • Set Default Printer based on user setting using Powershell script

    Hi 
    I would like to create a script that runs on user log off and captures the default printer (set manually by the user) and then another script to reapply the settings (saved upon log off) when the user logs back in.
    This is because local printers are set as default printer (PDF Creator Programs) when we all use Network Printers so this means a user has to set default printer to the network printer all the time.
    I have found this script to start with:
    $Printer = Get-WmiObject -namespace root\cimv2 -Query “select * from Win32_Printer Where Default = TRUE” -Impersonation 3 | select name | out-file C:\temp\Printer.txt
    But the out file looks like this:
    name
    \\PrinterserverName\Accounts01
    Which I dont see how it can be used on another script plus there are spaces after\Account01 
    Any Ideas please?
    M
    Maelito

    Hi Maelito,
    According to your description, you want to export the default printer name to text file, then read this printer name from text file and set the default printer via Powershell:
    #save printer name to text file
    Get-WmiObject -namespace root\cimv2 -Query “select * from Win32_Printer Where Default = TRUE” -Impersonation 3 | select -ExpandProperty name | out-file C:\temp\Printer.txt
    # read printer name from text file and set default printer
    $name=get-content C:\temp\Printer.txt
    (Get-WmiObject -Class Win32_Printer -Filter "Name='$name'").SetDefaultPrinter()
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Error The PC and the printer are connected to different networks

    Hi,
    I'm trying to set up my C4580 on my laptop, but I'm getting  the following error after the diagnostic test:
    The PC and the printer are connected to different networks(237DB2A87D and 66616B65). They must be connected to the same network. This can happen when you use the manufacturer's default network name (SSID) and another nearby network is using the same name. 
    My setup is a Linksys router WRT546,  my laptop is conntected wireless to the router.  I have two other desktop computers that are directly connected to the router.  Both the desktops are able to connect wireless to the printer.  My router SSID name is 'Blair Office' with WPA security.
    I get a internet connect fine with the laptop, but can't get the new printer to setup.
    I saw another post that talked about 'Print the C45** Network Configuration Page', but not sure how to do this
    Thanks
    Diane

    This reply may be late for this user, but it might be helpful for any current users.
    I managed to change the modem's IP address to match that of the printer. In my case the printer worked fine wirelessly until I moved to a new place and installed a new modem. Here is what I did to solve the problem:
    1. At the printer, click on the wireless button, wireless settings, print network configuration page. This will print a page with the printer's IP address (in my case: 192.168.0.13)
    2. I accessed my modem via the internet browser, typing 192.168.1.1 (this is one of the default addresses (192.168.0.1 is also common). Default user and password is admin (usually). There I changed the modem's IP address to 192.168.0.1 and the range to start at 192.168.0.13 (my printer's IP address).
    3. I saved the settings (the modem will reboot and you will be offline, it may take some 20 seconds before the modem is visible again).
    4. Reconnect to the modem and check if internet is still working. Then try to install the printer again.
    This worked for me after I read several other postings.
    Good luck!

  • C4780 PC and Printer on different networks

    Please help - I have just purchased a C4780 wireless printer, for a home with 3 laptops. Two of the laptops have been set up fairly easily to print wirelessly, but for the third I am getting the following message :
    The PC and the printer are connected to different networks(192.168.103.0 and 192.168.1.0). They must be connected to the same network. This can happen when you use the manufacturer's default network name (SSID) and another nearby network is using the same name.
    We have only one wireless router, a Linksys with SSID Linksys-6102, and that is identified on the printer's network test report, ( the only other listed is one called NETGEAR )  and also on the third laptop, as well as both of the others.
    The router's IP address is 192.168.1.1
    The printer's IP address is 192.168.1.104
    One of the successful laptop's address is 192.168.1.102
    The one I'm having a problem with has address 192.168.103.1
    Can anyone help suggest a solution?

    It sounds like the printer is on your network (Linksys-6102), but the third PC may be connected to a neighbor's (?) wireless network named NETGEAR.  It the third PC is connected to a neighbor's network, it will not see anything on your network.
    Your neighbor probably has a NETGEAR router with no security, which is a huge risk for them and a pain for you since your PC's will sometimes jump onto it instead of your own network.  If you know whose it is, talk them into changing the SSID and adding WPA or WPA2 security to it.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • I want to set default printer settings to be used only for a specific type of application, certain documents. All other print jobs should use a different default setting for the printer.

    I am printing a specific document from a web based application. This document need to be printed in landscape. So I would like to set the default settings for this specific printer to landscape. But for all other printers it should be portrait. But this does not seem to work. The browser picks the settings from the standard/default printer and uses this for all print jobs.

    Embie wrote:
    I was told by support that my problem was a hardware problem and that HP would not replace the faulty hardware.  Great.  I will replace my faulty hardware manufacturer.  Simple, HP never again.
    In the hour since you have registered you have posted seven messages, none of which contain any useful information that would allow someone here to help you.  Please read this post then provide some details in a new thread.  What printer model? What operating system? How is the printer connected - USB, wired LAN, Wireless LAN, bluetooth?  What is the problem you are having (with the printer...)?
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Acrobat 8 install forced change to different Windows Default Printer

    Immediately after installing Adobe 8 Pro my Windows default printer changed and I can't get it to stay set to the default that I want. Everytime I restart my computer the Windows default printer is set to the one it changed to after installing Acrobat 8 (not the one I had set as default the last time I used the computer).
    Also, everytime I restart my computer I get a "Please Wait while Adobe Acrobat Installs..." dialog. I also get this dialog the first time I open any MS Office application following every computer restart.
    Win XP

    Aandi - I am going through the Windows Start button... Printers and Faxes, then right-clicking on the printer that I want as my default printer and selecting 'Set as Default Printer'. It remains the default printer until I restart my computer. Then the printer that the Acrobat installation set as the default comes back as the default.

  • I have one modem in the house but I need 2 different networks.

    I have one modem in the house but I need 2 different networks that will not communicate or even see each other. The first network is the one that needs to be the most secure. The computers are used for personal information, documents, pictures, Apple TV and iTunes home sharing.(3 Apples, 3 iPads, 3 iPhones and 4 Apple TVs)  The second network needs to be for the 3 computers and gaming systems used for social games on Facebook, PSP, XBox, and a gaming system used for World of Warcraft.  The social interactions seem to be the ones that have picked up most of our computer network issues and I would like to be able to isolate them from any communication with our home network (2 PCs and 1 Mac). Is there a way that I can use 2 different routers along with blocking any bluetooth and/or bonjour connections?  I am not worried about a networked printer for the second network, it is more to try and contain any issues that may slip though virus protection and create a mess with our home systems. It would be nice to still be able to set up a Guest Network for the herds of kids and adults to use when visiting as well.  PLEASE tell me this can be done.
    Thank You
    Christine

    Christine,
    Apple may be able to do some, but not all of what you want to do.
    The dual band AirPort Extreme can create a main, or "private" network and a separate "guest" network. The private network can be configured to handle both wired and wireless clients. The "guest" network works only for wireless clients.
    Computers, devices, etc on the "guest" network cannot "see" or communicate with any of the devices on the main or "private" network. But, it is possible to allow clients on the "guest" network to see other devices on the "guest" network, so a wireless printer on this network would allow anyone on the "guest" network to be able to use the printer if you need that functionality.
    You can "extend" the "main" network using more wireless devices if you need more wireless coverage. The "guest" network cannot be extended.
    Depending on the level of service you have with your ISP, you may have bandwidth issues with two networks and multiple devices all trying to use the Internet connection.  I would think that a 25-30 Mbps connection would be the bare minimum to handle what you want to do and 50 Mbps would be advised.
    If you want to use two separate routers, you are really looking at a commercial type installation best handled by commercial products like Cisco, so that might be the place to look.

  • How to transfer the coherence cache t to a different network/environment?

    Hi,
    I have a requirement where in i need to import/export cache from one network into a different network/environment all together keeping the cache data intact. How do i achieve this from Coherence side? I am using distributed cache scheme.
    Regards,
    Radhika

    You could serialize to a file the content of the cache then read it back at the other end.  The cache dump usually does not take much time even for GB sized caches.  The import usually takes more time.
    Here is sample code to serialize the content of a cache.  Ideally you should use POF to have already compacted data.
    Export:
         public void exportCache(String cacheName, File file) throws Exception {
              WrapperBufferOutput wrappedBufferOutput = null;
              try {
                   NamedCache cache = CacheFactory.getCache(cacheName);
                   FileOutputStream fileOutputStream = new FileOutputStream(file);
                   BufferedOutputStream bufferedOutputStream = new BufferedOutputStream(fileOutputStream, 1024 * 1024);
                   DataOutputStream dataOutputStream = new DataOutputStream(bufferedOutputStream);
                   wrappedBufferOutput = new WrapperBufferOutput(dataOutputStream);
                   ConfigurablePofContext pofContext = (ConfigurablePofContext) cache.getCacheService().getSerializer();
                        for (Object o : cache.entrySet()) {
                             pofContext.serialize(wrappedBufferOutput, ((Map.Entry) o).getValue());
              } finally {
                   if (wrappedBufferOutput != null) {
                        wrappedBufferOutput.close();
             timer.print();
    Here is sample code to deserialize the content of a cache store on a file:
    Import:
    public void importCache(String cacheName, File file) throws Exception {
              WrapperBufferInput wrappedBufferInput = null;
              try {
                   NamedCache cache = CacheFactory.getCache(cacheName);
                   FileInputStream fileInputStream = new FileInputStream(file);
                   BufferedInputStream bufferedInputStream = new BufferedInputStream(fileInputStream, 1024 * 1024);
                   DataInputStream dataInputStream = new DataInputStream(bufferedInputStream);
                   wrappedBufferInput = new WrapperBufferInput(dataInputStream);
                   ConfigurablePofContext pofContext = (ConfigurablePofContext) cache.getCacheService().getSerializer();
                   while (wrappedBufferInput.available() > 0) {
                        ImportableObject o = (ImportableObject) pofContext.deserialize(wrappedBufferInput);
                        cache.put(o.getObjectKey(), o);
              } finally {
                   if (wrappedBufferInput != null) {
                        wrappedBufferInput.close();
    Here we assume that cache entries implement ImportableObject interface which has the getObjectKey() method.  This make it easy to figure out the key of the entry without knowing its real type.

  • Two websites on different networks - two NICs

    Hello,
    I have got an xserve, running 10.4.3 with two NIcs on different networks (192.168.... and one on a 10.0.0...) , connected to two different ISPs. I would like to run two websites, one per ISP/network card.
    I've read through Apple's doumentation - I think the problem is that OSX will only connect to the internet via one network card. Any I dea what I can try?
    I have seen a post on the discussion board regarding the ipfw.conf and firewall
    Thanks,
    Nico

    It has to do mainly with a routing table. In that routing table you tell the router if the destinition IP is X from Subnet Y send it through Gateway Z like this:
    Destination | Subnet mask | Gateway
    192.168.40.0 | 255.255.255.0 | local
    10.65.1.0 | 255.255.255.0 | local
    192.168.32.0 | 255.255.255.0 | 192.168.40.13
    192.168.35.0 | 255.255.255.0 | 192.168.40.14
    192.168.0.0 | 255.255.0.0 | 192.168.40.13
    10.0.0.0 | 255.0.0.0 | 10.65.1.25
    0.0.0.0 | 0.0.0.0 | 10.65.1.1 (Default)
    Just set-up where things can come from and where they should go. Setup a good defauly and you should be set.
    Hope that helps a little.
    Sorry if the table is a little hard to read.

  • How to use two different network cards on RT?

    Hi everyone... I'm currently working on a project where I have to deal with the issue mentioned in the thread's topic: I have a PC with RT LabVIEW that has to be able to establish network connections using two different network cards. One will be used to connect via TCP/IP with a host computer that will show the data transmitted through shared variables; the other will communicate with another PC through Modbus protocol. The key is that each communication is done through a separate network card.
    So far I haven't been able to figure out how to configure both things to happen. Does anyone know how to do this? Any tips will help.
    For the RT communication I'm using a standard RT project, with the RT PC being given one of the IPs, and for the Modbus part, I created an I/O server with a master and a slave. Separately everything works fine, but when I get them together it simply won't work.
    Thanks for your help!
    Solved!
    Go to Solution.

    Sorry it took me so long to answer, I've been busy lately....I've found a solution to the problem I mentioned, and just in case anyone has similar problems in the future, I'll shortly describe what happened.
    As Caseyw suggested, it was necessary to enable both network cards through the Measurement and Automation Explorer. The cause of the connections malfunction was actually that I wasn't using the "right" protocol for the Modbus communication, which ran on the secondary adapter. The solution was to use the URL protocol with the correct path on the field, addressing the right IP address. To avoid making this post a mixture of topics, I won't elaborate futher, but I got the gist of it, so if anyone is having similar problems whether it is working with several network cards or with Modbus communication protocols, feel free to contact me, I'll be glad to help.
    Thanks

  • When i put my own contacts into my iphone 3gs and deleted existing ones, the same happened on my mums iphone 4? my iphone was hers previously, but has been unlocked by o2, we have different networks and were 12 miles apart when i did it!

    My mum upgraded last week from iphone 3gs to iphone 4, I got the iphone 3gs unlocked as of this morning and proceeded to remove her contacts and put my own in.
    Several hours later she came home from work to find her contacts on the iphone 4 had been replaced with the same list i had put on mine!
    We have different networks, different itunes accounts etc, I can't understand why or how this has happened or most importantly how to fix it as she has lost all her numbers and is understandably very very cross....

    contacts are not visible in back up, but if she restores from that back up - contacts will come back to phone. Then all her apps and music have to be synced back again. She will also have all other personal info return to the phone, but all that info will be as old, as back up itself.

  • How do I set up different network locations with different wifi?

    I am having an issue setting up different network locations with different wifi profiles on each. I want to do this to enable fast switching of wireless networks. In my house I have two wireless networks, my own personal one and one that is created by using a wifi modem supplied by my company. If I use the company wifi network then I can get into all my work applications without having to enable VPN access separately. It is also faster. However, they also block many applications including sending email from my personal email account, dropbox, etc. So throughout the day I need to switch wireless networks back and forth.
    I was looking for a faster way to switch and thought I would try network locations. Was able to set up a new network location without issue. However it seems that whatever wireless preferences, changes, or wifi network order I put into my "Work" location it carries over to my other location which is the standard "Automatic".
    What I would like it to have my "Work" location only to be able to connect to my work wifi and my other network (Automatic) to just connect to my home wifi only. That way I can enable faster wifi switching and can even use my launcher program (Alfred) to provide shortcuts.
    Anyway to do this?
    Thanks in advance for any help or advice.

    Just thought I would bump this up in the conversation. Doing a further search I came across this discussion which is similar: Connecting to a wireless network via applescript?
    However, I tried to build the Automator application as discussed and cannot get it to work. Very much a novice at Applescript and Shell Script but have created customized Automator services before. All I get now is "Shell Script command encountered an error". No more detail. I copied and pasted the script as shown in the email thread. Is there any other line or command I need to place in front of it?
    Thanks again for any help

  • How do I access a USB server on a "different network segment"?

    I have tried posting this question in the Server community but with no response, however I believe the solution will be achived through Terminal and I believe there will be those versed in the use of Terminal here, so here goes.
    I have a USB Server with four ports attached to my ethernet LAN. If I enter the IP address into Safari it shows me the Server details and the details of any item attached to any of the ports. However I cannot access anything on the server. If I put the IP address into Connect to Server I get an error message. Apparently the Server is on a "different network segment". How can I overcome this?
    Attached pages from Safari.

    MyBook USB=junk.
    If you search the forums you will find many users with problems with this particular brand.
    Does this drive have an external AC power supply brick? If not, Apple recommends the use of a powered USB hub.

  • How can I read published data from a datasocket server running in a different network?

    Hi all,
    I have been trying to solve this problem but without any success. I want to develop data acquisition Vi to run on a computer on a remote location. I want to use the datasocket technology to acquire and publish this data so that in my office (in a different network), I can read the published data and perform analysis with it. I can successfully use this approach for the two computers in the same network but not when they are in different networks. My real problem is how to specify the URL for the acquisition computer in one network while the analysis Vi runs on a different network.
    I have attached two Vis to illustrate my point (I simply want to be able to read the random numbers generated in the acquisition computer in a different network). The first Vi (RemoteDatasocketWrite.vi) will run on the remote computer with an IP address (192.168.0.110). My office computer on which RemoteDatasocketRead.vi runs has an IP address (192.168.0.11) and I can log in remotely into the remote computer using Remote Desktop Protocol with name (emelvin.001.eairlink.com) from my office computer.
     Is it possible to do what I am trying to do or is there a simpler way to solve this problem?
    I will really appreciate any help towards a solution to this problem.
    Thanks
    Attachments:
    RemoteDatasocketWrite.vi ‏9 KB
    RemoteDatasocketRead.vi ‏9 KB

    Are you getting an error? The way you have it set up, you can have an error and it will never be displayed. Put and error control on your front panel and see what it gives you. Also, shared variables in a project can be useful. Look at some examples for that.

  • HT5554 How can I tell if an iPhone 5 is locked to a network ( without having to try different network sims)

    How can I tell if an iPhone 5 is locked to a network - without having to try different sims from different networks?

    you can't.  If you really want to know, call Apple Care.

Maybe you are looking for

  • HP 5520 NOT PRINTING

    My relatively new HP 5520 is not printing. I have replaced the ink which were getting low but did not neccassarily need to be changed and still no joy. A test page will print but not any documents ! Have tried everything reinstalling etc etc when i g

  • How to upload photo to the web

    I could not upload photo to the web by safari is there any way to do so please help me

  • Unknown error 502...

    all my music got cleared, like many other people's lately...i contacted support and they said i could re-download my music for free, but my music won't download because of "unknown error 502"... in an unrelated error, when i try to go to the discussi

  • Quicktime won't run due to "Quicktime 7.msi" cannot be found

    Hi, My problem is described below - Recently whenever I try to open Quicktime or run a Quicktime movie or even visit the Apple.com website, a window appears on my computer saying "Windows is preparing to install." Then it changes to "Please wait whil

  • Mac Help from finder help crashes

    Hi all- when I try to select "Mac Help" from the finder's help menu, the help viewer appears for a short time (with no content), then disappears. If I open the help viewer manually (via the app folder, or spotlight) it works fine. I have repaired per