Cannot print document with added barcode text boxes

G'day
I'm adding two text boxes to an illustrator document with Applescript, but when I go to print, ?I get an error 'Cannot print the illustration. The Color Management settings are inconsistent.'
The error message is not error trappable.
I have to barcode thousands of documents a year, and this is a big deal breaker. Is there any fix, please?
Regards
Brian Christmas
try
  set printerName to my theLargePagePrinter as string
  set paperOptions to {class:paper options, name:largePaperSize}
  set jobOptions to {class:job options, designation:all layers} # , print options:printOptions}
  set colorOptions to {class:color management options, profile kind:printer profile}
  set flatOpts to {class:flattening options, clip complex regions:true, gradient resolution:360, rasterization resolution:360}
  set printOptions to {class:print options, printer name:printerName, paper settings:paperOptions, flattener settings:flatOpts, job settings:jobOptions, color management settings:colorOptions}
  try
  set p to 17
  tell application "System Events" to tell process "Adobe Illustrator"
  click menu item "Fit to Artwork Bounds" of menu 1 of menu item "Artboards" of menu 1 of menu bar item "Object" of menu bar 1
  end tell
  end try
  set p to 18
  say 7
  print document 1 options printOptions
  say 8
  on error errmsg number errnum
  tell application "System Events" to display dialog "Error in printing illustrator document. " & errmsg & " number " & errnum giving up after 40
  end try

G'day Owen, & W_J_T.
Unfortunately your suggestions did not work for me.
I've tried using the GUI to access the print dialog box, but as usual with Adobe, they've stuffed that up too. What I did find however, that the print dialog box recognised keystrokes, and always defaults to the Printer box when opening.
Also, the Printer box sets itself to a matching item of whatever key is pressed, and so does the Printer Preset box.
So, even tho I can't select any given box, provided I have a Printer Preset set, I can access it by the following (slower) method...
activate
  tell application "System Events" to tell process "Adobe Illustrator"
  keystroke "p" using command down
  keystroke (character 1 of (my theLargePagePrinter as text)) as text
  repeat 17 times
  keystroke tab
  tell current application to delay 0.1
  end repeat
  keystroke (character 1 of (my theLargePagePrinter as text)) as text
  keystroke return
  end tell
Note that if you have more than one printer or Printer Preset starting with the same letter, then you'll have to use more than just the first character of your printer name.
Regards
Brian Christmas

