Adobe 27510753 Scripting Guide - Page 140
markType = MarkTypes.default, InformationMarks = true
UPC - 718659445294
View all Adobe 27510753 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 140 highlights
132 Working with Documents in JavaScript Adobe InDesign CS2 Scripting Guide textAsBlack = false; thumbnails = false; //The following properties is not needed because thumbnails is set to false. //thumbnailsPerPage = 4; tile = false; //The following properties are not needed because tile is set to false. //tilingOverlap = 12; //tilingType = TilingTypes.auto; } Properties corresponding to the controls in the Marks and Bleed panel of //the Print dialog box Set the following property to true to print all printer's marks. //allPrinterMarks = true; useDocumentBleedToPrint = false; //If useDocumentBleedToPrint = false then setting any of the bleed properties //will result in an error. //Get the bleed amounts from the document's bleed and add a bit. bleedBottom = app.activeDocument.documentPreferences.documentBleedBottomOffset+3; bleedTop = app.activeDocument.documentPreferences.documentBleedTopOffset+3; bleedInside = app.activeDocument.documentPreferences.documentBleedInsideOrLeftOffset+3; bleedOutside = app.activeDocument.documentPreferences.documentBleedOutsideOrRightOffset+3; //If any bleed area is greater than zero, then export the bleed marks. if(bleedBottom == 0 && bleedTop == 0 && bleedInside == 0 && bleedOutside == 0){ bleedMarks = true; } else{ bleedMarks = false; } colorBars = true; cropMarks = true; includeSlugToPrint = false; markLineWeight = MarkLineWeight.p125pt markOffset = 6; //markType = MarkTypes.default; pageInformationMarks = true; registrationMarks = true; Properties corresponding to the controls in the Graphics panel of the //Print dialog box sendImageData = ImageDataTypes.allImageData; fontDownloading = FontDownloading.complete; downloadPPDFOnts = true; try{ dataFormat = DataFormat.binary; } catch(e){} try{ postScriptLevel = PostScriptLevels.level3; } catch(e){} Properties corresponding to the controls in the Color Management panel of //the Print dialog box If the useColorManagement property of app.colorSettings is false, //attempting to set the following properties will return an error. try{ sourceSpace = SourceSpaces.useDocument; intent = RenderingIntent.useColorSettings; crd = ColorRenderingDictionary.useDocument;