| FoxitPDFSDKforWeb v11.0.5 Archives Foxit PDF SDK for Web

RegisterPrintHandlerCallback Interface Reference
PDFViewCtrl » interfaces

A callback function used to PDFViewer::registerPrintHandler. More...

## Detailed Description

A callback function used to PDFViewer::registerPrintHandler.

Parameters

  options | Object - Print options.
  options.data | string - Print data. The data is a pdf document in base64 format.
  options.type | number - Print type. 0: Document, 1: Document and markups, 2: Document and stamps, 3: Form fields only.
  options.range | Array - Print range. The format is a two-dimensional array of [[start, end], ...], like [[1, 1], [4, 7]], means print page 2 and 5-8.

Returns
  void

@2025 Foxit Software Incorporated. All rights reserved.