ai/skills/print/SKILL.md
Print files on Mac or Linux using the `lp` command with sensible defaults (double-sided, black & white). Supports PDF, markdown (via md-to-pdf conversion), and common print options like copies, page ranges, color, and printer selection.
npx skillsauth add steveclarke/dotfiles printInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Print files on Mac or Linux using the lp command with sensible defaults.
To print a markdown file, first convert it to PDF using the /md-to-pdf skill:
~/.claude/skills/md-to-pdf/scripts/md-to-pdf.mjs doc.md
~/.claude/skills/print/scripts/print doc.pdf
rm doc.pdf # Delete if PDF was just for printing
The /md-to-pdf skill handles Mermaid diagrams, syntax highlighting, and page numbers.
| Setting | Default | Rationale | |---------|---------|-----------| | Duplex | Double-sided (long-edge) | Save paper | | Color | Black & white | Save toner on color printers |
These defaults can be overridden per-request.
# Print a file with defaults (double-sided, b&w)
lp -o sides=two-sided-long-edge -o ColorModel=Gray <file>
# Or use the helper script
~/.claude/skills/print/scripts/print <file>
| Option | Flag | Example |
|--------|------|---------|
| Printer | -d <name> | -d HP_LaserJet_4001 |
| Copies | -n <count> | -n 3 |
| Pages | -P <range> | -P 1-5 or -P 1,3,7 |
| Single-sided | -o sides=one-sided | Override duplex |
| Color | -o ColorModel=Color | Override b&w |
| Landscape | -o landscape | Rotate 90° |
| Fit to page | -o fit-to-page | Scale to fit |
lpstat -p -d
Shows all printers and the system default (marked with system default destination:).
lpstat -o # Show pending jobs
lpstat -W completed # Show completed jobs
cancel <job-id> # e.g., cancel HP_LaserJet_4001-852
cancel -a # Cancel all jobs
The print script at ~/.claude/skills/print/scripts/print wraps lp with the defaults:
# Basic usage
print document.pdf
# Specify printer
print document.pdf -d Brother_HL_L3280CDW_series
# Multiple copies
print document.pdf -n 3
# Single-sided color
print document.pdf --single-sided --color
# Page range
print document.pdf -P 1-5
Run print --help for all options.
--color to override b&w defaultThe printer name has changed. Run lpstat -p to see current names.
lpstat -o # Check status
cancel <job-id> # Cancel stuck job
cupsenable <printer-name> # Re-enable if disabled
Not all printers support duplex. Check printer capabilities:
lpoptions -p <printer-name> -l | grep -i sides
content-media
Download content from YouTube including transcripts, captions, subtitles, music, MP3s, and playlists. Use when the user provides a YouTube URL or asks to download, transcribe, or get content from YouTube videos or playlists.
development
Apply VueUse composables where appropriate to build concise, maintainable Vue.js / Nuxt features.
development
Review UI for visual consistency, layout structure, and design system compliance. Two modes — code review (check view files against patterns) and visual audit (screenshot all routes and analyze). Use when reviewing UI code, checking consistency, auditing views, or when user says "review the UI", "check consistency", "UI audit", "design review".
tools
Improves typography by fixing font choices, hierarchy, sizing, weight, and readability so text feels intentional. Use when the user mentions fonts, type, readability, text hierarchy, sizing looks off, or wants more polished, intentional typography.