Skip to content

Printing & download ​

Both are available as toolbar actions, instance methods (print() / download()), and keyboard shortcuts (Ctrl/⌘ P / Ctrl/⌘ S).

ts
const viewer = ref<InstanceType<typeof PdfViewer>>()

await viewer.value.print()
await viewer.value.download()

Download streams the document with filled form values baked in when present.

Turn either action off with enablePrint / enableDownload:

vue
<PdfViewer :enable-print="false" :enable-download="false" />

Rotation isn't preserved

Both print and download use the document's original page orientation – the current on-screen rotation is not reflected in the printout or the saved file.