Similar Messages

  • Cannot print documents with firefox as my internet connection

    When I try to print a document a window to save the document appears and then an error in printing window appears and nothing prints

    you can download it on your work computer, locate the file once its done, and take it to your home comp and have iTunes do an install from that. You'll have to direct it to the file though, itunes won't see it otherwise.
    Message was edited by: Langdon

  • Carry over formatting to the next page without adding a text box

    I've written 15 books on the old pages and had no trouble carrying the formatting to the next page without adding a page or adding a text box to the added page.  I just kept on typing.  I've added the new pages and had trouble right from the start so I went back to the old and got a good start, but going through that added procedure on every new page gets old in a hurry.
    It shows the number of pages at the bottom, but a new page doesn't come on automatically  when I type. 
    Please help.
    Thanks,
    Ron  -  [email protected]

    1. Why not continue to use Pages '09 in your Applications/iWork folder?
    2. In Pages 5:
    Setup (gear icon far right of toolbar) > check Document Body
    and the text will flow from page to page.
    Peter

  • Cannot sign documents with Adobe Reader 10.1.3 - 10.1.10, Can sign document with 10.1.2 and 11.0.07

    Cannot sign documents with Adobe Reader 10.1.3 - 10.1.10, Can sign document with 10.1.2 and 11.0.07
    In my environment, we have 10.1.2 that's currently packaged. Our CIO was able to sign documents via signature with no problem. Later he got updated to 10.1.9, no longer can sign.
    During testing I was able to confirm that 10.1.2 signed without problems, but anything that, it goes kaput, the Sign and options are not listed.
    Latest Adobe Reader can sign... any ideas?

    I'm having a similar problem.  What I'm trying to do is print a Microsoft Word 2010 document with paper size A4 to Adobe pdf document paper size A4.  I select "A4" for paper size in word and then print using Adobe print standard settings.  What I get is an Adobe document in 8.5 x 11.  This is an issue because these are patent documents for electronic filing in WIPO and they must be in A4 size.
    If I select other sizes in Word, such as A3, Tabloid, and Legal, the Adobe file is in the same paper size.
    If I print a Powerpoint document in A4 to Adobe, the Adobe file page size is A4.
    If I print an Adobe file in 8.5 x11 to Adobe A4, the second Adobe file is in A4.
    Any help? 

  • Cannot print document - No pages selected - Adobe Reader XI

    Using Adobe Reader XI on a Windows 8.1 machine driving a Brother DCP-7055 printer via a network-linked Windows 7 machine to print 16-page document in Booklet format.  This worked well yesterday, but this morning, with no changes to the system, so far as I am aware, I get Cannot print document - no pages selected on both the W8.1 and W7 machines.  Same result trying to print ANY pdf from either machine.  The same pdfs print OK using alternative pdf software (Nitropdf) but I need the booklet format option. Any solutions?  Any suggestions.

    That 'Protected Mode' causes so many troubles (hangs, crashes, limited functionality, ...) that I have been recommending to disable it for a long time in this forum.  I don't know if Adobe is aware of the problem; maybe someone should report it officially: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    I personally have never experienced the problem; I have Protected Mode enabled on all my systems.  But there are so many reports in this forum every week that it's clear that something is wrong with it.

  • "Cannot draw document with negative rows to credit note"

    Hi Experts,
    A General query :
    I create an AR invoice with two items one with qty 1 and the other with qty (-ve 1)  on posting this invoice the second item / row with negative qty gets closed automatically. Now, I require to post a AR Credit note to this invoice i get the following status error message "cannot draw document with negative rows to AR credit note" when copying to a AR Credit note and it is the same the other way when copying from
    How is it possible to create a  AR credit note to the above scenario. Any sugestions
    V.  2007A SP01 PL05
    Regards,
    Rakesh N

    Hi Rakesh N,
    version 8.8 supports fully the scenario you outline & I would recommend you upgrade to benefit from the new functionalities introduced in that version. Please have a look at the [8.8 landing page|https://service.sap.com/~sapidb/011000358700000199032009].
    Using stand-alone documents & internally reconciling in the lower versions works beautifully on the accounting side yet impacts also the stock side, where corrections in stock value & item cost must be carried out manually.
    All the best,
    Kerstin

  • Acrobat 9 hangs when adding a text box

    It seems that any installation of Acrobat 9 I have come across, Acrobat hangs when adding a text box from "Forms>Add or Edit Fields".
    I may need to apply an update or two but this problem seems very consistent and reproducable.
    I plan on trying Acrobat 9 Pro on Windows XP to see if it makes any difference, but does anyone have any ideas?  OTHER than upgrading to Acrobat X?

    Textbox takes few extra seconds to establish himself, but it never hangs for me. Did you tried to click-n-drag to create Textbox?

  • Error 'cannot cancel document with a down payment that was drawn to invoice

    Error 'cannot cancel document with a down payment that was drawn to invoice.  We need to void a check and are getting this message.  We also get message when trying to cancel the outgoing payment.  The AP Down payment is closed, and the AP invoice is also closed.  Is there a way to 'undraw' the down payment on the AP invoice?  How can this be voided?  Any guidance would be greatly appreciated.  Thanks.

    Hi,
    Check the following thread
    Re: Down payment invoice
    Can not void a check win paid from a down payment invoice
    Re: Cancel down payment
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • Has anyone been able to get a mouse scroll wheel to work with a scrolling text box in authorware?

    Has anyone been able to get a scroll wheel to work with a
    scrolling text box in authorware? Is there any way to attach the
    hardware of a scroll wheel to a scrolling text in a piece? Sure
    would make things easier for the reader.

    I doubt it. Maybe using the WinCtrls.u32? But after a few
    tries years
    ago (before the WinCtrols.u32), I'd pretty much given up.
    Erik
    edwin e wrote:
    > Has anyone been able to get a scroll wheel to work with
    a text box in authorware?
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - eLearning
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    Authorware Tips!

  • How to link one scroll bar with two dynamic text boxes.

    How to link one scroll bar with two dynamic text boxes.
    If i move scroll bar in one text box,automatically text will
    be moved in another text box.But scroll bar is not visible.
    Can you please help me.
    Thanks in advance.

    See the following article:
    JavaScript - setFocus Method for tabbing to next form field
    And see if iOS can even handle the sample form.
    iOS and android devices are not a powerful as your desktop of laptop computer and have limited support for JavaScript within PDF forms. This limitation for specific apps ranges from none to quite a bit but not all JavaScript.

  • Print document with changes

    I have enlarged a document, when I print only original size prints.  How do I print document with changes?

    Welcome to Discussions - do you have a scanner? If so, read the manual that came with it and it will tell you how to scan. If you do not have a scanner, the function is not available as an application with your Mac, you need to buy a stand-alone scanner or multi-function printer.

  • Printing document with Notes/Comments and underlined/highlighted text

    Dear all,
    I have been reading a document and highlighted & underlined parts of it.
    In addition I also inserted notes.
    Now when trying to print the document with the "summarize comments function" (I translate this from the
    german version so there it might be called somewhat differently in english) in the print menue, I receive a the
    original document plus attached several pages including my notes (now numbered) PLUS entries for every line I highlighted, underlined etc.
    Evidently I only want the text of my comments, not empty entries for each line I have highlighted.
    To be clear, I would like to keep the text highlighted / underlined - but I don't need the
    entries for that in the appended section. A document of 18 pages otherwise suddently gets 48 pages...(with only
    a few added notes).
    I have to say I am somewhat puzzled how difficult it is to sort this out. Thought that must be
    something rather trival (or am I blind and make a silly mistake)?
    To make it more clear here screenshot from what I refer to
    Many thanks for any help.
    r

    Dear Lori,
    many thanks for your swift response. Did I understand you correctly - there is no way to keep all the comments (underlined/highlighted/stick notes) in the text and only inlcude the content of the sticky notes at the end of the document? If I filter, as suggested by you, then the underlined/highlighted parts will not show up in the appended pages (that's good) - but they are also not longer visible in the main text (that's bad...).
    I would have thought what I am trying is rather ordinary - Highlighting/underlining text and adding comments. And when I print the document, i would like to get the edited text plus the content of the comments (sticky notes). (And not an empty entry for all highlighted/underlined words). I am somewhat puzzled.
    Many thanks again.
    r

  • Printing problem with script barcode

    hi ,
         i hav inserted a barcode for a particular window field. while giving print preview it is showing barcode.
         after taking print, it is not displaying the barcode.
       thank u all in advance,
      balu.

    Hello,
    In general, if you want to print a barcode, somebody must draw the bars
    of the barcode to get a correct print. So there are four possible ways to
    print barcodes from SAP:
    1. Print e.g. via a Barcode DIMM/SIMM
    To use this way, the printer must be able to print barcodes by itself so it
    needs e.g. a special barcode SIMM/DIMM module to print the barcodes.
    ie: HP printers do not contain barcode fonts by default so a DIMM module
    with the fonts must be installed. The print works as follows:
    The SAP sends a simple printer escape sequence to the printer, which activates
    the barcode printing in the printer. Then the SAP sends the barcode number and
    finally it sends a printer escape sequence, which switches the printer back to
    normal printing. So in this way the bars of the barcode are created in the printer
    (and you only see a dummy barcode in the print preview).
    Please see the following Note about the sequences for Jetcaps BarDIMM used
    for printing barcodes on HP Laserjet printers:
    45643 Barcode control sequences for JetCAPS/Jetmobile BarDIMM
    The correct BarDIMM modules for different HP printer models can be seen on
    the JetMobile website at the URL below:
    http://www.jetmobile.com/products/SJ_BD.htm
    2. Print via a barcode.dll
    If your printer doesn't have a barcode DIMM, it cannot create the bars of
    the barcode itself. So this must be done elsewhere. One possibility is that
    you print via a Windows system, SAPSprint or SAPLPD, device type SAPWIN and
    a barcode.dll.
    ie: Your printer is connected to a Windows system that runs the SAPSprint or SAPLPD program
    If you print via device type SAPWIN, the creation of the print data is done in the Windows.
    So the Windows may create a graphic, which contains the bars of the barcode, and send this
    graphic to the printer.
    The job to create the barcode graphic is done by the barcode.dll. So it is only needed, if
    you want to print this way please see the following note for more information:
    14561 Printing barcodes via SAPLPD / Barcode DLL
    3. New barcode technology
    If your printer doesn't have a barcode DIMM and if you don't want to use a barcode.dll,
    you may use the new barcode technology, which is described in the SAP notes 645158 and 430887.
    However this is only possible when printing from Smartforms.
    In this way SAP itself creates a picture, which contains the bars of the barcode. This picture
    is sent to the printer. One important requirement when you print the barcode via a Smartform
    is that you have at least release 46C.
    4. Use of a barcode font
    There are some font files (e.g. Windows TTF files), which contains bars instead of characters.
    So if you use these font files, the bars of the barcode are printed instead of a text.
    You may buy such a font file, install it under Windows and use it via device type SAPWIN
    according to note 48803. Since release 46C these files can also be uploaded into the SAP and
    used via other device types.
    Hope this information helps you resolve the issue.
    Regards,
    David

  • I have a requirement with select and text boxes. JSP / JDBC

    I have a Combo Box which iswritten by a JSP by connecting to DB!
    When i click on a <option> corresponding the other two text boxes must be loaded with data!
    if i have list of EmpID in <select>, in one text box i should get his CITY and other Occupation !
    What i thought is .... getting all the data from database. select empid from emp and write a combo and select city,occupation from emp, intp ARRAYLISTs!
    function updatData(){
    var index=document.projalloc.associateid.selectedIndex;
    }if i onSelect=updateData(), (i will get index of empid,as it is a combobox) using which i have to retrieve the values of city and occupation !!
    BUT HOW !
    I am gettin the index of empid but how to get the data into textbox !!!!

    well there are many ways of doing this.
    1).Render all the data corresponding to each employee at a time.By making a javascript arrays and try to get back the data from there.
    2).Save the ArrayList of DTO beans in the scope of session.Use AJAX call a CGI(Servlet/JSP action) fetch the values from the session render the response as XML now parse the XML data using javascript DOM and then update the consecutive textboxes.
    Just as an example checkout my answer in the below post.It was an example given for a dependent drop downs.however, we can definately use the same concept to update textboxes too.
    http://forum.java.sun.com/thread.jspa?threadID=5209661&messageID=9844137#9844137
    Hope that might help :)
    REGARDS,
    RaHuL

  • When adding a text box to a book, is there a way to make the background of the textbox a solid color, so the text can more easily be seen?

    When adding a textbox to a page in a photo book, is there a way to make the background of the textbox a solid background (rather than right on the photo), so that it is easier to read the text?

    I don't believe there is a way to change the background of a specific text box, but with some themes you can change the background of the page to a different color. Or are you wanting to put the text box on top of an image?
    And I believe you can change the color of the font by highlighting the text, right or control-clicking, and choosing show fonts.

