Terminal command for switching a printer setting?

Creating a packagemaker package to install a printer. I create a duplex custom preset in /Library/Preferences/ and it shows up in the list of settings. However, I don't know how to make it the default for the printer I install. Any easy way to do this?
Thanks.

AppleScript may be able to do this, if that's possible in your setup.

Similar Messages

  • Terminal command for setting software update to defaults

    terminal command for setting software update to defaults?

    didn't even think of that...seems to be the most obvious things, seem to be the first to be overlooked.
    Will let you know.

  • __ Is there a way to adjust the key commands for switching channels in curves?

    __ Is there a way to adjust the key commands for switching channels in curves?
    By that I mean <command> + 1 for cyan, <command> + 2 for magenta etc. like Photoshop CS3 rather than <option> + 3 for cyan etc.
    There's gotta be a way under Edit --> Keyboard Shortcuts - but I can't find it!
    Thanks,
    Hugh

    Hi,
    You can find the CS4 plug-in here:
    http://blogs.adobe.com/jnack/files/Use_Old_Shortcuts.zip
    It's inline in tis post with some more background info:
    http://blogs.adobe.com/jnack/2010/05/use_legacy_shortcuts_option_in_cs5.html
    regards,
    steve

  • Need terminal command for setting display colors ASAP!!!!!

    Hello everyone,
    I was being dumb and figured, oh what will this do?
    I know, I know one of those button pushers...anyway I set the Display colors to 256 on my Xserve, which has no video card in it, and now all I see in Chicken of the VNC is a black screen. Im sure there is a terminal command out there where
    I can ssh into the Xserve, and change the colors back, but I can't find it...could someone post it up here or point me in the right direction please?
    Thanx in advance!!!!!!!

    didn't even think of that...seems to be the most obvious things, seem to be the first to be overlooked.
    Will let you know.

  • What Is The Terminal Command For PRAM & SMC Reset?

    Hi Folks - Cant get my Macbook Pro to shut down (instead it does a re-start) thus the key combination for these re-sets doesnt seem to function (no chimes). I saw in another thread a terminal command entry "sudo nvram boot-args=”-p -r” but I also saw it mentioned that entering that casued the following to pop-up "Note that resetting the PRAM will wipe out the contents of the boot-args environment variable, which means the command would need to be reissued each startup." Whats with "reissued each startup"? Also would like a an SMC re-set command. THANKS in advance!

    I dont know of a terminal command but here is how to reset the SMC:
    Resetting the System Management Controller (SMC)
    Resetting the SMC on Mac portables with a battery you can remove
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery (to remove the battery - click here: MacBook or MacBook Pro).
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Resetting the SMC on portables with a battery you should not remove on your own
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer.

  • Terminal command for Folder List?

    What is the command line for Terminal to print out a list of folders on my HD? It doesn't have to actually send the result to my printer. I would happy with just a list on the screen.

    Open Firefox and drag the folder into its open window.  You'll get this type of presentation:
    You can print the Firefox window. Much easier than messing with the Terminal (especially for those of us that are terminally challenged )
    OT

  • Terminal command equivalent to Automator's 'set metadata pdf'

    Hi,
    When I make pdf docs I sometimes want to erase my name from the Author metadata, and put something into Title and so on.
    I know that Automator has an action called set pdf metadata, which I have successfully used.  But I would like a Terminal command that I could use instead.
    Googling this question returns suggestions of downloading pdf-manipulation libraries which are too elaborate for me to use.  I'm hoping that Automator is simply utilising a terminal command already built-in.
    Is there such a command?
    Diddles

    A bit of experimenting.
    Given a file temp.pdf in the current working directory . . .
    xattr -w "com.apple.metadata:kMDItemAuthors" "diddles1234" temp.pdf
    writes the string "diddles1234" to the Authors metadata field of temp.pdf.
    xattr -w "com.apple.metadata:kMDItemTitle" "newmetatitle" temp.pdf
    writes the string "newmetatitle" to Title metadata field of temp.pdf.
    However, if you try to put spaces into the string like this:
    xattr -w "com.apple.metadata:kMDItemTitle" "new meta title" temp.pdf
    the title field will not be changed to "new meta title". In fact, if you start with "original title" as the value of kMDItemTitle, successfully change it to "newmetatitle", and then later try to change it again to "new meta title", the value of kMDItemTitle reverts to "original title". The OS appears to "forget" the intermediate change to "newmetatitle".
    As best I can figure, in the event of a failed xattr write command, the original kMDItemTitle is rebuilt from semi-redundant data within the PDF--but more experimentation would be required to prove it. (The same is true of kMDItemAuthors, by the way.) Quick take away: The first two commands above will work if you don't use spaces in the strings to be inserted into the metadata fields. Someone more proficient in UNIX may have a better solution or explanation.

  • UNIX command for Energy Saver settings - Set Schedule

    Using ARD 3, can anyone help me with a UNIX command for setting the scheduled sleep and wake times for 10.4 clients?
    Thanks,
    Josh

    Thanks for getting me on the right track, I've been working with pmset for a couple days now and I'm having some problems getting my basic schedule that I'd like to work. I'm hoping for another nudge in the right direction. Here's the scenario:
    I need the computers to wake at 7am on weekdays and to sleep at 3:30pm on weekdays as well. I've also got an addition to make the displays sleep after half an hour of inactivity, Here's what I'm trying.
    pmset repeat wake MTWRF 7:00:00;
    pmset repeat sleep MTWRF 15:30:00;
    systemsetup -setdisplaysleep 30;
    I've been trying to push this out as a batch of commands in a template which would be slick, but the problem I'm having is that the two pmset commands don't get along and whichever one is run last cancels out the other. In the actual System Prefs of the machine I'm sending the commands to, there are the two check boxes for Wake or Power On and the other for Sleep or Power Down but I can't get them both to be checked from my UNIX commands.
    Could anyone please help, I feel like I'm so close!
    Regards,
    Josh

  • Terminal command for sata link speed?

    OS10.6.7. MBP 5.3 with 256GB SSD.
    Since the "negotiated link speed" for the SSD is 3 GB/s most of the time, it varies from 3 GB/s to 1.5 GB/s once in a while. Is there a terminal command to "force" the SSD to always connect with a "negotiated link speed" of 3GB/s??
    <Edited by Host>

    If you "force" it, then you aren't "negotiating". I suggest letting it work the way it wants. You already get faster speed with that than most of us regular people could imagine.

  • Terminal Command for "Folders On Top" in Mountain Lion

    Looking for a terminal Command that will place all "Folders On Top", even in sub-folders. The utility I was using on Lion does'nt work on ML anymore.

    Looks like to me there has been a recent update to TotalFinder.  Claims to support 10.8, now. See
    http://www.macupdate.com/app/mac/33373/totalfinder
    I misunderstood your questions.  I thought you wanted to display the files in the Terminal.  You want to change the way the finder displays files.
    Robert

  • Terminal command to make expanded print dialog box the default

    I saw this somewhere back under Tiger, but I can't remember where.
    I need to know the terminal command to make the expanded print dialog box the default. I'm getting tired of clicking the blue arrow to expand the box.
    If anyone can direct me, I'd sure appreciate the help!
    Karen

    Hi Karen
    I believe the command is this:
    defaults write -g PMPrintingExpandedStateForPrint -bool TRUE
    Thanks to macosxhints.com...
    Matt

  • Terminal Commands for Identifying  Apps as 32-Bit, 64-Bit, or Both

    I posted a prior topic on this matter, but cannot find it. I have seen these what I am asking about, but can't locate them. I am trying to identify the terminal commands noted in my subject.
    Message was edited by: donv (The Ghost)
    Message was edited by: donv (The Ghost)

    This is what I was looking for:
    In terminal, type: file /Applications/Safari.app/Contents/MacOS/Safari
    What is returned is below. The second/third line identifies Safari as a universal binary with two architectures. The fourth/fifth line identifies the architectures as 32 bit and 64 bit. I am not sure what the sixth/seventh line does unless it identifies Safari as being compatible with PowerPC.
    xxxx-MacBook-Pro:~ donv1$ file /Applications/Safari.app/Contents/MacOS/Safari
    /Applications/Safari.app/Contents/MacOS/Safari: Mach-O universal binary with 2
    architectures
    /Applications/Safari.app/Contents/MacOS/Safari (for architecture x86_64):
    Mach-O 64-bit executable x86_64
    /Applications/Safari.app/Contents/MacOS/Safari (for architecture i386): Mach-O
    executable i386
    For any wondering. If SL is started in 64-bit kernel mode, then it will run Safari as a 64-bit program. The same will happen if SL is started in 32-bit mode. Leopard also will run Safari as a 64-bit program. Suppose one has a purely 64-bit program. The same things will happen. Note also that some 32-bit programs will run in 64-bit mode, and, at least in some cases, they will run faster in 64-bit mode. On the other hand, some 32-bit programs will not run in 64-bit mode.
    Thus, at this time, the benefits from being able to start in 64-bit mode are minimal. That is, one might be able to run some 32-bit programs slightly faster than in 32-bit mode. On the other hand, this minor benefit would, IMO, be offset by not being able to run certain 32-bit or 64-bit programs simultaneously. I'll be sticking with 32-bit mode.
    If there currently is more to the story than I have told, then please pile on. I am always interested in avoiding misinformation.
    Message was edited by: donv (The Ghost)
    Message was edited by: donv (The Ghost)
    Message was edited by: donv (The Ghost)
    Message was edited by: donv (The Ghost)
    Message was edited by: donv (The Ghost)

  • Terminal Commands for Bluetooth?

    Hello,
    When looking at my system settings via the System Info function, I learn that there is a discrepancy between the actuall settings and whatever I belive is going on based on the System Preferences window.

    (My post didn't show up in it's entirety. Here is my complete post)
    Hello,
    When looking at my system settings via the System Info function, I learn that there is a discrepancy between the actual settings and whatever I believe is going on based on the System Preferences window.
    I have shut down all Bluetooth functionality using System Preferences, a I have disabled Bluetooth in the network settings. When viewing System Info, Bluetooth is enabled, live and well with specific custom settings. Does anyone know of a Terminal command(s) to shut down and prevent Bluetooth from working (I'm mainly concerned with file sharing but would like to shut down all functionality.
    Also, the same for the Airport as well.
    Danke

  • Terminal command for tabs to open in same window

    anyone know the terminal command to have all links open in tabs instead of a new window - why does mac call it tabs when it does not even actually work - any help would be great - i had the command and i deleted it......driving me nuts

    Greetings,
    There is no such command; there is a command to force targeted links to open in new tabs, but it will have no effect on links that are controlled by JavaScript. Open Terminal and enter:
    defaults write com.apple.Safari TargetedClickCreateTabs -bool true
    press Enter or Return, then quit Terminal and restart Safari.

  • Terminal Commands for Internet Connect VPN?

    I could maybe do this as an applescript but I'm hoping there are terminal commands which I can incorporate into an rsync script...
    I need to open a PPTP VPN connection on a computer (Internet Connect VPN client, 10.4.8) , to connect to VPN services on OS X Server (10.4.8). The configuration works fine but really needs manual intervention at times. I would like to just script the equivalent of hitting the 'connect' button, so this can be run by cron.
    Any ideas or links?
    Ta.
    -david

    I did repair permissions with disk Utility and I used Onyx to delete the various caches, but that didn't work.
    Everything is functioning. The problem isn't on the VPN server side, because I can log into the VPN on my Powerbook and the status shows correctly. There's definitely something going on with my G5.
    This isn't a really huge deal, but it would be nice if the status indicated that I'm connected when I'm connected.

Maybe you are looking for

  • Need help moving music collection from external hard drive to Macbook Pro

         I just bought a Macbook Pro today after my Windows desktop was bricked a few weeks ago. Luckily, I didn't lose the most important files on my pc, my music, because it was all on my Zune, as well. So, I borrowed an external hard drive, copied all

  • Question on ZMCR process

    Hi, I am configuring Request for change on a SolMan 7.1 SPS 10 system. I have a question regarding the RFC flow. Once the change request is created --> CAB approved --> change manager hands over for development then change document is created. When I

  • Rotating Video Cut Off Once Exported

    Hello, I am creating a video in Premiere Pro CS3.  I am placing a video clip within it that I am rotating using keyframes and when the image is displayed on the monitor it rotates perfectly and the entire images is included.  However, when I export i

  • Accessible tables in Indesign

    How do I create a table with TH header cell tags, using indesign 2014 for accessibility?

  • Polling the master detail table and to update the LAST_UPDATED with SYSDATE

    Hi The requirement is polling the master detail table where read_flag is null and has to update the LAST_UPDATED with SYSDATE in both tables. Refered the MasterDetail and PollingPureSQLSysdateLogicalDelete samples of SOASuite. Used the delete polling