Script Chooses wrong printer in Quark

Hi all
I have this script that I have been trying to use but doesnt seem to be working when once it did. It goes like this:
tell application "Printer Setup Utility"
set the visible of every window to false
if printer "Canon ColorPASS-Z3000 PS Ver1.0" exists then set current printer to printer "Canon ColorPASS-Z3000 PS Ver1.0"
get current printer -- debugging
if (current printer is not "Canon ColorPASS-Z3000 PS Ver1.0") then display dialog "Please setup your Canon ColorPASS-Z3000 PS Ver1.0"
quit
end tell
tell application "QuarkXPress"
tell print setup of document 1
set separation to false
set printer type to "Canon ColorPASS-Z3000 PS Ver1.0"
set paper size to "A3"
set orientation to portrait
set bleed to "3"
set page position to center position
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
But instead of switching to the canon colour it prints from the HP B&W laserjet which is the default.
Any ideas would be appreciated.
Thanks
Andrew

Your script fell thru because of this line:
if (current printer is not "Canon ColorPASS-Z3000 PS Ver1.0") then display dialog "Please setup your Canon ColorPASS-Z3000 PS Ver1.0"
You are making comparison printer class to string, to correct it:
if (name of current printer is not "Canon ColorPASS-Z3000 PS Ver1.0") then display dialog "Please setup your Canon ColorPASS-Z3000 PS Ver1.0"
[edit]
However, that does not explain why current printer didn't set correctly in this line:
if printer "Canon ColorPASS-Z3000 PS Ver1.0" exists then set current printer to printer "Canon ColorPASS-Z3000 PS Ver1.0"

