Skip to main content
MidoSemsem
Inspiring
February 26, 2024
Question

Script to Batch Convert Files to PDF with Color Separation

  • February 26, 2024
  • 1 reply
  • 214 views

Hello all,

I'm seeking a script for batch file-to-PDF conversion with color separation. Page one in full colors, subsequent pages are plates of Cyan, Magenta, Yellow, Black and spot colors if present.

Any help is appreciated. Thank you!

This topic has been closed for replies.

1 reply

MidoSemsem
Inspiring
February 27, 2024

As a start I used this handy script 

var sepOptions = new PrintColorSeparationOptions();
var options = new PrintOptions();
options.colorSeparationOptions = sepOptions;

sepOptions.convertSpotColors = false;
sepOptions.overPrintBlack = true;
sepOptions.colorSeparationMode = PrintColorSeparationMode.COMPOSITE;
doc.print(options);


sepOptions.convertSpotColors = false;
sepOptions.overPrintBlack = false;
sepOptions.colorSeparationMode = PrintColorSeparationMode.HOSTBASEDSEPARATION;
doc.print(options);


It does a good job, but the result is split into two separate files.
Can they be merged into a single file with separation plates in color?