Skip to content

PrintBlocksLet your agents print things

Let agents compose beautiful thermal prints from reusable blocks via MCP, or let apps and services print via a conventional API.

Three example print templates showing goal progress, a budget, and a habit review

Build a document by placing blocks in the order they should appear on paper:

sh
curl -X POST "http://localhost:3000/print" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $API_TOKEN" \
  --data '{
    "blocks": [
      {
        "type": "text",
        "content": "Daily progress",
        "align": "center",
        "bold": true
      },
      { "type": "line", "character": "-" },
      {
        "type": "row",
        "left": { "content": "Tasks completed" },
        "right": { "content": "4 / 5", "bold": true }
      },
      {
        "type": "progress",
        "variant": "bar",
        "value": 4,
        "max": 5
      }
    ]
  }'

Explore all available blocks →