# Print

Whether Print asks first. [`toolbar.print: false`](https://kernstra.com/docs/web-sdk/config/toolbar/print) hides the button; [`callbacks.onPrint`](https://kernstra.com/docs/web-sdk/config/callbacks/onprint) takes it over. The Print button and `viewer.print()` need the `print` license feature.

- Interface: `PrintConfig`
- Config path: `config.print`

## Example

```ts
print: { ask: false }
```

## Options (1)

### `ask`

- Type: `boolean`
- Default: `true`
- Page: https://kernstra.com/docs/web-sdk/config/print/ask

The toolbar's Print button (and Ctrl / ⌘ + P) asks first — pages, annotations.

```ts
print: { ask: false }
```

Web page: https://kernstra.com/docs/web-sdk/config/print
