• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Requesting help with illustrator problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Requesting help with illustrator problem


  • Subject: Requesting help with illustrator problem
  • From: Brian Christmas <email@hidden>
  • Date: Sat, 07 Mar 2015 14:53:40 +1100

G'day

 

I'm adding two text boxes to an illustrator CS6 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
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Recurring Reminders/Calendar Events?
  • Next by Date: Questions About Bundled Scripts
  • Previous by thread: Re: New Office for Mac Beta and Applescript
  • Next by thread: Re: Requesting help with illustrator problem
  • Index(es):
    • Date
    • Thread