Skip to main content
o-marat
Inspiring
November 24, 2013
Question

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

  • November 24, 2013
  • 1 reply
  • 718 views

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!

1 reply

Participating Frequently
February 15, 2025

Were anybody able to workaround this issue?