PrintBookletOption

Print booklet options.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

BookletTypeOptions, Boolean, EventListeners, Events, Number, Object, PageRange, SignatureSizeOptions, String,

Hierarchy:

Superclass: Preference

Class: PrintBookletOption

Property Listing

Property

Type

Access

Description

autoAdjustMargins

Boolean

read/write

If true, automatically adjust margins to fit the specified printer's marks and bleed area.

bleedBetweenPages

Number

String

read/write

The amount of bleed between pages.

bookletType

BookletTypeOptions

BookletTypeOptions.FOUR_UP_CONSECUTIVE

BookletTypeOptions.THREE_UP_CONSECUTIVE

BookletTypeOptions.TWO_UP_CONSECUTIVE

BookletTypeOptions.TWO_UP_PERFECT_BOUND

BookletTypeOptions.TWO_UP_SADDLE_STITCH

read/write

The type of booklet.

bottomMargin

Number

String

read/write

Bottom margin of the printed booklet.

creep

Number

String

read/write

The amount of creep (binding adjustment based on paper thickness) to add.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

leftMargin

Number

String

read/write

Left margin of the printed booklet.

marginsUniformSize

Boolean

read/write

If true, make all margins equal to the top margin.

pageRange

PageRange

PageRange.ALL_PAGES

PageRange.SELECTED_ITEMS

String

read/write

The pages to print, specified either as an enumeration or a string. To specify a range, separate page numbers in the string with a hyphen (-). To specify separate pages, separate page numbers in the string with a comma (,). Can return: PageRange enumerator or String.

parent

Document

readonly

The parent of the PrintBookletOption (a Document).

printBlankPrinterSpreads

Boolean

read/write

If true, print blank spreads.

properties

Object

read/write

A property that allows setting of several properties at the same time.

rightMargin

Number

String

read/write

Right margin of the printed booklet.

signatureSize

SignatureSizeOptions

SignatureSizeOptions.SIGNATURE_SIZE_12

SignatureSizeOptions.SIGNATURE_SIZE_16

SignatureSizeOptions.SIGNATURE_SIZE_32

SignatureSizeOptions.SIGNATURE_SIZE_4

SignatureSizeOptions.SIGNATURE_SIZE_8

read/write

The signature size of booklet (for perfect binding).

spaceBetweenPages

Number

String

read/write

The amount of space between pages.

topMargin

Number

String

read/write

Top margin of the printed booklet.

Method Listing

EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

PrintBookletOption getElements ()

Resolves the object specifier, creating an array of object references.

Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Removes the event listener.

Parameter

Type

Description

eventType

String

The registered event type.

handler

File

JavaScriptFunction

The registered event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

String toSource ()

Generates a string which, if executed, will return the PrintBookletOption.

String toSpecifier ()

Retrieves the object specifier.

Object of

Document.printBookletOptions

Event.parent

EventListener.parent

MutationEvent.parent

Return

PrintBookletOption.getElements()