• Print current document to PDF.

    Parameters

    • Optionalopts: PrintToPDFOptions

    Returns Promise<Buffer>