A cross-platform local printer CLI that lets AI assistants drive printing operations on Windows, macOS, and Linux. Works with OpenClaw / Cursor / Claude and other AI Skill systems.
- 🌍 Cross-platform: Windows, macOS, Linux (CUPS)
- 🖨️ Printer Management: List printers, query status and capabilities
- 📄 File Printing: Print with customizable options (paper, color, duplex, etc.)
- 📊 Job Management: Track and cancel print jobs
- 🤖 AI-ready: CLI + SKILL.md for seamless AI integration
# Install globally (recommended)
uv tool install git+https://github.com/NullYing/printer-ai-skills.git
# Or local development
git clone https://github.com/NullYing/printer-ai-skills.git
cd printer-ai-skills
uv syncprinter-ai printers # List printers
printer-ai status 1 # Check printer status
printer-ai print file.pdf # Print a file
printer-ai job-status 123 # Check job statusUse with OpenClaw for the best AI printing experience:
# 1. Install the Skill
npx clawhub@latest install printer-ai-skills
# 2. Install the CLI tool
uv tool install git+https://github.com/NullYing/printer-ai-skills.git
# 3. Verify
printer-ai printersOnce installed, AI will automatically read SKILL.md and use CLI commands to manage your local printers — list printers, print files, check job status, and more.
For Cursor or other AI tools that support Skills:
-
Install the CLI tool:
uv tool install git+https://github.com/NullYing/printer-ai-skills.git
-
Add Skill to your project: Copy
SKILL.mdto your project's.cursor/skills/directory, or reference it from the repository. -
Verify installation:
printer-ai printers
The AI will follow the workflow defined in SKILL.md to operate your printers.
| Command | Description |
|---|---|
printers [--json] |
List all printers |
status [INDEX] [--json] |
Get printer status |
attrs [INDEX] |
Get printer capabilities |
print FILE [--index N] [--options JSON] |
Print a file |
jobs [--printer NAME] [--json] |
List print jobs |
job-status JOB_ID |
Get job status |
cancel-job JOB_ID |
Cancel a job |
MIT License
Need a persistent MCP server instead of a CLI tool? Check out printer-ai-mcp. It runs a FastMCP-based server that AI assistants connect to over HTTP, with Docker deployment support. Best suited for always-on environments or multi-client setups.