/lan-print-scan:print-documentfrom lan-print-scan
Write a document for paper (a letter, list, checklist, note, session summary, blocker note or test page), typeset it with Typst, show it for approval, and print it. Use when the user asks to "make a printout", "print me a note/letter/checklist", "print a summary of this session", or "print a test page".
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.
Drafts go in ~/printing/drafts/. Once printed, move both the .typ and .pdf to
~/printing/done/.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/printctl.py" render --list
| Template | For |
|---|---|
session-summary | what an agent session accomplished |
blocker | something that needs a human |
note-to-self | a reminder worth having on paper |
test-page | proves the queue and all four colour channels work. TITLE = printer name, BODY = ink line(s) from status |
Variables are «AGENT_NAME» (default "Claude Code"), «MODEL_NAME» (your model id),
«DATE» (default now), «TITLE» and «BODY» (Typst markup). Write a long body to a
file and pass it with --body-file:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/printctl.py" render session-summary \
--var MODEL_NAME=<model-id> --var "TITLE=…" --body-file /path/body.typ
render refuses to compile if any «VAR» is left unfilled. To add a private template, or
override a built-in, drop a .typ with the same placeholders into templates/ in the data dir.
Write the .typ yourself with these defaults:
#set page(paper: "a4", margin: 2.5cm)
#set text(font: ("IBM Plex Sans", "DejaVu Sans"), size: 11pt)
#set par(justify: true, leading: 0.65em)
#box(width: 0.8em, height: 0.8em, stroke: 0.5pt) before each line.#set text(lang: "he", dir: rtl, font: ("Noto Sans Hebrew", "DejaVu Sans")).Compile with typst compile in.typ out.pdf.
pdftotext out.pdf - | head -40 and the page count. For anything
visual, render a preview (pdftoppm -r 50 -png -f 1 -l 1 out.pdf prev) and look at
it yourself first.print skill:
printctl.py print out.pdf -p <id> [--sides long] [--mono].To print an existing file (PDF, image, text, Markdown, Office), skip this skill and
use print.
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