Agent generates
The model emits semantic PTDF blocks: headings, paragraphs, lists, tables and more.
Your agent creates the content. PasteToPrint turns it into a structured, human-reviewable document — ready to edit, draw on, print or export.
/api/v2/documents201 Created{
"document": {
"schemaVersion": "ptp.document/1",
"blocks": [
{ "type": "heading", "level": 1, "text": "Report" },
{ "type": "paragraph", "text": "..." }
]
}
}
Structured JSON in→Editor URL out
Give users a structured document they can review, edit and finish in their browser.
The model emits semantic PTDF blocks: headings, paragraphs, lists, tables and more.
The API validates the document, applies the requested or default template and creates a temporary session.
The user reviews the document, confirms the import when required, then edits text, adds drawings, shapes or images, and chooses when to print or export.
Each integration uses validated PTDF documents and lets the user review and edit the result in PasteToPrint.
Managed PTDF can fill an empty editor with Undo available. An editor that already contains content requires import confirmation. Printing and export always require a user action.
Integration guide