Printer control

From autonomous-ai/autonomous-intern · View interactive version

Printer control is an AI agent skill from the GitHub repository autonomous-ai/autonomous-intern. Discovers and controls network printers — print files, check ink/toner levels, manage print queue, scan documents, and configure printer settings. Use when the user asks to print, scan, check printer status, or manage print jobs. Requires printer info from onboarding.json discovered_devices.

How to use this skill

Skill file

Printer Control

Quick Start

Read {baseDir}/onboarding.json → discovered_devices.printers to get saved printer list. If empty, run a quick network scan to find printers. Use IPP/CUPS commands for printing and queue management.

Workflow

  1. Load printer list from onboarding.json → discovered_devices.printers
  2. If no printers saved or user says "scan printers" → run discovery:
  1. Identify the target printer (if multiple, ask user to pick)
  2. Execute the requested operation (print, scan, status, queue)
  3. Report result with clear status

Examples

Example 1: Print a Document

Input: "Print the quarterly report PDF"

Output:

🖨️ Printing: quarterly-report.pdf

Printer: HP LaserJet Pro M404 (192.168.1.50)
Pages: 12
Color: Black & White
Duplex: Yes (double-sided)
Status: ✅ Sent to print queue (Job #347)

Estimated completion: ~2 minutes

Example 2: Check Printer Status

Input: "How's the printer doing?"

Output:

🖨️ Printer Status

| Printer | IP | Status | Toner/Ink | Queue |
|---|---|---|---|---|
| HP LaserJet Pro M404 | 192.168.1.50 | ✅ Ready | Black: 45% | 0 jobs |
| Canon PIXMA G6020 | 192.168.1.52 | ✅ Ready | C:80% M:65% Y:70% K:90% | 2 jobs |

All printers online and operational.

Example 3: Scan a Document

Input: "Scan a document from the HP printer"

Output:

📄 Scanning from HP LaserJet Pro M404

Format: PDF
Resolution: 300 DPI
Color: Auto-detect

Status: ✅ Scan complete
Saved to: ~/Documents/Scans/scan-2026-03-23-143022.pdf

Tools

Error Handling

Rules

Output Template

🖨️ [Action]: [Document/Status]

Printer: [name] ([IP])
[Action-specific details]

Status: [Success / Failed / Queued]
[Additional context if needed]
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.