Print Button

A button that triggers window.print() to print or save the current page as PDF.

Surfaces
webgoogle-apps-script-webgoogle-apps-script-side-panelmcp-apps
Live preview
Fields
FieldType
labelstring (default "Print this page")required
alignleft, center, or rightrequired
sizesm, md, or lgrequired
accenthex colour for button backgroundrequired
iconboolean (default true) — show printer emoji prefixrequired
Example payload
{
  "type": "print_button",
  "align": "center",
  "size": "md",
  "accent": "#6366f1"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:print_button",
  "displayName": "Print Button",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/print_button",
  "capabilities": [
    "web",
    "google-apps-script-web",
    "google-apps-script-side-panel",
    "mcp-apps"
  ],
  "description": "A button that triggers window.print() to print or save the current page as PDF.",
  "representativeQueries": [
    "show a button to print or save page as PDF",
    "a button that triggers window.print() to print or save the current page as pdf.",
    "render a print button"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →