Web SDKv1.0.0

callbacks.onPrint

Takes over the toolbar Print button and Ctrl / ⌘ + P; not called when the document forbids printing. When set, the SDK's Print dialog does not run; print with viewer.print({ pages }).
() => void

More in Callbacks