Using applescript to print from printers other than the default

Hi
I have this script to print from Quark which works fine:
tell application "QuarkXPress"
tell print setup of document 1
set separation to false
set printer type to "HP Laserjet 8150 Series"
set paper size to "A3"
set orientation to portrait
set bleed to "3"
set page position to center horizontal
set print spreads to false
set reduce or enlarge to "100%"
set registration marks to centered
set tiling to off
end tell
print document 1
end tell
It works fine but if I change my default printer to something else eg. our canon colour printer, then the document prints from there instead.
If anyone can help it would be much appreciated
Kind Regards
Andrew

Thanx Nova Scotian..
Didnt quite work but i got this from another forum which did in case your interested:
tell application "Printer Setup Utility"
set the visible of every window to false
if printer "ExactPrinterName" exists then set current printer to printer "ExactPrinterName"
get current printer -- debugging
if (current printer is not "ExactPrinterName") then display dialog "Please setup your 'ExactPrinterName'!!"
quit
end tell
Of course, ExactPrinterName is the name of the printer you WANT to use as it exists in the Printer Setup list.
Andrew

Similar Messages

  • [svn:bz-trunk] 17772: Update the url in the tests to use a relative path instead of the default localhost : 8400 so that the tests can pass on appservers other than the default Tomcat .

    Revision: 17772
    Revision: 17772
    Author:   [email protected]
    Date:     2010-09-20 15:02:50 -0700 (Mon, 20 Sep 2010)
    Log Message:
    Update the url in the tests to use a relative path instead of the default localhost:8400 so that the tests can pass on appservers other than the default Tomcat.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxml

    Revision: 17772
    Revision: 17772
    Author:   [email protected]
    Date:     2010-09-20 15:02:50 -0700 (Mon, 20 Sep 2010)
    Log Message:
    Update the url in the tests to use a relative path instead of the default localhost:8400 so that the tests can pass on appservers other than the default Tomcat.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxml

  • Configuring a Communication Channel for an AE other than the default IS

    Configuring a Communication Channel for an Adapter Engine other than the default engine.
    See:  help.sap.com for Communication Channel http://help.sap.com/saphelp_nw04/helpdata/en/1b/d5ef3b1ad56d4fe10000000a114084/frameset.htm
    It states under 'Adapter Configuration', that you can specify the Adapter Engine you want to use in the Adapter Engine dropdown box.
    I have activated the XI components on my ERP system using transaction SICF, but what do I have to do to make the other adapter engines show up in the dropdown list when configuring an adapter?
    Maybe some background would be helpful:  This is for a scenario that will send a file from an external system to one of the ERP systems in our landscape.  BUT, the system admins have decided to revoke our FTP accounts (because they have their reasons), so I need to create a File Adapter that will drop the file on the file system of that ERP system, due to visibility I want to use the integrated Adapter Engine that comes with the ERP system, but need to know how/what I'm missing in setting up this scenario.

    Hi Anesh,
    >>>>but what do I have to do to make the other adapter engines show up in the dropdown list when configuring an adapter?
    in order to use some other adapter engine you
    have to install it first by dafault only one
    (central) adapter engine is used and it is all
    most clients need
    if you'd like to use some other adapter engine
    (decentralized for example) have a look at thid guide:
    <b>Configuring a Local Adapter Engine to Work with a Central Instance</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/03fd85cc-0201-0010-8ca4-a32a119a582d
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • When I create a stickie note, I can not save any font size other than the default.  How do I save a stickie with a larger or different font?

    How do I save a stickie note with a different font size other than the default?  When I create a note and save it using a larger font, it reopens with the default.

    Unlikely, I'm afraid.
    The LMS has no control over the playbar that pauses or plays the Captivate content.
    In a Multi SCORM package, the LMS also may be showing a TOC in the SCORM player with links to launch the lesson modules.  This TOC is in addition to the TOC inside the Captivate project file which gives access to sections of the module by jumping to slides that begin those sections.  But the LMS doesn't usually give you any control over the look and feel or functionality of that TOC either. 
    If your client is adamant that they want complete control over these areas, then your best option may be NOT to build this course with Captivate but build it from the ground up with another tool.  E.g. Flash, or Dreamweaver.  Either way, that will add a lot more time and expense to the project.  But if the client has the budget and is unwilling to budge on their requirement, then that's what I would be telling them to do.

  • Deploying Crystal Reports 2008 on a website other than the default website

    Hi,
    We have an ASP.NET 2003 web application using CR 2008 as reporting tool.
    To deploy the application, we are using the CR 2008 mergemodules.
    If the application is installed into the default website, this works fine, but if another website is selected, the mergemodule still installs CR 2008 to the default website.
    To overcome this problem, the crystalreportviewers12 virtual directory has to be created in the selected website.
    But if the application is installed directly into the website, and not into a virtual directory of the website, problems occur, like images not showing up.
    I would like to know if there exists documentation regarding deployment into websites, other than the default website and what configurations have to be done to make it work.
    Best regards,
    Ângelo Vilela

    See the following articles;
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a5e80
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a
    Also, the developer help files contain more info:
    https://boc.sdn.sap.com/developer/library
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • Anyone know of a way to adjust the top and side MARGINS of a document printed from iOS numbers? The default margins are too wide. Need more working space.

    Anyone know of a way to adjust the top and side MARGINS of a document printed from iOS numbers? The default margins are too wide. Need more working space.

    Open the document,
    Tap the Tools icon (upper right).
    Tap Document Set up.
    Drag the margins to the position you wish (the actual margin width sould display as you are doing this).

  • Whenever you try to save a PDF file to a location other than the default location ('My Documents'), Firefox freezes & you have to go to the 'Task Manager' to exit Firefox and stop the error, so you can load Firefox again.

    Whenever you try to save a PDF file to a location other than the default location ('My Documents'), Firefox freezes & you have to go to the 'Task Manager' to exit Firefox and stop the error. I have Windows XP (Media Center Edition) and all updates (Firefox, Adobe PDF, Microsoft, virus protection, etc) are installed. This has only been a problem since Firefox 4, and isn't a problem in Internet Explorer.

    Hi David,
    Thank you for your detailed question. It sounds like the real issue is pdf files. Are there any antivirus/firewalls that might be blocking this specific file type? or are there any preferences in your control panel that might be blocking this?
    Do you have any stored preferences for PDF files in Firefox?
    *[[Applications panel - Set how Firefox handles different types of files]]

  • Keychain services API and dealing with Keychains other than the default

    Hello,
    So I've been doing some C work with the Keychain services API. But I can't figure out how to set the Keychain for a function to something other than the default, which is set by passing NULL.
    For example,
    status = SecKeychainAddGenericPassword (
    *NULL, // default keychain*
    10, // length of service name
    "SurfWriter", // service name
    10, // length of account name
    "MyUserAcct", // account name
    passwordLength, // length of password
    password, // pointer to password data
    NULL // the item reference
    This function is defined here:
    http://developer.apple.com/documentation/Security/Reference/keychainservices/Ref erence/reference.html#//apple_ref/c/func/SecKeychainAddGenericPassword
    and the data type for the Keychain is here:
    http://developer.apple.com/documentation/Security/Reference/keychainservices/Ref erence/reference.html#//appleref/doc/cref/SecKeychainRef
    But neither helps me at all for being able to edit a keychain that isn't the default Keychain.
    I appreciate any help, thanks.
    Message was edited by: Smerky

    http://developer.apple.com/documentation/Security/Reference/keychainservices/Ref erence/reference.html#//apple_ref/c/func/SecKeychainOpen

  • How do I use field names other than the default ones in Contacts?

    The iPhone doesn't like certain types of phone field names!
    When you create a new contact with the Mac Address Book, you can choose mobile, iPhone, home, work, main, home fax, work fax, pager, and other. If, for example, your source data has a contact with a "main" phone number, that number doesn't sync at all.
    The data ONLY moves from my Mac to my iPhone IF I use the default field names.
    Why does Apple let us have a Custom name if this data will not sync?

    Ziatron wrote:
    Why does Apple let us have a Custom name if this data will not sync?
    Because they DO sync. You have some other problem.

  • When saving downloads is there a way to instruct Firefox to save the download to a different folder other than the default?

    I downloaded a printer driver to Firefox's default downloads. I started the exe file and a window opened so I could install the driver. I selected run, and the window closed and nothing happened. I finally had to use MS IE in order to save the file to a different folder. I was then able to decompress the file and install it. Is there an option in Firefox to override the default downloads folder with a folder of my choosing? Running Win 7 Home Prem 64 bit, FF 5.0.1.

    This is the same issue that has plagued me for years. I always thought that this was a Flash plugin issue, but it does occur on HTML5 as well. A friend of mine verified that this does not occur in Linux, but only on Windows. It would be great to have this fixed, as it's honestly the only thing that's making me use Chrome all the time, as I don't want to have multiple browsers open.

  • How do I use OUTER JOIN to email different message than the default

    I have a devotional that goes out daily from a MOBILE table containing:
    mob_id
    calendardate
    title
    scripture
    body
    The same devotional goes out to 3 different churches.
    I have a second TABLE called EDITED that holds an edited version of the daily devotional, containing:
    edit_id
    calendardate
    etitle
    escripture
    ebody
    The query should look in the edited table for a devotional first to see if it matches the current date then send it out. Otherwise it sends out the default devotional  that corresponds with the current date.
    I would like to send out in replacement of the default devotional  to the church that edited the devotional.
    I am using the following outer Join but it doesn’t work. It sends the same devotional to everybody.
    <cfoutput>
    <cfloop query="getClients">
    <!--- determine if there is an edited version of the devotional available for this day --->
    <cfquery name="getDevotional" datasource="#application.dsn#">
    SELECT mobile.mob_id, mobile.display_date, mobile.title, mobile.body, mobile.scripture,edited.edit_id,edited.contact_id,edited.etitle,edited.escripture,edited. ebody
    FROM mobile
    left outer join edited ON mobile.display_date = edited.display_date
    where mobile.display_date = <cfqueryparam value ="#dateformat(now(), "YYYY-MM-DD")#" cfsqltype="cf_sql_date">
    </cfquery>
    What am I missing?

    Yes the getClients grabs all information pertaining to the client and their layout information.
    <cfquery name="getClients" datasource="#application.dsn#">
    select *
    from (subscriber INNER JOIN contacts ON subscriber.contact_id = contacts.contact_id)INNER JOIN layout ON contacts.contact_id = layout.contact_id
    where subscriber.timezone = 3
    </cfquery>
    Below is the logic I used to determine which version to use:
    <cfif getDevotional.edit_id NEQ "">#GetDevotional.etitle#<cfelse>#GetDevotional.title#</cfif>

  • How can I create a new skin (other than the default skins) for my Captivate Project?

    Hi everyone,
    I am working on a project where my client wants me to create a player skin which is completely different from the default themes that captivate has already. The design which client has shared with me contains in this way:
    1. TOC - should be truncated and can be expanded by pressing "+" button against the Navigation Text. Its like opening and closing the menu bar using + and - buttons
    2. Playback controls required by him are also not in the default skins.
    I dont know, if there is any way to customize the skins to this level inside captivate.
    Please help me out.
    Thanks & Regards
    Vikas Sharma

    Unlikely, I'm afraid.
    The LMS has no control over the playbar that pauses or plays the Captivate content.
    In a Multi SCORM package, the LMS also may be showing a TOC in the SCORM player with links to launch the lesson modules.  This TOC is in addition to the TOC inside the Captivate project file which gives access to sections of the module by jumping to slides that begin those sections.  But the LMS doesn't usually give you any control over the look and feel or functionality of that TOC either. 
    If your client is adamant that they want complete control over these areas, then your best option may be NOT to build this course with Captivate but build it from the ground up with another tool.  E.g. Flash, or Dreamweaver.  Either way, that will add a lot more time and expense to the project.  But if the client has the budget and is unwilling to budge on their requirement, then that's what I would be telling them to do.

  • How do I get Distiller to render other than the default page size

    I have double ad I laid out in Illustrator and I need to make a PDF with the Bleed/Trim/Color bars/ETC. In the past I could print to postscript file and run it through distiller, but after distilling, only an 8x11 is created.  I've gone into the edit settings and created another preset that has the default page size set to the size I need it, but it seems counterproductive and not what I'm used to.  Is there something that I'm missing?
    Note: When generating the PS file I've tried selecting both my printer ppd and the device independent option.

    Working in Mac Illustrator CC. Acrobat XI
    I go to Print with these settings:
    Drag the postScript File onto Distiller (Tried various preset settings)
    And I get this – an 8.5 x 11 portion:
    I've also tried printing with my printer PPD:

  • Create a Contact on an address book other than the default one

    Hello everyone,
    I am using a professional address book and calendar on exchange provided by my company. I am also using my iCloud account to manage my personal address book and calendar. I have set up my iphone 4S to display both address book and calendar, this works well, same for the sync mechanism.
    When I create an event on my iPhone using the standard calendar app, I can simply indicate whether it is a personal or professional event.
    When I create a contact using the standard contact app, there is no way to indicate wheter it's personnal or professional. The contact is created on the default address book that I setup in the settings. The only way I found is to hide all categories except the personal one and then create the contact. It is then created not on the default address book but on the only one displayed. It is rather awkward and that does not solve all problems : I have some contacts already created by mistake on my professional address book that I want to move to the personnal one. I found absolutely no way of doing that. The same thing for calendar events is straightforward: open the event for modification, simple toogle the appropriate field from Pro to Personal and you're done.
    Does anyone have a hint for this ?
    Thanks,
    Cyril

    Hi sumella, <br>
    I think you should try an Add-on like one of these:
    <br>
    [https://addons.mozilla.org/en-us/firefox/addon/tab-mix-plus/ Tab Mix Plus]
    <br>
    [https://addons.mozilla.org/en-US/firefox/addon/new-tab-button-on-tab-bar/ New Tab Button on tab bar]

  • Cannot access gradient tools other than the default option.

    I am using photoshop CS6 extended. I cannot access the alternative gradient tools and am wondering if the plug-in failed to download or if I have somehow disabled them in the preferences.

    Select the gradient tool, then click on the gradient chip at the top left of the screen to open the Gradient Editor, or click on the little arrow next to the same gradient color chip to access a palette other gradients. To make a new gradient, etc., click the tiny icon in the upper right of that palette to get a drop-down menu.

Maybe you are looking for

  • IPod touch dead after Unknown error 1602 during upgrade to OS 4.02

    Attempted an upgrade to IPod touch OS 4.02 last night. This morning it showed Unknown error 1602. It won't power on. I plug it into either this computer or another (both with latest ITunes) and Windows "One of the USB devices has Malfunctioned, and W

  • HELP! Mail stuck in the queue.

    Hey All, We just noticed that none of us here recieved any mail today and that all of our messages incoming/outgoing have been stuck in the queue all day. We seem to be able to view old messages with our mail clients as well as any folders. But any n

  • Selecting datas from tables where tbale name is store in a row

    Hi I need to select datas from several different table (QE01, QE02, QE06, QEXXetc.). The code of the tables I need to select from is store in another table. Here's an example: In the table JOURNAL, I have several entries: 01 06 21 31 These are the co

  • Add pages before the table of content into the table of content

    Hey, I was wondering if someone can help me. I'm writing my dissertation and I have to include an abstract and acknowledgments before the table of content ( written on pages 1 and 2). How can I get pages to include these pages within the table of con

  • Reputation Still Poor for Domain but not IP 2 Months After Fix?

    The Aquaforest website (aquaforest.com) suffered an attack back in January which resulted in /en/index.asp being infected with an iFrame JavaScript Trojan. This was corrected a few days after infection but IronPort/SenderBase still show a poor reputa