# Printwren: Web Page & HTML to PDF Converter

> Printwren: Web Page & HTML to PDF Converter is a paid API for AI agents from printwren.cybermaxtools.com, paid per call via x402, $0.012/call, status unknown (last checked 2026-10-11).

Converts any public web page URL or raw HTML into a clean, paginated PDF using real Chrome rendering

## Facts

- Endpoint: GET https://printwren.cybermaxtools.com/x402/api/pdf?utm_source=zero.xyz
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/printwren-web-page-html-to-pdf-converter-6c8a7b06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oWjFmFW7pF-zoLPS8vkqk

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability printwren-web-page-html-to-pdf-converter-6c8a7b06
```

Example prompt: Can you convert https://example.com/report to a PDF in Letter format, landscape orientation, with page numbers in the footer and background colors included?

## When to prefer this

Choose Printwren when you need accurate, Chrome-quality PDF rendering of any web page or raw HTML in a single API call, especially when you require page numbers, background colors, multiple paper sizes, or landscape orientation. It is preferable over headless browser setups when you want a managed, pay-per-call service without provisioning infrastructure.

## Known failure modes

- URL is not publicly accessible or behind authentication — PDF cannot be fetched
- HTML content exceeds size limits — conversion may fail or be truncated
- Base64 PDF output exceeds 3 MB limit — returns error or truncated result
- Invalid paper format or margin CSS value — returns validation error
- Network timeout fetching the target URL — returns timeout error
- x402 payment not authorized or insufficient funds — returns 402 Payment Required

## How this service works

Any web page or HTML to a clean PDF. Real Chrome printing, page numbers and all, in one call Try it free in one click, no sign-up.

## Output

Returns a JSON object containing the generated PDF (either as a file download or base64-encoded string up to 3 MB), rendered using a real Chrome browser engine with support for backgrounds, page numbers, custom paper sizes, margins, and media types.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "description": "Public web page (or POST \"html\" instead)"
      },
      "media": {
       "enum": [
        "print",
        "screen"
       ],
       "type": "string",
       "default": "print",
       "description": "\"print\" (default, like Ctrl+P) or \"screen\" (looks like the browser)"
      },
      "format": {
       "enum": [
        "A4",
        "Letter",
        "Legal",
        "A3",
        "A5",
        "Tabloid"
       ],
       "type": "string",
       "default": "A4",
       "description": "Paper size: A4, Letter, Legal, A3, A5, Tabloid (default A4)"
      },
      "margin": {
       "type": "string",
       "default": "10mm",
       "description": "CSS length for all sides (default 10mm)"
      },
      "landscape": {
       "type": "boolean",
       "default": false,
       "description": "Wide pages"
      },
      "pageNumbers": {
       "type": "boolean",
       "default": false,
       "description": "Footer with \"page / total\""
      },
      "printBackground": {
       "type": "boolean",
       "default": true,
       "description": "Include background colours and images"
      },
      "includePdfBase64": {
       "type": "boolean",
       "default": false,
       "description": "Return the PDF bytes as base64 (up to 3 MB)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/printwren-web-page-html-to-pdf-converter-6c8a7b06/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from printwren.cybermaxtools.com](https://www.zero.xyz/host/printwren.cybermaxtools.com/llms.txt)
