Adobe 27510753 Scripting Guide - Page 139
scaleMode = ScaleModes.scaleWidthHeight
UPC - 718659445294
View all Adobe 27510753 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 139 highlights
Adobe InDesign CS2 Scripting Guide Working with Documents in JavaScript 131 reverseOrder = false; //pageRange can be either PageRange.allPages or a page range string. pageRange = PageRange.allPages; printSpreads = false; printMasterPages = false; //If the printer property is set to Printer.postScript file, then //the printFile property contains the file path to the output file. //printFile = "/c/test.ps"; sequence = Sequences.all Properties corresponding to the controls in the Output panel of the //Print dialog box negative = true; colorOutput = ColorOutputModes.separations; //Note the lowercase "i" in "Builtin" trapping = Trapping.applicationBuiltin; screening = "175 lpi/2400 dpi"; flip = Flip.none; //If trapping is on, attempting to set the following properties will //generate an error. if(trapping == Trapping.off){ printBlack = true; printCyan = true; printMagenta = true; printYellow = true; } //Only change the ink angle and frequency when you want to override the //screening set by the screening specified by the screening property. //blackAngle = 45; //blackFrequency = 175; //cyanAngle = 15; //cyanFrequency = 175; //magentaAngle = 75; //magentaFreqency = 175; //yellowAngle = 0; //yellowFrequency = 175; //The following properties are not needed (because colorOutput is //set to separations). //compositeAngle = 45; //compositeFrequency = 175; //simulateOverprint = false; //If trapping is on, setting the following properties will produce an error. if(trapping == Trapping.off){ printBlankPages = false; printGuidesGrids = false; printNonprinting = false Properties corresponding to the controls in the Setup panel of the //Print dialog box paperSize = PaperSizes.custom; //Page width and height are ignored if paperSize is not PaperSizes.custom. //paperHeight = 1200; //paperWidth = 1200; printPageOrientation = PrintPageOrientation.portrait; pagePosition = PagePositions.centered; paperGap = 0; paperOffset = 0; paperTransverse = false; scaleHeight = 100; scaleWidth = 100; scaleMode = ScaleModes.scaleWidthHeight; scaleProportional = true; //If trapping is on, attempting to set the following properties will //produce an error. if(trapping == Trapping.off){