Choose the right printer to print (leave the default printer)

Hello

I m wrote a script to automate the printing process in Photoshop. I m of the problems when tell Photoshop to set the correct printer...

The printer I want to print is a network printer, called '\\PC1\Sony UP-DR150.

So I tried:

var doc = app.activeDocument

doc.printSettings.activePrinter = '\\PC1\Sony UP-DR150.

The result of the code is always my default printer computer. Photohop does not change the printer!

Now another test:

var doc = app.activeDocument

PR = doc.printSettings.printers var

doc.printSettings.activePrinter = pr [5] //this is the correct printer number in the table 'pr '.

The result of the code is the same > always my default computer printer. Photohop does not change the printer to the desired direction.

What Miss me?

Thank you for the help

Best regards

Gustavo.

I wonder if you tried...

var doc = app.activeDocument
doc.printSettings.activePrinter = "\\\\PC1\\Sony UP-DR150"

As each backslash would need to be escaped.

Tags: Photoshop

Similar Questions

  • Program not available in the dialog box to choose the default programs?

    Hello

    I've seen use 7-Zip for about two months after using WinRAR and really enjoy. However, I could not make up the 7 - Zip context menu, so I downloaded and installed 64-bit instead of the version 32-bit I used (I have a 64 - but machine).
    However, once I did it, Windows has not found the original 7 - Zip program, then I tried to choose the default program for 7 - Zip again. In the menu "choose program by default", I couldn't find the Z - Zip program. Even after the conclusion of the executable manually through 'Browse', the windows would show not 7-Zip as an option to open the file.
    I also tried:
    "Set default programs".
    -"Associate a file type or Protocol with a program."
    -Resettlement of 7 - Zip
    -Restarting my computer
    -Suspension and unsuspending my computer
    The only program of the 7-Zip file, it can open is 7 - Zip Console, but appears not to work either (as I expected).
    Any help would be appreciated!
    Thank you
    Alex
    ----------------
    Also, I use Windows Vista 64-bit with Service Pack 2 on a 4 GB RAM HP Pavilion laptop and an Intel Core 2 Duo processor.

    Hello


    You should contact support for Zip 7 for better assistance, possible all the troubleshooting steps have been done.
    http://www.7-zip.org/support.html

    Hope this information helps
  • Photoshop - open with: choose the default program

    Hello

    How to choose Photoshop as the default program for opening .jpgs if the program does not appear in the "program to choose that you want to use to open this file?" the

    Also, I've traveled in order to choose the default program, but when I go to: Program Files > Adobe > Adobe Photoshop CC 2014 > Photoshop.exe and choose this program, Windows Photo Viewer is automatically chosen and Photoshop NEVER appear in my choice of default programs.

    It wasn't a problem with an older version of Photoshop.

    Help!

    Lonnie

    Finally figured it out! I just went in the rededit folder, copy, deleted the line of code, and then reinstated it with the correct code (same code she had in) and it works perfectly - same watch upward in default programs!

    Thank you people!

  • Unable to choose the default printer

    Original title: System do not select the default printer.

    I just added HP Officejet Pro 8620, but does not do by default.  My HP Pro 400 is still my printer by default, but every time I print, the 8620 appears as the default even if not selected by default and I need to change it to use the default printer, so that both printers are working properly, my system does not recognize the default printer as the default printer.  I played with the default setting, modify the printers and then back to the default, I want to, but who was not good.

    Hello

    Thanks for posting your query in Microsoft Community Forum.

    The problem may be due to reasons like print, of any conflict of third party software, virus or malware etc. settings. I suggest you run the printer Troubleshooter and verify.

    Step 1: A convenience store is an automated tool that can find and automatically fix problems with your PC.

    Troubleshooting of the printer

    Step 2: If the problem persists, I suggest you perform the clean boot in order to avoid any conflict of third party software.

    Put your system to the clean boot state helps determine if third-party applications or startup items are causing the problem. You must follow the steps in the article mentioned below to perform a clean boot.

    How to perform a clean boot in Windows

    Note: see 'How do I reset the computer to start normally after a boot minimum troubleshooting' to reset the computer starts normally after troubleshooting.

    Step 3: Run Microsoft Safety Scanner to find and remove viruses or malware.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    Microsoft safety scanner

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Note: Data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    See also: change your default printer

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

    Thank you.

  • I can't choose the default settings, the program allowing a choice of default values is missing from my computer

    I wanted to choose "Outlook Express" that the program used to send photos from Picasa, and therefore, I realize that 'choose' default programs is missing from my computer... is usually by clicking on the start menu, it's gone... ".

    Control Panel | Add/Remove programs. Set Program Access and Defaults. Custom + down arrow | Select the option for Outlook Express.

    Making OE the default e-mail client:
    http://www.oehelp.com/oedef.aspx

    For the links in the email:
    http://www.oehelp.com/oelnk.aspx

    And:
    http://support.Microsoft.com/?kbid=306098

    Restore OE to e-mail clients list in Internet Options
    http://www.dougknox.com/XP/scripts_desc/oe_client.htm

  • Have both CS6 anc CC 2015 release how to choose the default?

    I have TDC 2015 (using Win7Pro64bit).

    Installed the two anc Indesign CS6 CC 2015 (because of old files that need the output of the CS6).

    Default to opening of. INDD file is always CS6 and if I try to open with CC, it does not work. To open a file with CC relase I uninstall the CS6.

    On win 7 by default is determined by the order in which they are installed, the last installed version of the program becomes the default.

  • PanelTabbed of the ADF. How to choose the default tab when the page loads

    Hi all
    I have a panelTabbed with three showDetailItem component, and I want the first showDetailItem to the tab by default whenever the page loads.
    Currently, the default tab, that's all that the tab that was last visited.

    I tried to disclosed attribute set to true on the first tab and false for the other, but it does not work.

    Thanks in advance.

    Published by: 947142 on July 18, 2012 11:03

    Have a method in the managed bean that is called when the page is loaded and set the tab disclosed.

    Here is a sample based on your use cases:

    PanelTabbed.jspx:



    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich" >












    PanelTabbedBean.java:

    import java.util.List;

    javax.faces.component.UIComponent import;
    Import javax.faces.event.PhaseEvent;

    Import oracle.adf.view.rich.component.rich.layout.RichPanelTabbed;
    Import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
    Import oracle.adf.view.rich.context.AdfFacesContext;

    public class PanelTabbedBean {}
    Private RichPanelTabbed myPanelTab;

    public PanelTabbedBean() {}
    }

    {} public void setMyPanelTab (RichPanelTabbed myPanelTab)
    this.myPanelTab = myPanelTab;
    }

    public RichPanelTabbed getMyPanelTab() {}
    Return myPanelTab;
    }

    {} public void onPageLoad (PhaseEvent phaseEvent)
    If (phaseEvent.getPhaseId () .equals (phaseEvent.getPhaseId (). RENDER_RESPONSE)) {}
    If (!.) {AdfFacesContext.getCurrentInstance () .isPostback ())}
    If (this.myPanelTab! = null) {}
    List childUIComponent = this.myPanelTab.getChildren ();
    If (childUIComponent! = null & childUIComponent.size () > 0) {}
    for (int i = 0; i)< childuicomponent.size();="" i++)="">
    If (childUIComponent.get (i) instanceof RichShowDetailItem) {}
    If (i == 0) {}
    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (true);
    } else {}
    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (false);
    }
    }
    }
    }
    }
    }
    }
    }
    }

    Thank you
    Nini

  • How can I choose the default search engine in the address window?

    You explain how to change the 'address bar' default search engine at the top right. I want to know how to change the search engine in the address at the top window to the left. Currently, if I type in an address not recognized, my ISP search engine will appear. I'd rather have the search engine of Google or Bing when I make a mistake of addressing.

    You can have an ISP that automatically redirects you to a search page if a DNS search fails.

    Who takes control of Firefox to search with the normal keyword like a Google, I'm lucky search.

    In this case, you will need to contact your ISP and ask for a DNS to opt-out of this feature.

    You can also check if there is a link on the search results page to go to your ISP and opt-out.

  • How to set a synth MIDI of third-party software downloaded as the default synthesizer on Windows 7 (64 bit)?

    I downloaded CoolSoft VirtualMIDISynth more Web Soundfont v1.0.  I'm unable to set up virtual machines to recognize the virtual computers.  Only GS Wavetable, as I understand it is not in the operating system.
    This is a 1 years computer with card mother i5, available on the 200 GB drive and 16 G memory.

    I am the author of Web SoundFont and I'll be happy to help you if you are having problems with my Bank and CoolSoft VirtualMIDISynth.

    I second the comment of S.V. Sissi, even if your problem is mainly with newer versions of Windows, which simply do not have the control panel you are looking for choose the default of MIDI output device to be used in all Windows applications.
    This setting was not available up to Windows XP, but with newer versions, you will need to use third party software to configure it in a friendly way. On Vista/7, you can use the combobox control, you will find under the tab "MIDI Mapper" CoolSoft VirtualMIDISynth settings window.
    On Windows 8, there is an alternative workaround available, although more difficult to apply than MS simply locked access to the MIDI Mapper to force using internal MS/Roland GS software Synth. Quite a bad decision for all lovers of noon with good hardware or software synths on their computer...
    You will find all the information you need on the site of VirtualMIDISynth (http://coolsoft.altervista.org/virtualmidisynth and http://coolsoft.altervista.org/en/blog/2013/03/what-happened-midi-mapper-windows-8).
  • 11 HR (HTML) - the default fonts and paragraph in a new topic

    I would change the font settings and default paragraph in the new topics that I create.
    How do I do that?

    Hello

    When you create a new topic, then you can choose the css you want to apply to the default subject.

    New dialog box is a named 'appearance' tab where you can choose the default css to apply. Next time that you create the topic, this newly selected css will be applied by default.

    Let me know if it works for you.

    Thank you and best regards,
    Manu of FIFA

  • Updating of the default hotkeys in CS1

    I use a computer where someone has adjusted all the default shortcuts on 'stop' is possible to restore shortcuts?  It resembles a default.txt file located in the presets as well as a default KBSC file folder.

    The first thing to do is editing > shortcut keys... and check if a custom scheme is in use. If this is the case, choose the default value defined in the list. Sets of shortcuts are XML files, and if the ID won't let you change the default value directly, it is conceivable that someone edited the code, but very unlikley.

    If there is not a custom in use set, the next step would be to reset the application preferences. This section of the help covers procedures in CS4: Adobe InDesign CS4 * setting preferences keyboard techniques are the same for CS1, as this is the view in the comments on what should be safeguarded. If you choose to do a repalcement manual file rather than the method of keyboard, two files will preferably be in the Application Data folder you user profile in Windows, rather than split into two directories. I'm not sure about Mac. In any case file names are always the same, so you should be able to find them using a search.

  • Utility HP always chooses the wrong printer

    I have two HP printers that I use a MacBook and travel with her. An I keep at home (a Photosmart C4180) and another (a Photosmart Premium C309g-m).

    For some reason any, whenever I Plug one of them in my computer, the HP utility think I the other is plugged it. It is impossible to retrieve any useful information, or I can use anything directly related to the HP utility. (I can always print with the two and scan with the former.) If I choose another printer, I get a loading bar for a fraction of a second, and the HP utility does nothing. I can't remove a device, and if I try to click on 'All settings', utility HP crashes.

    Zombie,

    Download and install this: http://support.apple.com/kb/DL907

    Restart your Mac.

    Reset the printing system:

    -Go to System Preferences > print & Scan
    -Right (or control) click in the rectangle listing your printers and select Reset Printing System.
    WARNING - This will remove ALL your printers!
    -Select the sign more to add a printer. Select the default tab on the top of the window. Search for the printer, select it, and then beside the dropdown 'Use', select the model of the printer (not AirPrint). Wait for the 'Add' button becomes available. Until it clicks.

  • HP C7280 not duplex print. Possibility to choose the duplex unit installed is grayed out.

    I am running Windows 7, 64 bit. The duplexer is installed and worked recently when printing a web page. That's why I know it works but I can't print two against any other time. I am not even able to choose the duplex unit installed in the menu options. all the drivers are up to date. In addition, they had a driver update that came out in 2010 for the duplexer and when I tried to install, I got an error saying that it was not compatible Windows 7. Any ideas?

    The duplexer must be selected in the desdcribed for Vista/Windows 7 Duplex Printing Guide here.

  • Help choose the best inkjet printer?

    Before buying a new inkjet printer all in one. Please, tale me making problems have computer known less than installing the printer ink jet model and more compatible with a desktop link to dell by using a Usb cable.  Answer soon?

    Bofish,

    All printers put in place the same then choose the printer you want. If you need help setting up, we have a forum for the printer to help you.

  • HP 3050 - can't choose the BEST Option for printing

    I just bought this new printer today, I got up this set-up to work via my wireless network, and it's great, a little violin, but at the end of the day it works, but for some reason that I can't print at BEST under properties its all gray of any reason why I can't select all. I did the alignment of cartridges and everything was going good impressions are all straight and what not I print on plain paper 80 gr normally I get 100GSM but it was very expensive store, I went also, the version of the software from the CD I got with the printer is V12.3.1 is this is any help.

    I noticed that I can choose the media and choose the best quality of plain paper, but who has just basically telling the printer that I use a GSM high appreciation paper dosnt it.

    Hello.

    For this model, the driver settings are a little different.

    To set the print quality, select support options unter the paper/quality tab, need you to seklect the type of media and the print quality according to.

    Shlomi

  • HP OfficeJet Pro 8610: Designating the right printer for the printing of emails

    My default print, microsoft to try to print emails (Optimum).  How can I change the default to accept the HP printer?

    Hi @ace8.

    Welcome to the Forums of HP's Support. I appreciate that you try to change the printer when printing an Optimum account emails.

    So that I can help you better, I have a few questions.

    When you say that by default, Microsoft do you mean Microsoft XPS writer or a note?

    What web browser are you printing from?

    When you go into devices and printers, is the set of 8610 as the default printer?

Maybe you are looking for