AboutSupportDeveloper GuideVersion

Options for printing a webpage in OpenFin.


  • PrintOptions


collate?: boolean

Collates the webpage before printing.

color?: boolean

Default Value


Prints in full color (greyscale otherwise).

content?: "self"
copies?: number

Number of copies to be printed.

deviceName?: string

Name of the printer device to use.

dpi?: Dpi

Dots per inch of the printed webpage.

duplexMode?: "simplex" | "shortEdge" | "longEdge"

Duplex mode of the printed webpage.

landscape?: boolean

Default Value


Prints in landscape mode (portrait otherwise).

margins?: Margins

Margins for printed webpage.

pageRanges?: Record<"from" | "to", number>[]

Page range to print.

pagesPerSheet?: number

Number of webpage pages to print per printer sheet.

printBackground?: boolean

Default Value


Includes the webpage background color and image when printing.

scaleFactor?: number

Scale factor of the printer webpage.

silent?: boolean

Default Value


Disables prompting the user for print settings.