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

How to disable some color when printing separations in Ai CS6-CC (JS)

Engaged ,
Nov 24, 2013 Nov 24, 2013

Hello Everyone!

Configuration: Win 7 Pro x64, Illustrator CS6x64-CCx64, default printer PDF.

When printing separations from Illustrator CS4 following script prints all colors except Cyan (as was intended).

But when printing from CS6-SS disable the color is not possible - all colors are printed without exception.

var adoc = activeDocument;

var o = new PrintOptions();

o.colorSeparationOptions = new PrintColorSeparationOptions();

o.colorSeparationOptions.colorSeparationMode = PrintColorSeparationMode.HOSTBASEDSEPARATION;

o.colorSeparationOptions.inkList = adoc.inkList;

for (var i = 0; i < o.colorSeparationOptions.inkList.length; i++) {

if (o.colorSeparationOptions.inkList.name == 'Process Cyan') {

  o.colorSeparationOptions.inkList.inkInfo.printingStatus = InkPrintStatus.DISABLEINK;

}

}

adoc.print(o);

If you check, you have inkInfo.printingStatus Cyan changed to "InkPrintStatus.DISABLEINK".

Why it is printed and how to disable?

Thanks!

TOPICS
Scripting
662
Translate
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
Adobe
Community Beginner ,
Feb 15, 2025 Feb 15, 2025
LATEST

Were anybody able to workaround this issue?

Translate
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