Dear All
I'm having the doubt regarding for the exporting EPS with changing the bleed setting for while on-Fly process.
Currently I'm using the below source code:
//==================== Source Code ======================//
var myDoc = app.activeDocument
__DoEPSExportPreferenceSettings(myDoc)
myEPSFileName = File(myDoc.filePath).fsName + "/"+ String(myDoc.name).split(".indd")[0]+(".eps");
app.activeDocument.exportFile(ExportFormat.epsType, File(myEPSFileName));
function __DoEPSExportPreferenceSettings(myDoc){ with(app.epsExportPreferences) { pageRange = "1"; epsSpreads = false; postscriptLevel = PostScriptLevels.LEVEL_3; epsColor = EPSColorSpace.UNCHANGED_COLOR_SPACE; preview = PreviewTypes.NONE fontEmbedding = FontEmbedding.COMPLETE; dataFormat = DataFormat.ASCII; var BleedTopOffset = app.activeDocument.documentPreferences.documentBleedTopOffset; var BleedBottomOffset = app.activeDocument.documentPreferences.documentBleedBottomOffset; var BleedInsLeftOffset = app.activeDocument.documentPreferences.documentBleedInsideOrLeftOffset; var BleedOutRightOffset = app.activeDocument.documentPreferences.documentBleedOutsideOrRightOffset; bleedBottom =32 + "pt"; bleedTop = 32 + "pt"; bleedInside = 32 + "pt"; bleedOutside = 32 + "pt"; imageData = EPSImageData.ALL_IMAGE_DATA; opiImageReplacement = true; omitBitmaps = false; omitEPS = false; omitPDF = false; appliedFlattenerPreset = "[High Resolution]"; ignoreSpreadOverrides = true; } }
//==================== End : Source Code ======================//
but unable to set the Bleed settings, while exporting as eps format.
I mean the script is trying to change the bleed settings while using the "EPS ExportPreference settings", but unable to to exporting as EPS. [The output eps is without change the above mentioned 32pt settings in bleed].
I'm checking all the possibilities. but unable to solve this proble.
Please any one can give me the proper soultions, I will appriciate...
Thanks in Advance
T.R.Harihara SudhaN