Sunday, December 15, 2019

#1 2019-07-17 06:11:28 pm

Budgie
Member
From:: New Zealand
Registered: 2005-02-22
Posts: 705

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   

Applescript:

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 

Applescript:

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

but this only works if I  use

Applescript:

set color output to separations

Indesign’s dictionary says

print ink (boolean) : If true, prints the ink. Only valid when printing separations.



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


Cheers
Budgie

“Everything’s impossible until somebody does it.” – Batman

Offline

 

#2 2019-07-24 11:52:28 am

blend3
Member
From:: UK
Registered: 2006-03-28
Posts: 470

Re: Indeisng print prefs, set ink to not print, how

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?

Applescript:

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


I can resist everything in life except temptation.
(Oscar Wilde)

Offline

 

#3 2019-07-24 05:53:57 pm

Budgie
Member
From:: New Zealand
Registered: 2005-02-22
Posts: 705

Re: Indeisng print prefs, set ink to not print, how

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

Applescript:

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


Cheers
Budgie

“Everything’s impossible until somebody does it.” – Batman

Offline

 

#4 2019-07-25 01:56:24 am

blend3
Member
From:: UK
Registered: 2006-03-28
Posts: 470

Re: Indeisng print prefs, set ink to not print, how

Hi Budgie,

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

Thanks,
Nik


I can resist everything in life except temptation.
(Oscar Wilde)

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)