From network-cups
Use when you want to scan the LAN for printers via mDNS/Bonjour.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin network-cupsThis skill uses the workspace's default tool permissions.
Scan the local network for printers advertising via mDNS (Bonjour/Avahi). Return a table of discovered devices.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Scan the local network for printers advertising via mDNS (Bonjour/Avahi). Return a table of discovered devices.
add-printerCheck avahi-daemon. Verify the service is running:
systemctl is-active avahi-daemon
If inactive, output:
avahi-daemon is not running.
To start it: sudo systemctl start avahi-daemon
To enable on boot: sudo systemctl enable avahi-daemon
Stop here until the user confirms the service is running.
Browse for printers. Run with a 5-second timeout:
timeout 5 avahi-browse -rt _ipp._tcp _ipps._tcp _printer._tcp 2>/dev/null || true
Parse lines matching = (result/resolved) into a table.
Extract fields. For each result line, extract (using regex or field split):
name (service name, before @)hostname (host field, or derive from full address.local record)IPv4 (address field, IPv4 only)port (port number)model (from ty= TXT field, e.g. "HP LaserJet Pro M404n")rp (resource path, e.g. /ipp/print, from TXT field)Format as table:
Name Host IPv4 Port Model Path
Office-HP printer01.local 192.168.1.50 631 HP LaserJet Pro M404n /ipp/print
...
Handle empty result. If no printers found after 5 seconds:
No printers found via Bonjour.
Possible reasons:
- Printer does not support mDNS/Bonjour.
- Printer is on a different VLAN or network segment.
- Bonjour advertisement is disabled on the printer.
Try: discover-printers-arp (ARP-based network scan)
discover-printers-arp.