• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Illustrator ExtendScript Printing Problem - The Color Management settings are inconsistent

New Here ,
May 18, 2023 May 18, 2023

Copy link to clipboard

Copied

I've searched, but cannot find anything applicable and I'm hoping someone here might know the answer. I have the following simple script to print a document to an office laser printer. When I run the script I get: "Can't print the illustration. The Color Management settings are inconsistent."

var doc = activeDocument;

printOptions = new PrintOptions();
printOptions.Preset = "dsl-paperwork_print_preset";
printOptions.printerName = "office-mfc";
doc.print(printOptions);

When I print directly from Illustrator using the same printer preset, the document prints perfectly. Any help or suggestions are greatly appreciated.

Thank you,

Larry 

TOPICS
Scripting

Views

385

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advisor , May 18, 2023 May 18, 2023

@DESILarry,

 

Looking at the scripting documentation you need to change this line...

 

printOptions.Preset = "dsl-paperwork_print_preset";

 

To this...

 

printOptions.printPreset = "dsl-paperwork_print_preset";

 

 

https://www.indesignjs.de/extendscriptAPI/illustrator-latest/#PrintOptions.html

 

Regards,

Mike

Votes

Translate

Translate
Adobe
Advisor ,
May 18, 2023 May 18, 2023

Copy link to clipboard

Copied

@DESILarry,

 

Looking at the scripting documentation you need to change this line...

 

printOptions.Preset = "dsl-paperwork_print_preset";

 

To this...

 

printOptions.printPreset = "dsl-paperwork_print_preset";

 

 

https://www.indesignjs.de/extendscriptAPI/illustrator-latest/#PrintOptions.html

 

Regards,

Mike

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 19, 2023 May 19, 2023

Copy link to clipboard

Copied

LATEST

Thank you Mike! I'd been staring at that for a day before I finally caved and asked for help. Much appreciated!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines