Skip to Content
OpenPreview

Printing

Print just the document from OpenPreview, at its own page sizes, with Ctrl+P, the toolbar or print().

The toolbar's print button, Ctrl/⌘ + P while the viewer has focus, or ref.current.print() print the document, never your page or the viewer's controls. The printable copy is built in a hidden frame, so your app needs no print styles.

FormatOn paper
PDFEvery page re-rendered for print at about 190 dpi, form fields included, at its own size
Word, ODTOne sheet per page at each section's paper size; landscape sections stay landscape
PowerPoint, ODPOne sheet per slide; hidden slides skipped
Excel, ODS, CSVThe sheet on screen, scaled to the page width, and to one page when it nearly fits
TIFFEach page at its scanned size when the file states a resolution
ImagesThe picture fitted to the paper
HTML, emailThe page or message in a script-free sandbox
Text, code, Markdown, JSON, notebooksThe content, wrapped and paginated by the browser