/lan-print-scan:discover-printers-arpfrom lan-print-scan
Use when mDNS discovery fails or the user wants to scan all devices on the subnet.
Ships in lan-print-scan. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scan the local subnet using ARP to find all active devices, then identify likely printers by MAC OUI (vendor prefix).
--interface — specific network interface (e.g. eth0; auto-detected if unset)--vendor-filter — filter by vendor name (e.g. "HP" to show only HP devices)Auto-detect interface. If --interface not provided, derive the primary LAN interface:
IFACE=$(ip -o -4 route show to default | awk '{print $5; exit}')
echo "Scanning on interface: $IFACE"
Stop if no default route found; ask user to specify --interface manually.
Check for root/sudo. Test if arp-scan is installed:
command -v arp-scan >/dev/null || { echo "arp-scan not found. Install with: sudo apt-get install arp-scan"; exit 1; }
If not installed, stop and show the apt command.
Prompt for sudo if needed. If not running as root, show:
This scan requires sudo privilege to access raw network sockets.
Running: sudo arp-scan --localnet -i <interface>
Run ARP scan. Execute:
sudo arp-scan --localnet -i "$IFACE" 2>/dev/null
Parse output and identify printers. For each line with an IP and MAC, cross-reference the MAC OUI (first 3 octets) against a built-in vendor list:
08:00:69 → Xerox08:52:BA → HP1C:23:62 → HP4C:80:93 → Brother74:6F:F7 → Epson5C:F9:38 → CanonA4:B6:D3 → Kyocera00:00:48 → Ricoh00:1A:80 → Samsung00:14:85 → LexmarkFormat as table:
IP MAC Vendor Likely Printer?
192.168.1.50 08:52:BA:xx:xx:xx HP Yes
192.168.1.75 4C:80:93:xx:xx:xx Brother Yes
192.168.1.100 52:54:00:xx:xx:xx QEMU No
...
Apply vendor filter. If --vendor-filter provided, show only matching rows.
What SKILL.md sets; muted values are Claude Code's defaults
network-cups@danielrosehill is listed by theantagonist2020/samr — review the source before installing
npx claudepluginhub theantagonist2020/samr --plugin network-cups15 skills in this plugin
/add-printer-to-machineAdd a registered printer as a CUPS queue on this computer (driverless IPP Everywhere, no vendor driver), optionally as the default, or produce the exact command to add it on another Linux/macOS machine on the LAN. Use when the user says "add the printer to this/that computer", "install the printer", "set up printing on X", or printing fails because no queue exists./check-cups-firewallUse when CUPS connections are timing out and you suspect ufw firewall is blocking ports./clear-jobsClean out the print queue - list pending and stuck print jobs on this computer and on the print server its queue forwards to, cancel the stuck ones (or all of them), and say why they stuck. Use on "clear the print queue", "clean out the printer queue", "cancel my print jobs", "nothing is printing", "the printer is stuck", or when a job sits in "printing" with "filter failed".Other plugins' skills for the same job