Maybe you are looking for

  • Unable to open PDF files in IE 10

    I'm using IE 10.0.9200.17028 and Adobe Reader 11.0.07. When accessing any website in IE 10 and clicking on a link to PDF file, a dialogue box opens that prompts to open or save PDF file. On selecting any of these options, operation fails. Looking at

  • WAP321 - Guest SSID not working

                       I have a WAP321 with 2 SSID's.  One is for local access and another for guest.  The WAP connects to a 3550 and it's port is set to description Cisco Wireless switchport trunk encapsulation dot1q switchport trunk allowed vlan 1,20 s

  • IPod doesn't show under iTunes devices

    I can't get my iPod or Shuffle to show under Devices in iTunes.  I've downloaded the latest iTunes, tried different cables, have "Devices" turned on in System Preferences.  They both worked fine up until now.

  • Connection url problem

    Hi all, I am trying to connect to DB2 AS400 database thru JDBC adpt. For the connection url I am using-it requires the port name may I know what port name is generally used in the particular connection string? Thanks & Regards Ranjit

  • SYNC PURCHASED iTUNES SONGS & TV SHOWS ON TWO MACS

    I have a Mac Pro at home with a huge iTUNES library. I have authorized my MACBOOK PRO. I want to have a small selection of music and TV SHOWS from my MAC PRO to be on my MACBOOK PRO. What is the best way to have purchased material on two authorized c