Similar Messages

  • Wrong print preview and printed color from Lightroom 1.3

    I am running Vista Ultimate and i just installed the driver for my Canon PIXMA Pro9000.
    When i try to print from Lightroom 1.3 the colors are very muted, even when i do print preview the colors are wrong in the print preview screen.
    No matter what i do i cant seem to get lightroom to Print Preview AND print with the right colors.
    The image on this link http://www.pbase.com/charld/image/94711330
    (on the left) is what i see and get when i do a print preview and print and my monitor image is on the right.
    If i use Canon DPP the colors are not that bad, its a bit dark but that was easily fixed and i can get it quite close to what i see on the screen. My monitor is not calibrated..The images were all shot in RAW and converted to DNG...Do i need to re-install Lightroom as i don't think print preview has anything to do with the printer i have attached....
    Thanks

    I got the solution from another forum:
    http://www.lightroomforums.net/showthread.php?t=1613
    1. in the Print module, clicking on the Print Settings button ...
    2. Choose your media type
    3. Under Print Quality choose High
    4. Under Color Intensity choose Manual. In the subsequent dialogue box choose None.
    5. In the Print right hand panel under Color Management choose your print media - PR1 for Photo Paper Pro, SG1 for semi-gloss &c
    6. Rendering intent Perceptual.
    7. Hit Print and OK.
    this resolved my issue!!

  • Printing to the wrong printer

    we have a small network at home with three Macs (all running 10.6) and two laser printers (Brother b/w, HP color) the HP ColorLaser Jet is the latest device added to the network. The printers are on the network using Ethernet.
    Everything worked fine so far but since three days on the MacBook the printers are mixed up. If I select the Brother as the printer to use I get all the options from the Brother driver but the paper will be printed by the HP printer ?!
    First I suspect my daughter but I could see that "strange" behaviour myself. Why that, and more important how can this be fixed?

    sure I won't. Indeed I have setup my DHCP server that way (there is an address range outside the dynamic range for devices that need fixed addresses). Just in case the router and firewall have fixed address - you never know.
    But having fixed addesses for the LAN priters as well I have now five devices outside the dynamic range of the DHCP compared to the three notebooks?
    But back to the issue of the wrong printer. What disappoints me is the fact that there is no error message. The system just works the wrong way around. You can choose your printer, you can choose the print layout and all the other options and at the end it fails (sending the data to the wrong device).
    I know IT is still complicated behind the scene. But this situation should not happen.

  • Can't print in Quark 6.5; missing ppd for my printer

    I just purchased the new 20" iMac w/the Intel Core Duo processor, and with it, bought a new printer, scanner, and updated all of my software. This computer replaced my trusty G4 Cube. I am now running strictly OS X (Classic isn't supported on the Intel Macs) and I love it! However, I cannot print from Quark 6.5 to my HP DeskJet 6540.
    I called Quark and the tech support guy got me set up so that I can now create pdfs from Quark (It still doesn't work perfectly, but maybe it'll fix itself when Quark 7 is released. Quark 7, I'm told, should run natively on the Intel Mac.) I mentioned that I couldn't print from Quark. I haven't been able to test my computer out too much, since I just got it, but I have printed from Photoshop and Illustrator CS2 and off the internet (through Safari) with no problems. The tech support guy from Quark told me to check in a particular folder that lists all the PPDs (Macintosh HD--Library--Printers--PPDs--Contents--Resources--en.lproj) and there were lots of printers listed, but no HP DeskJets. He said that I need to get the PPD for my printer and place it in that folder.
    Well, the next step was to call HP. I had researched their site beforehand, and know that there are no driver updates/downloads on their site for the Intel Mac--all of that came preinstalled with OS X.4. The tech support guy from HP had me try to add a new printer (something about a Gimp printer, I believe a 550 series??) and that didn't work. (Coincidentally, the DeskJet 550 PPD is not listed in my PPD folder either---no DeskJets are listed!!) I asked if HP had created a PPD file for my printer, and they said that they hadn't created anything that is compatible with the Intel Macs. He said that Apple called HP up, asked for their info, and that Apple created what they needed as far as printer drivers go.
    So....I called Apple tech support. I explained all that I just mentioned above, and she put me on hold for a few minutes while she spoke with I guess a more experienced technician. Eventually she told me she didn't know how to help me and that I should try posting my situation here.
    Is there anything I can do short of buying a new printer--one that's listed in the PPD folder? Thanks in advance!
    20" iMac w/Intel Core Duo   Mac OS X (10.4.6)   2GB RAM, 500 GB HD, the works!

    Thanks for the suggestion. I looked around, but didn't see that option anywhere in the printer dialog box and corresponding menus, but maybe I wasn't looking hard enough. It doesn't even give me the list of PPDs in the Quark printing menu (they're all checked as being on in the PPD manager). That box is grayed out--I can't even click on it to scroll through the list, if there even is one.
    Since posting this problem, I've spoken with Apple and HP again. The Apple tech said that they don't deal with PPDs at all. HP said they never created a PPD for this printer. The only 2 PPD drivers he could find were for laser printers. I don't need a large laser printer, nor can I afford one. Maybe I'll just have to get rid of this printer (which is brand new) and find a comparable one that's not an HP and will work with all of my software.
    HP also suggested holding on until August when OS 10.5 is supposed to be released. Apparently I'm not the only one with printing problems. HP said that 10.5 should hopefully fix many of the printing problems people have been having.

  • How can I choose my printer's rear tray on my MacBook?

    Hello everyone,
    I have something strange going on on my MacBook when it comes to printing...
    I would love to be able to print address labels, photos etc. on actual labels and photo paper using the rear tray of my printer (Canon MG5150). The weird thing is that I cannot for the life of me find the option to choose the rear tray. I have expanded the print dialogue to show all possible options, but there's absolutely no way to choose my printer's paper source. So I'm stuck with the standard cassette, which I do not dare use for anything thicker than normal printing/copying paper. Everything else printer-wise works fine from the MacBook, I just can't select the paper source (regardless which programme I'm working in on the MacBook).
    Something else I've tried is downloading the latest printer driver from Canon. No joy there though, doesn't make a blind bit of difference. I've also tried opening programmes using Rosetta just in case, but that doesn't seem to change anything either.
    My iMac never presented me with this problem; it always let me print from whichever paper source I wanted (using the same Canon printer). Some background info: my MacBook has Mac OS 10.6.8 on it, my iMac Mac OS 10.4. Could it have something to do with the operating system? They are both Intel, aren't they, so why would the options be there on one Mac, but not the other?
    So, where could my menu options have disappeared to?? Have Apple changed their printing dialogues for the worse or something? It seems such a shame I can't use my MacBook to its full potential and have to resort to roundabout ways of being able to do what I want. I'm hoping it's something really obvious, and that someone can help me.
    Thanks for any advice!
    Kind regards,
    Esther

    Hello-
    You can restore network defaults on the printer.
    Press the Setup icon. Then go to Network Menu, scroll down to "restore network defaults".
    This should clear any "Admin" settings that were set.
    Then you can turn radio on and run the wireless wizard to get back on network.
    I hope this helps.
    Also, remember a click on the Kudos star to the left is a quick "Thanks" for a helpful post.
    Please select the "Accept as Solution" button on the post that best answers your question.
    I appreciate your input !
    Thank You,
    Donald

  • When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    Hi,
    I would suggest you to uninstall Adobe Reader using the cleaner tool and then re-install the latest version.
    Adobe Cleaner Tool:- Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs.
    Latest version of Adobe Reader:- http://get.adobe.com/reader/
    If you still experience the same issue, please share the following information:-
    - Screenshot of Adobe Reader showing printer options
    - Screenshot of Microsoft Word showing printer options
    - Screenshot of control panel- Control Panel\All Control Panel Items\Devices and Printers
    Regards,
    Nakul 

  • Box in main  window of script is not printing

    Helllo Friends
    Box in main window of script is not printing but the same is available in print preview. I have use the following commands.
    Please help me.
    /:           BOX WIDTH '23.40' CM FRAME 20 TW
    /:           BOX XPOS '0.00' CM YPOS '1.40' CM WIDTH '23.40' CM FRAME 25 TW
    /:           BOX XPOS '0.00' CM YPOS '8.10' CM WIDTH '23.40' CM FRAME 25 TW
    /:           BOX XPOS '0.00' CM YPOS '9.00' CM WIDTH '23.40' CM FRAME 25 TW
    /:           SIZE  WIDTH '0.00' CM HEIGHT '8.10' CM
    /:           BOX XPOS '0.00' CM  FRAME 25 TW
    /:           BOX XPOS '0.50' CM  FRAME 10 TW
    Thanks In Advance
    Regards
    SUNITHA

    Try changing X postion to not equal to zero something else for example.
    /:           POSITION WINDOW
    /:           POSITION XORIGIN '-0.1' CH YORIGIN '+0.4' LN
    /:           SIZE WIDTH +0.7 CH HEIGHT +5.0 LN
    /:           BOX FRAME 7 TW
    /:           BOX HEIGHT '1.1' LN INTENSITY 15
    Nabheet

  • Customer Statement using SAP Script and Standard print program RFKORD10

    Using sap script and standard print program RFKORD10 I need to create a customer statement where the main window will be as follows
    Invoice #     InvoiceDate  CustomerPO  Debit Amt  Credit Amt  Total
        6        7           8               9               10               11
        6        7           8               9               10               11
                                     Totals               12             13              14
    Where company code BKORM-KUKRS
                Invoice              BSID-BELNR
                Invoice date      BSID-BLDAT
                Customer PO    VBKD-BSTKD
    For each document number selected there will be one to many records in VBRP.  For each invoice item in VBRP:
    u2022     Select BSTKD from VBKD where
    o     VBELN = VBRP-VGBEL and
    o     POSNR = VBRP-VGPOS
    u2022     If no hits then select BSTKD from VBKD where
    o     VBELN = VBRP-VGBEL
    If there is more than one PO per invoice then list them in the Customer PO field without repeating the other fields.PO shouldnu2019t come more than once per invoice.
                 Debit Amt         if BSEG-SHKZG = S then WRBTR ELSE 0
                 Credit Amt        if BSEG-SHKZG = H then WRBTR ELSE 0
                 Total                  Debit Amt u2013 Credit Amt
                  Totals                Subtotals
    It will be of great help if some one can help me with the script and the alterations required in standard print program RFKORD10
    Points will b rewarded for sure.
    Thanks.

    Hi Suganya,
    The custom form is getting displayed properly. But the requirement is to have it as an editable PDF. So the functional team is working on configuring the settings of PDF forms with customers email address.
    But for right now, i customized the standard form F140_ACC_STAT_01 and standard print program RFKORD10_PDF and did the configuration. It is getting displayed (I tested only with the transaction FBL5N - customer open line items..)
    Please let me know any further details on this.
    Poornima

  • PDF file is not created properly when I choose File- Print...- PDF-- Save as PDF

    PDF file is not created properly when I choose File->Print...In dialogue box if i select option Save as PDF under PDF button...But it works fine with Safari Browser..
    == This happened ==
    Every time Firefox opened
    == always

    My first thought is to make sure the fonts used are common. If there is a substitution, things will be off.

  • I cannot and never have been, able to open a file that has been previously saved to hard disk by choosing the print to file option in the print dialogue box

    '''I cannot and never have been, able to open a file that has been previously saved to hard disk by choosing the print to file option in the print dialogue box. Firefox displays gooblygook even though the file name is an html, Windows Notepad crashes, MS Excel does not recognise the file type. MS Word displays goobblys also when the file has no filename extension.'''

    If you use print to file then you get a file that is meant to be send to a printer and that file has all kind of formatting code for that specific printer.
    Opening such a file in Firefox or a text editor can only work if you use a text only printer to print the file to, so make sure that such a printer is installed and selected.

  • Not able to print the script form from print preview

    Hi Experts,
    I need to print one of the script form from print preview. As per the req. first i need to generate a print preview of this form and if required should be able to print it from this preview.
    i am able to generate print preview and also able to see the print option but when i try to print it is going to the spool (which i dont want). I want it to be printed directly to the printer instead of sending it to the spool.
    Please suggest me
    The way i coded it is
    DATA: arcpar TYPE arc_params,
                pripar TYPE pri_params.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          layout                 = 'X_65_132'
          line_count             = 65
          line_size              = 132
        IMPORTING
          out_parameters         = pripar
          out_archive_parameters = arcpar
          valid                  = val
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
      pr_options-tddest = ''.
      pr_options-tdpreview = 'X'.
      pr_options-tdnoprint = ''.
      pr_options-tdsuffix1 = 'STUFF'.
      pr_options-tdsuffix2 = matnr.
      pr_options-tdimmed = ''.
      pr_options-tdlifetime = '2'.
      pr_options-tdprogram = Form-name.
    CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          dialog   = space
          form     = "purchase or"
          language = sy-langu
          OPTIONS  = pr_options
        EXCEPTIONS
          canceled = 01
          device   = 02
          form     = 03
          OPTIONS  = 04
          unclosed = 05.
      CALL FUNCTION 'START_FORM'.
    ENDFORM.                    " open_and_start_form
    Thank you.

    Hi,
       Just pass the value 'X' to "pr_options-tdimmed" field.Try this.
    I hope,it help you
    <=<< Sharing Knowledge is a way to Innovative  >=>>
    By,
      Yoga

  • EPrint from Android is printing to the wrong printer

    This is very odd.  I have a brand new OfficeJet 8500A that I just set up.  I got ePrint configured and created an ePrint account, installed the ePrint app on my Android phone, and tried to test it.  On the phone I put in my printer's ePrint email address, and it correctly identified it as an HP 8500A.
    So then I went to try printing a test document, and it said it was going to print it to my 8500A - but it actually printed on my Photosmart 8450!  The Photosmart is on the same home network ast he 8500A, but it doesn't do ePrint as far as I know.  I think it predates the creation of ePrint.  And in any case, I certainly never did any kind of configuration to tell ePrint to use it.
    Can anyone explain why it's printing to the wrong printer?

    Hello,
    The ePrint Center and ePrint functionality (the ability to send an email to your printer) is different than the ePrint Home and Biz app. The ePrint Home and Biz app can be used with printers that are on your local network. It is possible that you simply selected the 8450 in the dropdown menu on your android device. Please verify you have selected the correct printer and if so, we can do some further troubleshooting.
    Thanks!
    I am an HP employee.
    I was an HP employee.
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may select the "Kudos" button on any helpful post to give that person a quick thanks.

  • How to Debug Standard Program & Custom Scripts in Cheque Printing

    Hii
    Am working on APP Cheque Printing...
    here am using standard driver Program 'RFFOUS_C'
    and two customised script for Cheque print and payment advice print..
    please let me know , How to dubug my cutostomised script while printing through F110 .....
    its not working evenif am activating Debugger in Script or also through RSTXDBUG Prgm
    Note : In APP ,  when am Processing  through F110 , In background mode processing takes place and finally Spool is generated....
    Awaiting for ur reply...
    Thanks in Advance
    Edited by: LU JACK on Sep 19, 2008 1:18 PM

    Hi,
    Go to SE71 , give form name ZXXX and go utilities activate debugger
    Go to SE38 give driver program name 'RFFOUS_C' .and execute click OK button give printer name like LP01 and see print preview or print
    it will go debugger mode.
    it will help ful you.
    Regards,
    Bhupal.
    Edited by: bhupal reddy on Sep 19, 2008 1:34 PM
    Edited by: bhupal reddy on Sep 19, 2008 1:35 PM

  • How to Debug Standard Program & Customised Scripts in Cheque Printing

    Hii
    Am working on APP Cheque Printing...
    here am using standard driver Program 'RFFOUS_C'
    and two customised script for Cheque print and payment advice print..
    please let me know , How to dubug my cutostomised script while printing through F110 .....
    its not working evenif am activating Debugger in Script or also through RSTXDBUG Prgm
    Note : In APP , when am Processing through F110 , In background mode processing takes place and finally Spool is generated....
    Awaiting for ur reply...
    Thanks in Advance

    Hi,
    yes offcource you have to activate debugger for script ....but additionally
    1. The point in the program where your script is triggered put an external breakpoint.
    2. Before giving the Print Preview or whichever button put '/h'
    3. After putting /h and pressing the button it goes in Debug mode then you can F8 and it will reach the point where you have set the Breakpoint or External breakpoint.
    Thanks,
    Neha

  • 10.6.6 update restores duplex printing in Quark!

    Hooray! no other comment necessary,
    cheer,
    michael

    spoke too soon...
    yes, it printed my quark job in duplex last night...
    however this morning I can't print at all. Jobs spool up and then read as "print job accepted" in the print utility dialog box... happy to hear that (but would be happier if they actually printed, which the don't).
    Seems a host of new issues have been created, don't upgrade to 10.6.6 on my say so, sorting through the rubble now...

Maybe you are looking for

  • Is there any Project Management App

    I would like to know whether there is any project management app for Mac, which has Gantt charts, critical path method and other project management tools.

  • Adding another machine to Primary Zone

    Adding another machine to Primary Zone I have a good split-DNS configuration that has been working without issue for some months now since I installed OS X Server Snow Leopard (Mac Mini) at my company's office. We have another machine used as a file

  • ECM - Infotype 758 - 2nd Program Gropping

    We are using the ECM module.  We store the short term incentive plans on infotype 758 - Compensation Program.  The list that is maintain for the second program grouping has more than 100 plans. The data keying department wants us to remove the discon

  • Need help Loading parsed RSS text

    Hi, I have created an AS3 FLA where I am parsing and displaying RSS text. I have traced the parsed text and displayed the text into dynamic text boxes on the stage no problem. However the line breaks in the traced text show up on stage as well. How d

  • Have HP G72-B60us with Core i3 370M Notebook and Socket PGA988 ; will Core i5-580M same socket work?

    a Core i5-580 has same socket but runs at 266speed compared to my i3-370 of 2.4 speed   I think the motherboard is a HP 1439  60.3E with Bios F35