/lan-print-scan:profile-printerfrom lan-print-scan
Record a discovered printer in the machine-local registry with an id, human name, site and description, plus a full IPP capability profile (ink, media, duplex, colour modes, resolutions, formats, firmware). Use after discovery finds a printer, when the user says "profile/remember/save this printer", or to refresh a profile after a firmware update or a move.
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.
The registry is what every other skill reads. It lives at
``printers.json in the data dir (override: $LAN_PRINT_SCAN_DIR).
It is machine-local because it holds LAN addresses, so it is never committed.
Run discover-printers first unless the user has given an IP or host.
Discovery gives a model and an address. It can't tell you what the user will call it later ("the printer upstairs"). Ask for these together in one question, offering defaults:
| Field | Default |
|---|---|
--id | suggested_id from discovery, e.g. hp-deskjet-5200 |
--name | the model, tidied |
--site | home. Use office or another site name for printers elsewhere |
--description | where it is, what it's for, what paper is loaded |
Network printer (pulls the mDNS record and a live IPP profile):
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/printctl.py" registry add \
--id hp-deskjet-5200 --name "HP DeskJet 5200" --site home \
--description "Home — colour inkjet, duplex, scanner; A4 loaded" \
--host 192.168.1.50 # mDNS host, IP or UUID from discover
An existing CUPS queue whose printer isn't reachable right now (USB, another site):
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/printctl.py" registry add \
--id hp-laserjet-m14 --name "HP LaserJet M14-M17" --site office \
--description "…" --cups-queue HP_LaserJet_M14-M17 --model "HP LaserJet M14-M17"
registry add refuses a duplicate id. To change fields, use
registry set --id X --field description=… --field site=…. Don't remove and re-add,
because that loses installed_on history. To refresh the capability profile only,
run probe <id> and show it.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/printctl.py" registry show --id <id>
Report ink levels, media loaded, duplex/colour, and whether it can scan. Then offer
add-printer-to-machine if it has no cups_queue yet.
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