• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
InDesign postscript question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InDesign postscript question


  • Subject: InDesign postscript question
  • From: <email@hidden>
  • Date: Mon, 11 Feb 2008 10:57:03 -0600
  • Sensitivity: Normal

Hi,

I'm trying to create a postscript file from InDesign CS3 that contains only 1 color.  But for some
reason, even if I turn off all the inks I don't want, when it gets to the 'print' command it turns
the CMYK inks back on so the Postscript file contains not 1 color but 5 colors.

Is it supposed to do that?  Or am I just coding this wrong?  Here's my code (at the moment
running on OS 10.5.1 but will be testing in Tiger later).  As you can see I only want to use any
ink that starts with 'RF.' (which should always end up being only 1 ink).

Thanks for looking at my question.

Jay

--

tell application "Adobe InDesign CS3"
	tell document 1
		set inkList to inks
		-------
		repeat with x in inkList
			if x's name does not start with "RF." then
				set x's print ink to false
			else
				set x's print ink to true
			end if
		end repeat
		------
		tell print preferences
			set printer to postscript file
			--try
			set PPD to "RF_Output_Film_Lg.PPD"
			--end try
			try
				set color output to separations
			end try
			set print file to "Macintosh HD:Users:jay:Desktop:TEST.ps"
			set page range to all pages
			set print spreads to false
			set print master pages to false
			set sequence to all
			try
				if trapping is off then
					set print blank pages to false
					set print guides grids to false
					set print nonprinting to false
				end if
			end try

			set paper size to custom
			set paper width to 7.0625
			--set paper height to 14.1875
			set print page orientation to portrait
			set page position to centered
			set paper gap to 0
			set paper offset to 0
			--set paper transverse to false
			set scale height to 100
			set scale width to 100
			set scale mode to scale width height
			set scale proportional to true
			--if trapping is off then
			--	set thumbnails to false
			--	set tile to false
			--end if
			set all printer marks to false

			set use document bleed to print to true
			set color bars to false
			set crop marks to false
			set include slug to print to false
			set mark line weight to p25pt
			set mark offset to 0.083333333333
			set page information marks to false
			set registration marks to false

			set negative to false
			set color output to separations
			set trapping to off
			set screening to "Default"
			set flip to none
			(* this commented code errors
			if trapping is off then
				set print black to false
				set print cyan to false
				set print magenta to false
				set print yellow to false
			end if*)

			set send image data to optimized subsampling
			set font downloading to complete
			try
				set download PPD fonts to true
			end try
			try
				set data format to binary
			end try
			try
				set PostScript level to level 2
			end try

			try
				set source space to use document
				set intent to use color settings
				set CRD to use document
				set profile to PostScript CMS
			end try

			set OPI image replacement to false
			set omit bitmaps to false
			set omit EPS to false
			set omit PDF to false
			--try
			--	set flattener preset name to "high quality flattener"
			--end try
			set ignore spread overrides to false

		end tell
		-------
		print without print dialog
	end tell
end tell
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Bring a window to front
  • Next by Date: Re: InDesign postscript question
  • Previous by thread: Re: HTML emails in Entourage
  • Next by thread: Re: InDesign postscript question
  • Index(es):
    • Date
    • Thread