Print Button

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

Surfaces
gasweb
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": [
    "gas",
    "web"
  ],
  "description": "",
  "representativeQueries": [
    "show a A button that triggers window.print() to print or save the current page as PDF",
    "render a print button"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

The renderer is open source. 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 apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →