Class
Print booklet options. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
PrintBookletOption
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
autoAdjustMargins | bool | r/w | If true, automatically adjust margins to fit the specified printer's marks and bleed area. (default: true) |
bleedBetweenPages | Measurement Unit (Number or String) (range: 0 - 144) | r/w | The amount of bleed between pages. |
bookletType | BookletTypeOptions: BookletTypeOptions.TWO_UP_SADDLE_STITCH BookletTypeOptions.TWO_UP_PERFECT_BOUND BookletTypeOptions.TWO_UP_CONSECUTIVE BookletTypeOptions.THREE_UP_CONSECUTIVE BookletTypeOptions.FOUR_UP_CONSECUTIVE |
r/w | The type of booklet. |
bottomMargin | Measurement Unit (Number or String) (range: 0 - 288) | r/w | Bottom margin of the printed booklet. |
creep | Measurement Unit (Number or String) (range: -144 - 144) | r/w | The amount of creep (binding adjustment based on paper thickness) to add. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
leftMargin | Measurement Unit (Number or String) (range: 0 - 288) | r/w | Left margin of the printed booklet. |
marginsUniformSize | bool | r/w | If true, make all margins equal to the top margin. (default: false) |
pageRange | PageRange String |
r/w | 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 | bool | r/w | If true, print blank spreads. (default: true) |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
rightMargin | Measurement Unit (Number or String) (range: 0 - 288) | r/w | Right margin of the printed booklet. |
signatureSize | SignatureSizeOptions: SignatureSizeOptions.SIGNATURE_SIZE_4 SignatureSizeOptions.SIGNATURE_SIZE_8 SignatureSizeOptions.SIGNATURE_SIZE_12 SignatureSizeOptions.SIGNATURE_SIZE_16 SignatureSizeOptions.SIGNATURE_SIZE_32 |
r/w | The signature size of booklet (for perfect binding). |
spaceBetweenPages | Measurement Unit (Number or String) (range: 0 - 288) | r/w | The amount of space between pages. |
topMargin | Measurement Unit (Number or String) (range: 0 - 288) | r/w | Top margin of the printed booklet. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of PrintBookletOption getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | 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.
Element of
Document.printBookletOptions
Return
Array of PrintBookletOption PrintBookletOption.getElements ()
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |