/lan-print-scan:print-labelfrom lan-print-scan
Print a label on any label printer behind the LAN print hub, choosing the printer by target (e.g. a NIIMBOT for small die-cut button labels, a Brother P-touch for tape). The hub renders text + icon server-side. Use on "print a label", "label this on the P-touch", "use the niimbot", "which label printers do we have".
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.
For labels use label-printer:print-label (and label-printer:tape-labels for tape). This skill is only the hub transport.
Label design belongs to the label-printer plugin (fonts, Hebrew/RTL, icons, layouts, styles, templates):
use its skills to design and preview the label. The hub is one transport: use this skill when the chosen
printer is registered on the hub, or when the user asks for the hub. Prefer --png FILE with a label rendered
by label-printer; the hub's server-side text/icon render (below) is the simple fallback and has no Hebrew/RTL support.
All label printers sit behind one HTTP print queue (LAN Print Hub). The client is stdlib-only:
H="${CLAUDE_PLUGIN_ROOT}/scripts/hubctl.py"
python3 "$H" targets # printers + live health (kind: label | document)
python3 "$H" label -p <target> -t "Line 1\nLine 2" [-i ICON] [-n COPIES] --preview /tmp/p.png # render only
python3 "$H" label -p <target> -t "Line 1\nLine 2" [-i ICON] [-n COPIES] # print, waits for the result
python3 "$H" label -p <target> --png FILE # an existing image
python3 "$H" jobs -l 10 # history
-p takes a target id or alias (targets lists both). Without -p the hub uses its default label printer.
Hub URL: $PRINT_HUB, else hub.json in the plugin data dir ({"print_hub": "http://host:9190"}); site.md names it.
driver: niimblue).driver: ptouch-bridge). Length grows with the text; height is the loaded tape.--preview /tmp/p.png, then Read the PNG. Thin outline icons print faintly: prefer filled icons, or drop the icon.--preview. 3. Report the job state (done / failed + error).Tape economy (length_mm sizing), batching several tape labels into one job (tape_batch.py) and resuming after the tape runs out
moved to the label-printer plugin on 2026-11-29: use label-printer:tape-labels. For labels in general use
label-printer:print-label. hubctl.py label ... --opt length_mm=65 still works from here as the hub transport.
-i Iconify id (prefix:name, bare name = material-symbols:). --opt k=v passes any hub label field, e.g.
NIIMBOT layout=top|left|icon|text, margin_mm=1, offset_mm=-2, media=40x30, density=4, border=true;
any target invert=true. Per-printer defaults (media, margin, offset calibration) live in the hub's targets.yaml,
so normally pass none.
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