← All skills
Tencent SkillHub · Communication & Collaboration

Printer

Print images and PDFs to any CUPS printer. PPD-aware: reads paper sizes, margins, resolution, and duplex at runtime. Use when the user wants to print files (...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Print images and PDFs to any CUPS printer. PPD-aware: reads paper sizes, margins, resolution, and duplex at runtime. Use when the user wants to print files (...

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SETUP.md, SKILL.md, pyproject.toml, scripts/print.py

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

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.

Upgrade existing

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.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.2.2

Documentation

ClawHub primary doc Primary doc: SKILL.md 8 sections Open source page

Printer

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. Entry point: {baseDir}/scripts/print.py

Setup

See SETUP.md for prerequisites and platform notes.

List Printers

python3 {baseDir}/scripts/print.py list python3 {baseDir}/scripts/print.py list --json Shows available printers with status and which is the system default.

Print a File

python3 {baseDir}/scripts/print.py print /path/to/file.pdf python3 {baseDir}/scripts/print.py print /path/to/image.png python3 {baseDir}/scripts/print.py print /path/to/file.pdf --printer "Custom_Printer" python3 {baseDir}/scripts/print.py print /path/to/file.pdf -o InputSlot=tray-2 python3 {baseDir}/scripts/print.py print /path/to/file.pdf -o cupsPrintQuality=High -o sides=one-sided python3 {baseDir}/scripts/print.py print /path/to/file.pdf --json PDFs: Sent directly to the printer with correct media/duplex settings Images (PNG, JPG, GIF, BMP, TIFF, WebP): Converted to PDF at the printer's native DPI, centered within the printable area, then printed -o KEY=VALUE: Pass any CUPS option (repeatable). Use options to discover available settings (tray, quality, media type, duplex, color mode). Symlinks are followed but the resolved path must be inside the workspace or /tmp

Printer Info

python3 {baseDir}/scripts/print.py info python3 {baseDir}/scripts/print.py info --printer "Custom_Printer" python3 {baseDir}/scripts/print.py info --json Shows manufacturer, model, resolution, color support, default paper, duplex mode, input trays, and all paper sizes with margins.

Printer Options

python3 {baseDir}/scripts/print.py options python3 {baseDir}/scripts/print.py options --printer "Custom_Printer" python3 {baseDir}/scripts/print.py options --json Shows all CUPS options with current values and available choices.

Notes

Uses the system default printer unless --printer is specified All commands support --json for machine-readable output Image conversion respects the printer's imageable area (margins) from the PPD Only printable file types accepted: PDF, PNG, JPG, GIF, BMP, TIFF, WebP

Tray / Media Selection

Some PPDs have empty InputSlot command strings, so -o InputSlot=tray-2 alone may not work. Use the combined media keyword instead: # Print to a specific tray with media type python3 {baseDir}/scripts/print.py print envelope.pdf -o media=A6,tray-2,envelope # Format: -o media=SIZE,TRAY,TYPE # SIZE: A4, A5, A6, EnvDL, EnvC5, Letter, etc. # TRAY: tray-1, tray-2, auto # TYPE: stationery, envelope, cardstock, labels, etc. This passes tray selection via IPP directly, bypassing the PPD.

Category context

Messaging, meetings, inboxes, CRM, and teammate communication surfaces.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs1 Scripts1 Files
  • SKILL.md Primary doc
  • SETUP.md Docs
  • scripts/print.py Scripts
  • pyproject.toml Files