[JS] [CS4] - populating a drop down with the list of printers?

Hello

I am filling a drop down field with the list of available printers. Here's what I have:

var app.printerList = printerList;

var w = new Window ("dialog");
w.orientation = 'row';
var dropDown = w.add("statictext", undefined, "Please select the printer");
var dropDown = w.add ("dropdownlist", undefined, printerList);
dropDown.selection = 0;
var buttonGroup = w.add ("group");
buttonGroup.add ("button", undefined, "OK");
w.center();
w.show();

This will fill a drop down with "Printer, printer, printer, printer" for each printer instead of the printer name (which is what I want).

When I try:

var printerList = app.printerList.name;

I get a drop of water to the bottom of the empty entries.

Any ideas on what I am doing wrong?  Exactly how does the printerList?

Thank you

Lindsay

It also takes to still in my system, so I would add the following line

var pL = app.printerList;

and pL to avoid multiple calls to the system. for example

var arrayPrinterNames = [];
for (var i = 0; i < iCount; ++i) {
          arrayPrinterNames.push(pL[i].name);

Tags: Illustrator

Similar Questions

  • Why firefox doesn't include pages recently accessed menu drop-down with the 'back' button?

    This feature is fairly common and useful instead of research in history or up one by one.

    Click and hold or click the back button to see the back / before the list.

  • Drop-down menu horizontal list - change how to open the Sub Menu entry

    Hi all

    Thank you in advance for your time and your help and please excuse my English, this is not my mother language.

    I have a little problem with the list of the menu drop down, I use it instead of the tabs to navigate through my application and now I have users who want a larger arrow / select the field to open the menu void entries. I did a screen capture to make things more clear, but it seems that im not allowed to attach photos to this post.

    The problem is, you have to click on the small arrow - no area is valid to open the submenu and I do not see the possibility to increase the arrow or use a larger space.

    I googled already for a long time but could not find anything specific on the change of this arrow. He could only do a little bigger, or all simply to use the whole of the area to the right of the label in the list drop down Parent (which is a link itself).

    I hope you can provide some ideas how to handle this problem.

    Best regards

    Christian

    Edit: We use: Application Express 4.2.3.00.08

    Hello

    I think that the image does not come from CSS file.

    I can see the source HTML of this image is defined by the img tag.

    Then you should be able to change when you change the list template

    13.2 customization of models

    13.2.10 models list

    Kind regards
    Jari

  • File menu Flash dropdown, drops down on the site from loading in the browser.

    File menu Flash dropdown, drops down on the site from loading in the browser.

    < removed by mod >

    Include code in your ad that deals with the appearance of the menu drop down.  Something is triggering fall without having to interact with him... It will take just a stop(); command in the script if it's an animation timeline.

  • NavBar menu drop down behind the sidebar

    I sent this yesterday but didn't have not heard of anyone. Anyone want to take a stab at it for me please.


    Would be someonoe take a look at the navigation bar on this site I'm redesign please.

    Fall of IE7 under ministries and stewardship fall behind the top area of the sidebar. IE6 and FF looks good.

    There are still a few errors that I work, but do not believe they have something to do with the navigation bar Act in this way in IE7.

    Also in IE6 my head sometimes has very long. Thoughts?

    I hope someone can help. Thank you.

    Lynne

    Search for this rule:

    {#navbar}
    Background: url (.. / images/bg_topbar.jpg);
    background-color: #13214 c;
    height: 2.25em;
    margin: 0;
    }

    Change to this:

    {#navbar}
    Background: url (.. / images/bg_topbar.jpg);
    background-color: #13214 c;
    height: 2.25em;
    margin: 0;
    position: relative;
    z index: 999999;
    }

    --
    Al Sparber - PVII
    http://www.Projectseven.com
    The finest Menus Dreamweaver | Galleries | Widgets
    http://www.Projectseven.com/go/pop
    The ultimate DW menu system

    "lynnegeek" wrote in message
    News:gonj2e$5RP$1@forums. Macromedia.com...
    > Thanks for checking out Mark. I tried your suggestions and it does not
    > work. I have
    > currently have mistakes, but they are caused by the video and
    > marquee.
    > When I take those out, the page validates well. I replace the
    > marquee
    > as soon as I find some js to do the same.
    >
    > Unfortunately my nav menu drop-down under the stewardship and departments always
    > mask
    > behind the top in the sidebar box.
    >
    > I'm starting to have pain in the chest over this. Don't know what I don't see.
    > I
    > guess that has to do with the top box.
    >
    > Is there anyone out there (I want to sing Pink Floyd!) that
    > would be
    > Take a look at this for me. Here is the
    > http://www.webassistantsllc.com/clients/QOP
    >
    > I appreciate any help. Lynne:
    >

  • My suite creative cloud everything has disappeared. I just had last week. Each place of access applications is empty, including the drop down on the desk.

    My suite creative cloud everything has disappeared. I just had last week. Each place of access applications is empty, including the drop down on the desk. And of course, there is no one to talk at the end of week!

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -https://helpx.adobe.com/creative-cloud/help/sign-in-out-activate-apps.html

    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    -https://helpx.adobe.com/x-productkb/policy-pricing/activate-deactivate-products.html

  • I installed photoshop CS4 on a new PC with the original CD. Camera Raw does not show the 'Snapshots' tool and the tool "setting of the target". Thanks for your help!

    I installed photoshop CS4 on a new PC with the original CD.

    Camera Raw does not show the 'Snapshots' tool and the tool "setting of the target".

    Thanks for your help!

    As you can see, you are using version 5.0, who can't stand still not instant in it.

    Please check for updates in Photoshop > help.

    Concerning

    Sarika

  • In our Web page we have pages with lists of the pdf reports that we want to make available. I tried a search engine, but it only directs you to the page with the list. How can we lead the researcher to a specific report?

    In our Web page we have pages with lists of the pdf reports that we want to make available. I tried a search engine, but it only directs you to the page with the list. How can we lead the researcher to a specific report?

    Exactly, it would depend on how you have set the referencing of your site, please check the suggestions made in this tutorial:

    https://helpx.Adobe.com/Muse/how-to/sitemap-XML-file-explained.html

    In addition, you can check these:

    http://musewidgets.com/collections/all/SEO

    Thank you

    Sanjit

  • Problem with the list item

    Hi all
    I am facing a problem with the list item in my form. In my form, I have a list item (tmd_stat) with 3 list of values as the item complete, incomplete and null.this lies in the control block.

    I have a block (Detail) which is the database block.status_disp [point List] is one of the .an article on the value of list tmd_stat is filling with different values.

    an alert message (you want to change the status? Yes/No) will appear when we change the list item. If I click YES then the list works and retail block point status_disp is filled with a different list of values. If I click on 'No' the list value will be set to changed value.i.e suppose that I'm changing the Complete incomplete list item, alert message will be displayed. If I click on 'No' the cursor is placed on incomplete but incomplete. How can I place the cursor on the full value.

    Can you please give me the solution.

    Thank you

    Hello

    Save the old value in a variable and then if the user clicks on No. then reassign this value to the list item.

    Kind regards

    Manu.

  • Printer and driver; When I try to add Epson Stylus SX415 he does not appear in the list of printers

    My Epson Stylus SX 415 does not want to play with my windows 7. it did before. Printers on my computer, it has a 410 SX that I can't remove for any reason any. When I try to add SX415 he does not appear in the list of printers of ideas?

    Have you tried to download and use the driver provided by Epson for this printer?

    Windows 7 will install the drivers for some printers, but not all, and in many cases, the software installed does not have full use of the features of the printer.

    Remove printers from the list in the devices and printers sometimes takes awhile, and even a re-boot.  Uninstall will fail if there are no printed documents in the print queue in Windows to be printed.  You must delete this queue first.  There is a troubleshooting printer built into Windows 7 that can help too.

  • Two entries in the list of printers MAC Applications - one prints wireless / the other does not work

    Just implement the 4630 and in the list of printers on the Applications, I have 4630 series and the 4630 [F4COCE].  Printed wireless and the other not.  I have the fax 4630 also but you have yet to try.  Why have I not two in the list of printers, and I would like to delete a?

    Hi BreezyP,

    Welcome to the HP Forums!

    I see that you have two printers on your Mac, and you wonder why. I'm happy to help with this problem!

    In my view, the second printer that does not print wireless, is the connected USB printer. If you unplug the USB cable connecting the two ends of the Mac and the printer, it should show offline.

    Regarding the deletion of a printer, it's a personal preference, if you do not use the USB cable at all, I would personally delete the one which is not wireless.

    The fax printer is used for the fax from Mac.

    Hope that answers your question and have a great day!

  • HP network printer shows the network map but offline on the list of printers.

    On one of my computers networked, HP "Solutions Center" said driver HP 6310xi printer is connected, the status of retail & will print their diagnosis directly report to the printer.  Windows 7 printer in network map poster, & gives status & installation information data information internal printer via IE by page (192.168.1.100) to the IP address of the printer.  However, control panel Windows 7 printer displays printer as "offline" on the list of printers & just policies of the print requests.  Troubleshooting gives error message "turn on printer monitor.  Other printers to print OK network.  Bad computer is on a different subnet in my home network with a wireless LinkSys WET610n connection bridge.  My network is totally LinkSys N.  Why Win 7 make a basic network connection to the printer, but not recognize it as a printer online?... HTC

    The printer can be reset and changed its IP address in the process [that's happened for me]. To fix this, go to the center of sharing of network &--> the map and click on your printer. This will tell you the IP address that your printer is running [the number which should be something like 192.168.1.xxx]. Then go into devices Printers &--> printer--> port--> Port TCP/IP Standard for your printer properties--> configure the Port. So, you want to change the IP address where it says "printer name or IP address" to the new IP address that you have found.

  • HP ePrint Option in the list of printers.

    Hello.. I want to know how HP ePrint option works. The latter appears in the list of printers in the print dialog box all by choosing printers available in word/excel or any other window print operation

    Your help in the topic should be very much appreciated.

    Best regards,

    Hello

    I'm not sure that the dialog box will do anything. If you print from a traditional PC, printing is supported by a driver. If you want to print any document from your PC, the best approach is to simply select file and print on the printer that you have downloaded and installed the drivers for, ignoring all the HP eprint options.

    The HP eprint app is only for mobile devices like tablets & monile (not mobile) phones.

    A HP eprint form that can be used from a traditional PC is to e-mail content to a [email protected] printer assigned e-mail address - this approach is used if the physical location of the printer is many miles from the PC.

  • All 4 printers have disappeared from the list of printers & faxes; reason & need help please!

    Good day to all! (I hope yours goes better mine has)

    When you try to access my internet postage program, I got a message that it was unable to initialize the printer.  When I checked the list of Printers and faxes in Control Panel... I find 4 all printers who WERE there yesterday... are now gone.

    (This excerpt shown below is extracted from the Microsoft support page & described EXACTLY my problem)

    • When you click Startand then click Printers and faxes to try to view your printers, no printers appear. This problem may occur even if you have a printer installed.
    • When you click Add a printer, or when you try to print, you may receive the following error message and cannot add a printer:
    "Operation could not be performed.  Printer Spooler service is not running.

    I tried several times to use "Fix - it" Microsoft online service, and he could not solve the problem.  I just kep saying me he couldn't solve the problem.  It is absolutely No. MS supports available unless you have at least $59.00 or more to pay for trying to help!  "Terminal" and valid on a model of disability very limnited former fighters from one month to the other... I could not certainly not even begin to afford no paid... help unfortunately.

    I am NOT computer saavy and I don't any idea as well WHERE to start... much less HOW to solve this problem!  Unless I can get this printer spooler service, or something else... running... I can't even begin to try to re - install a printer I have.

    I would greatly appreciate any help anyone can offer!  I'm at the end of my tether here!  Thank you very much for your time and review!

    Pete C.

    For the moment, I'm inclined to let my "sleepine XP 'dog' lie'... Since things seem to work almost normal again.

    Good plan.

  • After reset done on MAC no printer in the list of printers, as well as the 'ADD' button is grayed

    After the upgrade to Maverick got the message "Printer not connected", but printer is connected to the network.  Followed the advice to remove the printer and Add.  Printer is not in the list of printers, so follow-up advice to reset the printer.  Now, no printers appear in the Printers list and the 'Add' button is grayed.  Printer is connected to the wireless network, has an IP address, but is not considered by the computer.  Have spent a lot of time trying to solve this problem. :

    Downloaded and reinstalled the HP driver.

    Removed from the printer.

    Reset the printer.

    Cannot add a printer.

    Cannot print.

    Stuck.  Help, please.

    That's good news. BARROW, the PC, download drivers for its operating system and complete software functionality.

    Start the installation program, select Wireless and connect the USB cable when prompted. You should be able to get the printer connected to the network.

    This installation guide should help also: installation of the printer software for a network connection Wireless (via an Access Point).

    See you soon,.

Maybe you are looking for