Skip to content

Exporting to PDF

Export is done by the agent itself — you don't use a browser print dialog.

"Export this as a PDF"

The agent renders the current document to a real PDF and the download link appears in chat. Because export uses the same headless-browser engine that renders the live preview, the PDF reflects exactly what you see — charts, diagrams and 3D scenes included.

Canvas exports PDF only — there's no Word export, because you don't need one to make changes. You can already edit text directly on the canvas: use Select element or Edit text in the toolbox to fix wording in place, so the document itself is the editable artifact. See Editing: by chat & in place.

How export actually works

A Canvas document can contain arbitrary CSS, web fonts, flex/grid layouts, and script-driven content (Chart.js, Three.js, Mermaid). The only way to reliably capture what you see is to load the document in a real browser, let scripts run and layout settle, then use that browser's own print-to-PDF. That's what happens under the hood — the same shared browser instance used for render verification, so no second browser process is spun up per export.

Paper size and orientation

The agent chooses a sensible page size and orientation on its own, the way a designer would — a report defaults to A4 portrait, a deck to 16:9 landscape, a poster to A3. It declares the size in the document itself, and export auto-detects whichever size was actually declared:

SizeTypical use
A4 (default)reports, contracts, letters
US LetterUS/Canada documents
LegalUS legal documents
A3posters, large diagrams, brochures
A5booklets, flyers, handouts

Orientation is decided the same way — portrait by default, landscape by writing the page wider than it is tall. You can always ask for something specific:

"Make this landscape instead"

"Use A3 for the poster"

Page breaks survive export

A document styled as printed pages has to survive a real print engine, not just look right while scrolling. The agent writes page blocks with explicit break-after: page rules so a multi-page document exports with page breaks matching what you see on screen — no overflow drifting into the next page, no headings stranded at the bottom of the previous one. Edits to a page block are re-checked against real page boundaries automatically.

Vietnamese and CJK text

Exports render Vietnamese and CJK glyphs correctly rather than falling back to placeholder characters.

Expiry and permanence

An export is a point-in-time snapshot — a download link that expires automatically after 24 hours. The artifact itself (the HTML document) is what's permanent; you can always regenerate a fresh PDF from it at any time.

Next steps

Built by Maxrall, Inc.