{
  "schemaVersion": "1.0",
  "item": {
    "slug": "cups-printer",
    "name": "Printer",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/odrobnik/cups-printer",
    "canonicalUrl": "https://clawhub.ai/odrobnik/cups-printer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/cups-printer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cups-printer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SETUP.md",
      "SKILL.md",
      "pyproject.toml",
      "scripts/print.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "cups-printer",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T02:31:24.272Z",
      "expiresAt": "2026-05-08T02:31:24.272Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cups-printer",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cups-printer",
        "contentDisposition": "attachment; filename=\"cups-printer-1.2.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "cups-printer"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/cups-printer"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/cups-printer",
    "agentPageUrl": "https://openagent3.xyz/skills/cups-printer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cups-printer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cups-printer/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Printer",
        "body": "Print images and PDF files to any CUPS printer. All settings (paper size, margins, resolution, duplex) are read from the printer's PPD file at runtime.\n\nEntry point: {baseDir}/scripts/print.py"
      },
      {
        "title": "Setup",
        "body": "See SETUP.md for prerequisites and platform notes."
      },
      {
        "title": "List Printers",
        "body": "python3 {baseDir}/scripts/print.py list\npython3 {baseDir}/scripts/print.py list --json\n\nShows available printers with status and which is the system default."
      },
      {
        "title": "Print a File",
        "body": "python3 {baseDir}/scripts/print.py print /path/to/file.pdf\npython3 {baseDir}/scripts/print.py print /path/to/image.png\npython3 {baseDir}/scripts/print.py print /path/to/file.pdf --printer \"Custom_Printer\"\npython3 {baseDir}/scripts/print.py print /path/to/file.pdf -o InputSlot=tray-2\npython3 {baseDir}/scripts/print.py print /path/to/file.pdf -o cupsPrintQuality=High -o sides=one-sided\npython3 {baseDir}/scripts/print.py print /path/to/file.pdf --json\n\nPDFs: Sent directly to the printer with correct media/duplex settings\nImages (PNG, JPG, GIF, BMP, TIFF, WebP): Converted to PDF at the printer's native DPI, centered within the printable area, then printed\n-o KEY=VALUE: Pass any CUPS option (repeatable). Use options to discover available settings (tray, quality, media type, duplex, color mode).\nSymlinks are followed but the resolved path must be inside the workspace or /tmp"
      },
      {
        "title": "Printer Info",
        "body": "python3 {baseDir}/scripts/print.py info\npython3 {baseDir}/scripts/print.py info --printer \"Custom_Printer\"\npython3 {baseDir}/scripts/print.py info --json\n\nShows manufacturer, model, resolution, color support, default paper, duplex mode, input trays, and all paper sizes with margins."
      },
      {
        "title": "Printer Options",
        "body": "python3 {baseDir}/scripts/print.py options\npython3 {baseDir}/scripts/print.py options --printer \"Custom_Printer\"\npython3 {baseDir}/scripts/print.py options --json\n\nShows all CUPS options with current values and available choices."
      },
      {
        "title": "Notes",
        "body": "Uses the system default printer unless --printer is specified\nAll commands support --json for machine-readable output\nImage conversion respects the printer's imageable area (margins) from the PPD\nOnly printable file types accepted: PDF, PNG, JPG, GIF, BMP, TIFF, WebP"
      },
      {
        "title": "Tray / Media Selection",
        "body": "Some PPDs have empty InputSlot command strings, so -o InputSlot=tray-2 alone may not work. Use the combined media keyword instead:\n\n# Print to a specific tray with media type\npython3 {baseDir}/scripts/print.py print envelope.pdf -o media=A6,tray-2,envelope\n\n# Format: -o media=SIZE,TRAY,TYPE\n# SIZE: A4, A5, A6, EnvDL, EnvC5, Letter, etc.\n# TRAY: tray-1, tray-2, auto\n# TYPE: stationery, envelope, cardstock, labels, etc.\n\nThis passes tray selection via IPP directly, bypassing the PPD."
      }
    ],
    "body": "Printer\n\nPrint images and PDF files to any CUPS printer. All settings (paper size, margins, resolution, duplex) are read from the printer's PPD file at runtime.\n\nEntry point: {baseDir}/scripts/print.py\n\nSetup\n\nSee SETUP.md for prerequisites and platform notes.\n\nCommands\nList Printers\npython3 {baseDir}/scripts/print.py list\npython3 {baseDir}/scripts/print.py list --json\n\n\nShows available printers with status and which is the system default.\n\nPrint a File\npython3 {baseDir}/scripts/print.py print /path/to/file.pdf\npython3 {baseDir}/scripts/print.py print /path/to/image.png\npython3 {baseDir}/scripts/print.py print /path/to/file.pdf --printer \"Custom_Printer\"\npython3 {baseDir}/scripts/print.py print /path/to/file.pdf -o InputSlot=tray-2\npython3 {baseDir}/scripts/print.py print /path/to/file.pdf -o cupsPrintQuality=High -o sides=one-sided\npython3 {baseDir}/scripts/print.py print /path/to/file.pdf --json\n\nPDFs: Sent directly to the printer with correct media/duplex settings\nImages (PNG, JPG, GIF, BMP, TIFF, WebP): Converted to PDF at the printer's native DPI, centered within the printable area, then printed\n-o KEY=VALUE: Pass any CUPS option (repeatable). Use options to discover available settings (tray, quality, media type, duplex, color mode).\nSymlinks are followed but the resolved path must be inside the workspace or /tmp\nPrinter Info\npython3 {baseDir}/scripts/print.py info\npython3 {baseDir}/scripts/print.py info --printer \"Custom_Printer\"\npython3 {baseDir}/scripts/print.py info --json\n\n\nShows manufacturer, model, resolution, color support, default paper, duplex mode, input trays, and all paper sizes with margins.\n\nPrinter Options\npython3 {baseDir}/scripts/print.py options\npython3 {baseDir}/scripts/print.py options --printer \"Custom_Printer\"\npython3 {baseDir}/scripts/print.py options --json\n\n\nShows all CUPS options with current values and available choices.\n\nNotes\nUses the system default printer unless --printer is specified\nAll commands support --json for machine-readable output\nImage conversion respects the printer's imageable area (margins) from the PPD\nOnly printable file types accepted: PDF, PNG, JPG, GIF, BMP, TIFF, WebP\nTips\nTray / Media Selection\n\nSome PPDs have empty InputSlot command strings, so -o InputSlot=tray-2 alone may not work. Use the combined media keyword instead:\n\n# Print to a specific tray with media type\npython3 {baseDir}/scripts/print.py print envelope.pdf -o media=A6,tray-2,envelope\n\n# Format: -o media=SIZE,TRAY,TYPE\n# SIZE: A4, A5, A6, EnvDL, EnvC5, Letter, etc.\n# TRAY: tray-1, tray-2, auto\n# TYPE: stationery, envelope, cardstock, labels, etc.\n\n\nThis passes tray selection via IPP directly, bypassing the PPD."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/odrobnik/cups-printer",
    "publisherUrl": "https://clawhub.ai/odrobnik/cups-printer",
    "owner": "odrobnik",
    "version": "1.2.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/cups-printer",
    "downloadUrl": "https://openagent3.xyz/downloads/cups-printer",
    "agentUrl": "https://openagent3.xyz/skills/cups-printer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cups-printer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cups-printer/agent.md"
  }
}