Indeisng print prefs, set ink to not print, how

hi
In Indesign I’m setting up a script to tell the print preferences to set all of my output requirements,

I’m using

set printer to postscript file" & "set color output to inRIP separations

my RIP is set up to do unrip separations

I want certain colours to not print, so i’m using

set (print ink of ink "Keyline" of myDoc) to false

but this only works if I use

set color output to separations

Indesign’s dictionary says

If I do the separations manually I can turn the colour off and rip it, and it won’t print using inrip separations, so i’m
guessing a way must be available to do this in print preferences script, any ideas how?

cheers

Hi Budgie,

I just ran the below code and then manually printed a document, the ink had been suppressed in the print window, is that what you’re after?

tell application "Adobe InDesign CC 2018"
	set mydoc to active document
	set inkList to name of every ink of mydoc
	tell ink "PANTONE 362 C" of mydoc to set print ink to false
	tell print preferences of mydoc
		set printer to postscript file
		set color output to inRIP separations
	end tell
end tell

Thanks,
Nik

hi blend3

works like a charm, never thought about going the way you went, well done and thank you.

I have adopted your idea and expanded it to allow other colours also, eventually ill have a text file that
ill add colours to that I don’t want printed and then the script will pull from that.

this is the path i’m taking

tell application "Adobe InDesign CC 2019"
	set mydoc to active document
	
	set DontPrint to {"Keyline", "Slug Blue", "PROOFING"}
	
	repeat with myInk in DontPrint
		tell ink myInk of mydoc to set print ink to false
	end repeat
	
	tell print preferences of mydoc
		set printer to postscript file
		set color output to inRIP separations
	end tell
end tell 

cheers
B

Hi Budgie,

glad it’s working for you. Just let me know if you need any further help.

Thanks,
Nik