/lan-print-scan:scanfrom lan-print-scan
Scan a document or photo from a networked printer's flatbed (or ADF) over eSCL/AirScan to PDF, PNG, JPEG or TIFF. Use when the user says "scan this", "scan to PDF", or wants a page from the glass digitised.
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.
If a network scanner service is configured (hub.json key network_scanner, or $NETWORK_SCANNER; see site.md),
use it: the server does the eSCL work and keeps the file.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/hubctl.py" scan [--format pdf|png|jpeg] [--resolution 150|300|600] \
[--color color|gray|bw] [--name NAME] -o ~/printing/scans/NAME.pdf --delete
-o downloads the scan, --delete removes the server copy afterwards (the server prunes after 30 days anyway).
Without a service, scan directly from this machine:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/printctl.py" scan [-p <id>] \
[--format pdf|png|jpeg|tiff] [--resolution 300] [--mode Color|Gray] \
[--source Flatbed|ADF] [--area a4|letter|a5|WxH] [-o FILE | --outdir DIR]
The default is a 300 dpi colour PDF of the full glass into ~/printing/scans/.
Scanning uses nothing up, so go ahead once the user says the page is on the glass.
If they haven't said so, ask once.
| User wants | Use |
|---|---|
| a document to keep or send | --format pdf --mode Gray --area a4, 300 dpi |
| a photo | --format png --mode Color, 600 dpi |
| something for OCR | --format png --mode Gray, 300 dpi |
| quick and small | 150 dpi |
-p matches the registry entry's IP or model against scanimage -L. Without -p,
the only network scanner is used. The SANE device name embeds the printer's mDNS
service name (e.g. airscan:e0:HP DeskJet 5200 series [XXXXXX] (2)), which changes
if the printer renames itself. That's why the script finds it fresh each time instead
of storing it.
The DeskJet 5200 has a flatbed only. For several pages, scan each to its own PDF and ask the user to swap the page between scans, then join them:
pdfunite p1.pdf p2.pdf p3.pdf combined.pdf
scanimage -L lists nothing: check sane-airscan is installed and the printer is
awake (printctl.py status <id>). eSCL is on 8080 (http) and 443 (https) for the
HP. discover shows _uscan / _uscans when it's advertised./etc/sane.d/airscan.conf under [devices]:
"Home HP" = http://<ip>:8080/eSCL (needs sudo; ask first).After scanning, report the path and size, and ask where to file it if it's a keeper.
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