Setting options in "Printer" section using Applescript InDesign CS

How can i set define supplementary options found in the "Printer" section of the InDesign dialog box in a print preset using Applescript?
I would like my script to set duplex option with the proper binding, according to the page orientation.
When creating print presets manually, these extra options are stored in the print preset, but I can't find how to access them thru Applescript.
Thanks,
Peter

Shane,
Thanks for your reply, but it is not yet clear to me.
I know you can set some print properties in the Apple Print event, such as copies, collating, target printer ...but how can I adress the printer-specific options, such as duplex printing? Could you give me a sample line of code?
And next step, how can I include this "Apple -print" setting in an InDesign Print preset using Applescript? I suppose I have to set the apple printer prefs before creating the InDesign preset. Right?
Thanks in advance,
Peter

Similar Messages

  • I have misplaced or lost the discs that came with my CanonMP490. How do I set up the printer to use

    Help I have lost the discs for my Canon MP490 printer and cannot boot the system up onto my new laptop.  What can I do?

    there are links to the windows software on this page...
    http://www.apple.com/support/downloads/airport42forwindows.html
    depending on the age/status of your pc, you may also need to install windows updates

  • Using Applescript to print calendars in MS Outlook

    I print my daily in portrait orientation, with the task list.  I like to print my weekly calendar in landscape orientation, without the task list.
    I'm new to Applescript and have been poking around in the Outlook library but can't find anything there that indicates how to even just print Calendars using Applescript.
    Is there a way to change the page setup to landscape orientation, then print the weekly format (without tasks) and the reset the print orientation to portrait?
    Thanks in advance-
    Tom
    Mac OS 10.6.8

    You mention using AS to set the preset. Do you know how to do that?
    I'm trying to find out how to use a print preset in Applescript on 10.6.7. The only things I've found on the internet suggest running a terminal command that changes the preset, but they are talking about 10.4 and it doesn't work in 10.6. I can't find the answer to this anywhere. It seems like it should be rather simple.

  • I can't set up the Printer!

    I was trying to set up the printer to use my printer: Canon IP3000.
    However, whenever I connect the USB to my iBook G4, it didn't work at all.
    I went to "System Preference" to fix that problem, I went to Printer and clicked on "add" and select "USB". Didn't work at all.
    Somebody help me!

    The download's link was on the first page of Canon USA. Here is the printer page - don't remember which printer you had but they are all listed here - you will have to see if there is anything about leopard compatibility when you get to your particular drivers.
    http://www.usa.canon.com/consumer/controller?act=ProductCatIndex1Act&fcategoryid =103

  • How to set xml tag to nothing in indesign using applescript?

    Hi guys,
    I need set xml tag to nothing(for tables)  in indesign using applescript.
    Please help me.

    Hi,
    tell application "Adobe InDesign CC 2014"
        tell active document
            if (count of story) > 0 then
                tell story 1
                    if (count of tables) > 0 then
                        tell table 1
                            set tag_name to associated XML element ----------------> i can't get xml  tag, i am receiving the  xml tag is nothing.
                            if (tag_name = nothing) then
                                display dialog ("This table has no tag")
                            else
                                set markup_tag to markup tag of tag_name
                                set n to name of markup_tag
                                display dialog ("Tag name is " & n)
                            end if
                        end tell
                    end if
                end tell
            end if
        end tell
    end tell
    I can't get xml tag for table,  i am received nothing

  • How do i set up the wireless option for printing rather than using an usb

    how do I set up wireless printing function on my hp photosmart C4780

    This should help: http://www.hp.com/global/us/en/wireless/reconfigur​ing-system-help2.html
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Printing from Photoshop using AppleScript

    I am working on a project that will automatically print an image that is moved to a folder.
    Right now, I have the following working: the image from my camera saves to a folder on my desktop, then applescript opens the image in Photoshop and runs an action on it that resizes it, crops it, and then re-saves it into a different folder. Here's where my problem starts...
    My printer - an Epson R800 - does not have a default paper size of 5x7 borderless. That selection has to be made in Photoshop, however, Photoshop actions will not capture paper settings. (Which I think is sooooo stupid, but that's another issue.)
    When the image is dropped in the second folder, it currently automatically prints, but on "letter" size paper.
    I need to script the following:
    Tell Photoshop CS4 to open the image (well, I can do that), but then select the correct paper size (5x7 borderless), and print. I've tried a few different things and they aren't working.
    Any help would be appreciated!
    Thanks,
    Michelle

    Here is a starter that is working just fine at work where I have access to CS2 and printers…
    -- A path to an image file as text
    set PrintImage to (path to desktop as text) & "HE2015.tif"
    tell application "Adobe InDesign CS2"
    activate
    -- Turn off the app dialogs
    tell script preferences
    set user interaction level to never interact
    end tell
    -- Get the new document preset
    set DocPreset to document preset "A4-P" -- Change here
    -- Make our new doc
    set PrintDoc to make new document at beginning ¬
    with properties {document preset:DocPreset}
    -- Get the printer preset
    set PrintPreset to printer preset "Xerox A3-P-SEF" -- Ditto Here
    tell PrintDoc
    set DocWidth to page width of DocPreset
    set DocHeight to page height of DocPreset
    -- Add a rectangle to hold the image
    set ImageFrame to make new rectangle at beginning ¬
    with properties {geometric bounds:{0, 0, DocHeight, DocWidth}}
    tell ImageFrame
    -- Put our image in the rectangle
    place PrintImage as alias
    -- Fit our image to fill box keeping proportions
    tell image 1
    fit given fill proportionally
    fit given center content
    end tell
    end tell
    print using PrintPreset without print dialog
    end tell
    end tell
    There are two strings that you will need to change one for a 'new document preset' and the second for a 'print preset'…
    The example just uses an image off my desktop to test with… Any problems post in the Indesign forum as this no longer belongs here…

  • How to use AppleScript to set "character fill color" in Pages 5.2?

    For Pages 5.2 on OSX 10.9.3, what is the correct applescript for changing the "character fill" of text in pages. 
    If you highlight text, you do this via your mouse in the inspector by clicking "style," "advanced option (the gear wheel to the right of bold, italics, and underline), "character fill color (clicking on the multi-color circle, not the dropdown menu), and then choosing a color that comes up in the "colors" dialogue box.
    I've looked all over and cannot find how to use applescript to set the character fill color in pages. 
    In some examples (not directly related) I see "character fill" used. 
    In others, I see "colorfill." 
    Basically, I want to use applescript, embedded in a keyboard maestro macro, to change the background color of the text (not the text color itself) to particular colors. 
    Given the changes and updates to Pages this year, and to applescript, what's the easy way to do this?
    Thanks!
    Chuck

    Pages v5.2 still does not include selection-object, or character background color entries in its AppleScript dictionary, as does Pages ’09. Indirectly, using System Events, you can get the text selection in Pages v5.2, but then you can do nothing to change the selection. No assurances as to if or when Apple will mature the AppleScript dictionary support for Pages v5 series.

  • Indesign Bleeds set correct but print wrong

    I have a vendor supplied InDesign file built in facing pages with bleeds and marks set to bleed .125" on three sides and 0" bleed on the insides of the pages, however when I print the pages the inside edges also show .125" bleed. I have gone through the panels several times and cannot find why this is happening. We are a commercial printer and use this setup on many jobs and it always works the way we want. Don't know where the issue is and would like to resolve it for future happenings. Thanks

    Okay I have attached the pdfs and screen grabs you requested

  • Setting pdf printer settings use framemaker FDK

    I am trying to create a framemaker client that will save a book as a pdf file. This client will do all the steps automatically and will be activated nightly on a build server.
    My problem is that when I use the command F_ApiSave() with the arguments set so that the file will be correctly saved, I get an error in framemaker that says I must set the PDF printer property: "Rely on system fonts only; do not use document fonts." to off. This option is already set to off by default, but my client must be changing it to on.
    Is there any way to change this option using the Framemaker API in C on windows?

    gmuresan, if you haven't yet posted on the FrameDev list, you might find more FDK information there:
        http://groups.yahoo.com/group/frame_dev/

  • Can we able to add a print option to Dashbaord section?

    we have a option to print individual request on the dashboad and dashboard page. the same way, Is it possible to print a individual dashboard section?

    Thanks for your response.  I hadn't mentioned I was using a B9180 icc profice and since the 9180 can print up to 13x19 inches you'd think there'd be an option to do so, so I'll recheck it.  Thanks again.

  • HT1150 I have two shared printers and I want to be able to select the printer when it is time to print without having to set a default EACH time.  Can I just have a prompt to ask me which printer to use???

    I have two shared printers and I want to be able to select one printer when it is time to print without having to set a default EACH time.  Can I just have a prompt or dialog box that will ask me which printer would you like to use???  The only options I can find are "default" and "Last printer used" which means I must go into the Print & Fax area and change the default EACH time I want to print???  Seems very low tech.....

    junnybug wrote:
    Can I just have a prompt or dialog box that will ask me which printer would you like to use???
    In most cases you get this dialog box every time you print. It is called the print dialog and normally when you print, a print dialog appear showing the printer that is to be used. Which printer you see will be based on what you have set in Print & Fax as you mention. But regardless of what you have set there, you still have the option to change the printer via the print dialog.
    If you are using an application that does not show the print dialog, like MS Word and that stupid "print one copy" print icon in the toolbar, then you can often change the action the print icon uses so that the print dialog appears.

  • My Envy 7645 does not have the grayscale option in advanced set up to print in black and white

    My Envy 7645 does not have the grayscale option in advanced set up to print in black and white

    Hi , Welcome to the HP Forums! I see that your HP Envy 7645 does not have the grayscale option in advanced set up to print in black and white, on Windows 7. I am happy to help!  It is possible, that you may only have the basic driver installed, instead of the full feature software and drivers. I would recommend to try our HP Print and Scan Doctor first, to see if ti can resolve the issue automatically. Otherwise, please try the following steps:  Uninstall the software. Uninstalling the Printer Software.Clean boot the computer. How to perform a clean boot in Windows.Disable any Antivirus programs. Disable Antivirus software.Disable any firewall programs. Turn Windows Firewall on or off.Create a new user account. Managing User Accounts and Logins (Windows 7).Reinstall using the HP Printer Install Wizard for Windows. Hope this helps!  “Please click the Thumbs up icon below to thank me for responding.”

  • How to use Applescript to print out a certain calendar at 7am every morning?

    Hey guys,
    I am trying to use AppleScript to print out one of my calendars each day at 7am every morning.
    I have come up with this so far:
    tell application "Calendar"
           view calendar "My Appointments" at (my (current date))
           switch view to day view
           activate
                        tell application "System Events"
                     keystroke "p" using command down
                     delay 1 -- (seconds)
                     tell process "Calendar"
                                                      tell window "Print"
                                                                     if value of checkbox "Calendar Keys" is not 0 then
                                      click checkbox "Calendar Keys"
                               end if
                                                      end tell
                                       end tell
                        end tell
    end tell
    The problem with this is that it will print out whatever calendars are currently viewable. I can't figure out how to tell it to deselect other calendars and just select the one I want. I also want to tell it to print this out at 7am every morning.
    Any help would be very appreciated!

    If you wanted to do the printout over multiple days, you would be best to loop through each day's events in the way the current script does, but to put a new loop around it that gets each new day's data:
    --opens a temporary file
    set fileRef to open for access ((path to desktop) as string) & "meetings.txt" with write permission
    --effectively empties the file
    set eof fileRef to 0
    tell application "Calendar"
              set dayCount to 9 --this will be the number of days to look forward (not including today)
              repeat with currentDay from 0 to dayCount
                        set startList to {}
      --get's today's date
      --set startRange to ((current date) + 12 * days) -- I used this for testing, to point to a day that had many appointments.  I've left it so you can use it, too.
                        set startRange to ((current date) + (currentDay * days))
      --set the start of the range to previous midnight
                        set hours of startRange to 0
                        set minutes of startRange to 0
                        set seconds of startRange to 0
      --set end of the range to next midnight
                        set endRange to (startRange + 1 * days)
      --get today's events
                        set todaysEvents to get (events of calendar "My Appointments" whose (start date is greater than startRange) and (end date is less than endRange))
      --make a new list with start time of the event for sort purposes
                        repeat with theEvent in todaysEvents
                                  set end of startList to {startdate:start date of theEvent, eventID:theEvent}
                        end repeat
      --sort using a bubble sort (suitable for short lists)
                        repeat with i from 1 to (count of startList) - 1
                                  repeat with j from i + 1 to count of startList
                                            if startdate of item j of startList < startdate of item i of startList then
                                                      set temp to item i of startList
                                                      set item i of startList to item j of startList
                                                      set item j of startList to temp
                                            end if
                                  end repeat
                        end repeat
      --empty the original list
                        set todaysEvents to {}
      --repopulate the list in correct chronological order
                        repeat with theEvent in startList
                                  set end of todaysEvents to eventID of theEvent
                        end repeat
      --write today's date to the file
      write (date string of startRange & return & return) to fileRef
      --if there are no events, write this to the file as well
                        if length of todaysEvents is 0 then
                                  write "No events" & return & return to fileRef
                        else
      --process each event into format: hh:mm-hh:mm/new line/event summary
                                  repeat with theEvent in todaysEvents
                                            set startdate to start date of theEvent
                                            set enddate to end date of theEvent
                                            set startHours to hours of startdate as string
                                            if length of startHours is 1 then set startHours to "0" & startHours
                                            set startMins to minutes of startdate as string
                                            if length of startMins is 1 then set startMins to "0" & startMins
                                            set starttime to startHours & ":" & startMins
                                            set endHours to hours of enddate as string
                                            if length of endHours is 1 then set endHours to "0" & endHours
                                            set endMins to minutes of enddate as string
                                            if length of endMins is 1 then set endMins to "0" & endMins
                                            set endTime to endHours & ":" & endMins
      --write the event to the file
                                            set theSummary to (starttime & "-" & endTime & return & summary of theEvent & return & return) as string
      write theSummary to fileRef
                                  end repeat
                        end if
      write return to fileRef
              end repeat
    end tell
    --close the file
    close access fileRef
    --print the file
    set theFile to (((path to desktop) as text) & "meetings.txt") as alias
    tell application "TextEdit"
              print theFile without print dialog
    end tell

  • How do I set the HELP menu to use Indesign's local HELP files on the hard drive and not the web?

    How do I set the HELP menu to use Indesign's local HELP files on the hard drive and not the web?
    CS 5.0 launches the internet browser.  > TO SLOW I DONT WANT THIS.
    CS 3.0 uses the local help files > I WANT THIS FOR 5.0.

    You're not speaking to the right forum for your request. Help is a Suite-wide feature and here is the forum where the Help application is discussed, and where the proper Adobe people hang out:
    Community Help Application

Maybe you are looking for

  • Moving iPhoto library -- how do i point iPhoto to library on external hard drive

    I am trying to move my iPhoto library to an external hard drive.  I've already copied it from my MacBook to the external HD.  I tried launching iPhoto while holding down the option key so that I can point iPhoto to the new location, but no new window

  • Report to redetermine SNP Source of supply

    We configured Planned Order integration model to show up R/3 planned orders as SNP Planned orders in APO. However when the planners on R/3 side intervene the orders in terms of some of the fields, it passes on to APO as a planned order without source

  • Copying to the clipboard is disabled. How can I fix this?

    WHen I am inside any application in Firefox (oe Google Apps, etc.) ANY application, I receive the following message when trying to use Edit, Copy Your browser does not allow access to your computer's clipboard. Instead, please use Ctrl-C for Copy, Ct

  • Where do you write your code?

    I've just started to learn Flex. One question I have is where you put the ActionScript code? I know i can put it in several locations (e.g. inline, within a script-tag, in actionscript-files, in actionscript classes) but what's the best way to go? Up

  • How do I restore Email inbox function?

    For the past week, my Ipad2 has not been displaying inbox Yahoo messages but shows spinning circle "checking for mail".  I can view messages in other mailboxes but inbox continues to freeze at "downloading 1 of 18".  I rebooted but find no other way