Ticketmax

v0.1.3

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...

0· 114·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for yatesdr/ticketmax.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Ticketmax" (yatesdr/ticketmax) from ClawHub.
Skill page: https://clawhub.ai/yatesdr/ticketmax
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: PRINTER_ADDR
Required binaries: ticketmax
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install ticketmax

ClawHub CLI

Package manager switcher

npx clawhub@latest install ticketmax
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name, description, required binary (ticketmax), and required env var (PRINTER_ADDR) all match the stated goal of sending output to an ESC/POS printer over TCP/USB/serial.
Instruction Scope
SKILL.md instructs the agent to run the ticketmax CLI, set PRINTER_ADDR, and pipe markdown into the tool. It does not request reading unrelated files or additional environment variables, nor does it direct data to unexpected external endpoints.
Install Mechanism
Install uses `go install github.com/yatesdr/ticketmax@latest` which will fetch and compile code from the project's GitHub. This is a normal install path for a Go CLI, but it does execute remote source at build time — a standard supply-chain consideration. The host (github.com) is a well-known release host.
Credentials
Only PRINTER_ADDR is required (primaryEnv). That is proportionate to a tool that needs the printer device or network address. No unrelated secrets or config paths are requested.
Persistence & Privilege
Skill is not always-enabled and does not request elevated or cross-skill configuration. It only requires a binary and an env var; autonomous invocation is allowed but is the platform default and not combined with other red flags.
Assessment
This skill appears coherent and does what it says: it runs a CLI to print markdown to ESC/POS printers. Before installing, consider: (1) `go install` will fetch and build code from the GitHub repo — review the upstream source or pinned version if you need high assurance; (2) the binary will be able to access device paths (e.g., /dev/ttyUSB0) and network printer addresses — avoid setting PRINTER_ADDR to sensitive network endpoints; (3) printing may reveal confidential text you pipe into it, so confirm outputs before printing. If you require stronger supply-chain guarantees, install from a reviewed release or vendor-provided binary rather than `@latest`.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🖨️ Clawdis
Binsticketmax
EnvPRINTER_ADDR
Primary envPRINTER_ADDR

Install

Go
Bins: ticketmax
latestvk97ab6qeetb4y0k5mvkvpdynex844d7s
114downloads
0stars
4versions
Updated 3w ago
v0.1.3
MIT-0

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 -

Comments

Loading comments...