Skip to main content
Version: Version 5 beta

Type Alias: DocumentPrintOptions

DocumentPrintOptions: object

Options for configuring document printing.

Type declaration

dpi?

optional dpi: number

The print resolution in dots per inch (DPI). Higher values produce better quality but larger file sizes.

includeAnnotations?

optional includeAnnotations: boolean

Whether to include annotations in the printed document.

pageNumbers?

optional pageNumbers: number[]

Specific page numbers to print. If not specified, all pages will be printed.