Skip to content

PrintPostScriptOptions

new PrintPostScriptOptions()

Options for printing to a PostScript printer.


printPostScriptOptions.binaryPrinting

If true, printing should be in binary mode.

Default: false

Boolean


printPostScriptOptions.compatibleShading

If true, use PostScript Level 1-compatible gradient and gradient mesh printing.

Default: false

Boolean


PrintPostScriptOptions.forceContinuousTone

Section titled “PrintPostScriptOptions.forceContinuousTone”

printPostScriptOptions.forceContinuousTone

If true, force continuous tone.

Default: false

Boolean


printPostScriptOptions.imageCompression

The image compression type.

Default: PostScriptImageCompressionType.IMAGECOMPRESSIONNONE

PostScriptImageCompressionType


printPostScriptOptions.negativePrinting

If true, print in negative mode.

Default: false

Boolean


printPostScriptOptions.postScriptLevel

The PostScript language level.

Default: PrinterPostScriptLevelEnum.LEVEL2

PrinterPostScriptLevelEnum


printPostScriptOptions.shadingResolution

The shading resolution.

Range: 1.0 to 9600.0

Default: 300.0

Number (double)


printPostScriptOptions.typename

Read-only. The class name of the object.

String


// Prints current document with various postscript levels
// Create new postscript options object, assign to print options
var psOpts = new PrintPostScriptOptions();
var printOpts = new PrintOptions();
printOpts.postScriptOptions = psOpts;
// Assign PS level, print
psOpts.postScriptLevel = PrinterPostScriptLevelEnum.PSLEVEL2;
activeDocument.print(printOpts);
psOpts.postScriptLevel = PrinterPostScriptLevelEnum.PSLEVEL3;
activeDocument.print(printOpts);