From hp5200-printer
Send a black-and-white print job to the HP DeskJet 5200. Accepts a file path, free-form content, or a named template (session-summary, blocker, note-to-self). Saves color ink by forcing monochrome.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin hp5200-printerThis skill uses the workspace's default tool permissions.
Send a monochrome print job to the HP DeskJet 5200. Forces grayscale to conserve the tri-color cartridge.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Send a monochrome print job to the HP DeskJet 5200. Forces grayscale to conserve the tri-color cartridge.
Read context/printer-config.md (in this plugin's directory) for the CUPS printer name and IP.
This skill may be invoked from any repository. To find the templates and config, locate the plugin's installed path:
PLUGIN_DIR=$(find ~/.claude/plugins/cache/danielrosehill/hp5200-printer -maxdepth 1 -type d | sort -V | tail -1)
Print it directly — no Typst compilation needed for PDF, image, or text files.
Create a Typst document from scratch under /tmp/hp5200-print/.
Use one of the templates from $PLUGIN_DIR/templates/. Available templates:
| Template | File | Use case |
|---|---|---|
| Session Summary | session-summary.typ | End-of-session recap |
| Blocker | blocker.typ | Document a blocker for human attention |
| Note To Self | note-to-self.typ | Quick printed reminder or thought |
All templates use «VARIABLE» placeholders. Before compiling, replace them:
| Variable | Value |
|---|---|
«AGENT_NAME» | The AI agent's name (e.g. "Claude Code") |
«MODEL_NAME» | The model (e.g. "Opus 4.6") — use whatever model you actually are |
«DATE» | Current date/time formatted as "13 April 2026, 15:30" |
«TITLE» | Document title — ask the user or infer from context |
«BODY» | The main content — from user input or generated |
Write the file directly with variables already substituted (preferred over sed for escaping safety).
mkdir -p /tmp/hp5200-print
typst compile /tmp/hp5200-print/doc.typ /tmp/hp5200-print/doc.pdf
pdftotext /tmp/hp5200-print/doc.pdf - | head -40
Show the user the extracted text and ask for approval, then:
lp -d HP-DeskJet-5200 -o print-color-mode=monochrome /tmp/hp5200-print/doc.pdf
This forces the printer to use only the black cartridge, saving color ink.
Common options:
-n 3-o sides=two-sided-long-edge-o landscape.typ file directly.