InDesign2026
API 21.5.1.73
Object

PrintEvent

A print event

Event PrintEvent
Hierarchy

Document

PrintEvent

Properties

NameType AccessDescription
Boolean readonly If true, the event supports the bubbling phase of propagation.
Boolean readonly If true, the default behavior of the event on its target can be canceled.
Object readonly The current propagation target of the event.
Boolean readonly If true, the default behavior of the event on its target has been canceled.
DocumentPrintUiOptions[]
read/write UI options for print document
EventPhases
readonly The current propagation phase of the event.
String readonly The name of the event.
Number readonly The unique ID of the PrintEvent.
Number readonly The index of the PrintEvent within its containing object.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Document readonly The parent of the PrintEvent (a Document).
Boolean readonly If true, propagation of the event beyond the current target has been stopped.
Object read/write A property that allows setting of several properties at the same time.
Object readonly The target of the event.
Date readonly The time the event was initialized.

Events

NameDescription
Dispatched after a PrintEvent is printed. This event bubbles. This event is not cancelable.
Dispatched before a PrintEvent is printed. This event bubbles. This event is cancelable.

Methods

PrintEvent[]

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

void

Cancels the default behavior of the event on its target.

void

Stops propagation of the event beyond the current target.

String

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

String

Retrieves the object specifier.

Object of 1

Properties elsewhere that hold a PrintEvent.

Return 1

Methods that return a PrintEvent.