Skip to content
HALOWERK

Bildwerk

print view check

Renders the HTML (or a fetched page with up to 3 inlined stylesheets) in a sandboxed headless Chrome context, scripts disabled and network blocked, first with screen media and then with print media at the printable width of the chosen paper (A3, A4, A5, Letter, Legal; margins in mm). It counts @media print rules and @page rules, finds text visible on screen but hidden in print, innermost elements wider than the printable area, position fixed/sticky elements, links whose target is neither in.

POST https://bild.halowerk.com/v1/print-view-check

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
htmlstringNoHTML of the page with inline or embedded CSS. External resources are not loaded. Give html or url.
urlstringNoPublic http(s) page, fetched once (robots.txt respected); up to 3 linked stylesheets are fetched and inlined.
paperstringNo
landscapebooleanNo
margin_mmnumberNoMargin on all four sides in millimetres.
print_backgroundbooleanNoPrint backgrounds (like the browser option); off by default as in browsers.
include_pdfbooleanNo
max_examplesintegerNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "html": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000000,
      "description": "HTML of the page with inline or embedded CSS. External resources are not loaded. Give html or url."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https?://",
      "maxLength": 2048,
      "description": "Public http(s) page, fetched once (robots.txt respected); up to 3 linked stylesheets are fetched and inlined."
    },
    "paper": {
      "type": "string",
      "enum": [
        "A4",
        "A5",
        "A3",
        "Letter",
        "Legal"
      ],
      "default": "A4"
    },
    "landscape": {
      "type": "boolean",
      "default": false
    },
    "margin_mm": {
      "type": "number",
      "minimum": 0,
      "maximum": 50,
      "default": 10,
      "description": "Margin on all four sides in millimetres."
    },
    "print_background": {
      "type": "boolean",
      "default": false,
      "description": "Print backgrounds (like the browser option); off by default as in browsers."
    },
    "include_pdf": {
      "type": "boolean",
      "default": false
    },
    "max_examples": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10
    }
  }
}

Open original schema

Published input example

{
  "html": "<!doctype html><html><head><style>nav{background:#222;color:#fff}@media print{nav{display:none}}</style></head><body><nav>Menu</nav><h1>Invoice 2026-114</h1><p>Total: 120.00 EUR</p><a href=\"https://halowerk.com/\">Terms</a></body></html>",
  "paper": "A4"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →