ticketmax

Print markdown files to an ESC/POS thermal receipt printer over TCP, USB, or serial. Supports headings, bold, underline, tables, images, QR codes, paper cuts, and buzzer.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ticketmax" with this command: npx skills add yatesdr/ticketmax

ticketmax

Print markdown files to a thermal receipt printer. Write a .md file with standard markdown and ticketmax renders it on any ESC/POS printer over TCP, USB, or serial.

Setup

Set PRINTER_ADDR to your printer's address:

# TCP:
export PRINTER_ADDR=192.168.1.100:9100
# USB:
export PRINTER_ADDR=/dev/usb/lp0
# Serial:
export PRINTER_ADDR=/dev/ttyUSB0

Usage

# Print a markdown file
ticketmax report.md

# Pipe from stdin
echo "# Hello World" | ticketmax -

# Check printer connectivity
ticketmax -status

# Print a test receipt
ticketmax -test

Flags

FlagDefaultDescription
-addr127.0.0.1:9100Printer host:port or device path (env: PRINTER_ADDR)
-baud9600Baud rate for serial connections
-timeout5sNetwork connection timeout
-width46Paper width in characters (1–120)
-spacing20Line spacing in printer units (0–255)
-testPrint test receipt and exit
-statusCheck connectivity and exit

Markdown Syntax

MarkdownPrinter Output
# HeadingBold, double-size, centered
## HeadingBold, double-width, centered
### HeadingBold
**bold text**Bold line
<u>text</u>Underlined line
---Separator line
| A | B |Two columns (right-aligned values)
| A | B | C |Three columns
![alt](path)Print image (PNG, JPEG, GIF)
```qrQR code block
<!-- cut -->Cut paper
<!-- beep -->Buzzer (1 beep)
<!-- beep N -->Buzzer (N beeps)

Example

To print a report, write markdown to a temp file and pipe it to ticketmax:

cat <<'EOF' > /tmp/report.md
# Morning Report

## Sales

| Item | Revenue |
| --- | --- |
| Widget A | $1,234 |
| Gadget B | $567 |

---

**Low stock: Widget A (3 units)**

```qr
https://dashboard.example.com
<!-- beep -->

EOF

ticketmax /tmp/report.md


Or pipe directly from stdin:

```bash
echo "# Alert\n\n**Server down at $(date)**\n\n<!-- beep 3 -->" | ticketmax -

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

run.dev — Local Dev Environment Manager

Local dev environment manager. Process management, automatic HTTPS domains, SSL certificates, reverse proxy, and AI crash diagnosis — single binary, zero con...

Registry SourceRecently Updated
Coding

ifly-image-understanding

iFlytek Image Understanding (图片理解) — analyze and answer questions about images using Spark Vision model. WebSocket API, pure Python stdlib, no pip dependencies.

Registry SourceRecently Updated
Coding

Civic Google

Use gog (Google CLI) without manual OAuth setup — Civic handles token management automatically

Registry SourceRecently Updated
2000Profile unavailable
Coding

Agent Browser.Skip

A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured co...

Registry SourceRecently Updated
2000Profile unavailable