Whether Print asks first.
toolbar.print: false hides the button; callbacks.onPrint takes it over. The Print button and viewer.print() need the print license feature.PrintConfigconfig.print
Example
viewer.tsTypeScript
print: { ask: false }
Options 1
The toolbar's Print button (and Ctrl / ⌘ + P) asks first — pages, annotations.
askTypeScript
print: { ask: false }