Aaron Chartier

InkJet - Bluetooth Thermal Printer

開発v1.0.3
作者:Aaron Chartier更新日 2026-05-11全 8 バージョン · 最新版の公開日 2026-03-28inkjet@clawhub_aaronchartier/inkjet
スクリプトツール

AlphaMoatによると、2026-09時点でInkJet - Bluetooth Thermal Printerのダウンロード数は3,269、スター数は4で、AIスキル全体5,078件中3,478位、開発では577件中448位です。

インストール数
234
ダウンロード数
3269
スター数
4
総合順位
#3,478
全体の上位 69% · 開発の上位 78%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗100325742
SkillHub ↗23432694—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

このスキルは、inkjet CLI を使ってテキスト・Markdown・ファイル・画像・QR コードを安価な Bluetooth 感熱プリンター(X6h、GT01、cat printers など)に macOS から印刷します。プリンターは電源オンのみ必要でペアリングは不要——inkjet は BLE で直接接続します。改行エスケープ、高忠実度な --markdown レンダリング、--size 調整、stdin パイプ入力、--json の機械可読出力、グローバル/プロジェクト設定(.inkjet/config.json)、--address による複数プリンター制御(役割別ルーティングや負荷分散)に対応し、子ども向けワークシートのベストプラクティス(## 見出し、手動採番、余白たっぷり)も含みます。

資料公開日 2026-10-27

できること

  • レシート・ToDo リスト・Markdown 整形コンテンツを1コマンドで印刷
  • QR コード(WiFi 設定文字列など)を生成して印刷、--size 75 でもスマホで読み取り可能
  • --address で複数プリンター間を役割別ルーティングまたはラウンドロビン分散

使う場面

  • macOS から Bluetooth 感熱プリンターへテキスト・画像・QR コードを印刷したいとき
  • 低コストで高頻度の物理出力(レシート・ラベル・ワークシート・ログ)が必要なとき
  • 複数の感熱プリンターの設定と印刷ルーティングを管理したいとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

『注文104:コーヒー1杯』と書いたレシートを印刷して
WiFi の QR コードを生成して印刷して
この README を inkjet でキッチンのプリンターに印刷して

月次の推移

ダウンロード数3269
1941265433672026-03 · ダウンロード数 20392026-05 · ダウンロード数 24962026-06 · ダウンロード数 26652026-07 · ダウンロード数 29612026-08 · ダウンロード数 31242026-09 · ダウンロード数 326926-0326-09
スター数4
3452026-03 · スター数 42026-05 · スター数 42026-06 · スター数 42026-07 · スター数 42026-08 · スター数 42026-09 · スター数 426-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093269—4
2026-083124+5.5%4
2026-072961+11.1%4
2026-062665+6.8%4
2026-052496—4
2026-032039—4

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

4.8 KB・ClawHub v1.0.3
---
name: inkjet
description: "Print text, images, and QR codes to a wireless Bluetooth thermal printer from a MacOS device. Use `inkjet print` for output, `inkjet scan` to discover printers."
homepage: https://github.com/AaronChartier/inkjet
metadata: {"openclaw":{"emoji":"🖨️","requires":{"bins":["inkjet"],"bluetooth":true},"install":[{"id":"pip","kind":"pip","package":"inkjet","label":"Install (pip)"},{"id":"brew","kind":"brew","package":"aaronchartier/tap/inkjet","label":"Install (Homebrew)"}]}}
---
# Thermal Printer Skill
Print text, images, and QR codes to cheap Bluetooth thermal printers (X6h, GT01, cat printers) via `inkjet` CLI. Thermal paper is extremely low-cost, enabling high-frequency physical output. No emojis in print content.
## Install
```bash
すべて表示(全 97 行)
inkjet --version           # Check if already installed; skip install if this succeeds
pip install inkjet         # Universal
brew install aaronchartier/tap/inkjet  # macOS (takes longer, compiles Pillow)
```
## Setup
Printer must be ON but does NOT need Bluetooth pairing — `inkjet` connects directly via BLE.
```bash
inkjet scan               # Discover printers, set default
inkjet whoami             # Check current configuration
```
## Print Text
Print strings directly. Supports `\n` escape sequences for multiline output. No emojis.
```bash
inkjet print text "Hello, World!"
inkjet print text "Line 1\nLine 2\nLine 3"
inkjet print text "Big Text" --size 72
```
## Print Markdown
Render high-fidelity formatted content using Markdown syntax. Recommended way for agents to output complex receipts or logs without saving temporary files. No emojis.
```bash
inkjet print text "# Order 104\n- 1x Coffee\n- 1x Donut" --markdown
```
## Print Files
Output contents of a local file. Supports plain text (`.txt`) and Markdown (`.md`).
```bash
inkjet print file ./receipt.txt
inkjet print file ./README.md
```
## Print Images
```bash
inkjet print image ./photo.png
inkjet print image ./logo.jpg --dither
```
## Print QR Codes
Generates and prints QR codes. Smartphone scanners reliably read codes down to `--size 75`.
```bash
inkjet print qr "https://github.com/AaronChartier/inkjet"
inkjet print qr "WiFi:S:NetworkName;P:example123;;" --size 75
```
## Paper Control
```bash
inkjet feed 100           # Feed paper forward (steps)
```
## Configuration
Manage settings globally or per project. If `.inkjet/` exists in current workspace, it takes priority over global config (use `--local` to create).
```bash
inkjet config show                    # Show all settings
inkjet config set printer <UUID>      # Set default device
inkjet config set energy 12000        # Set darkness (local project)
inkjet config alias kitchen <UUID>    # Save a friendly name
```
### Config JSON Schema (direct filesystem edit)
Bypass CLI and modify behavior by writing directly to config JSON. Priority: `./.inkjet/config.json` > `~/.inkjet/config.json`. Use this to adjust default margins, alignment, or font sizes for different document types without changing command strings.
```json
{"default_printer":"UUID","printers":{"alias":"UUID"},"energy":12000,"print_speed":10,"quality":3,"padding_left":0,"padding_top":10,"line_spacing":8,"align":"left","font_size":18}
```
## Multi-Printer Orchestration
If the environment (e.g., `TOOLS.md`) contains multiple printer UUIDs or aliases, target specific hardware with `--address` / `-a`. Use `-a default` for primary device.
```bash
inkjet print text "Main Status" -a office      # Role-based routing
inkjet print text "Order #104" -a kitchen
inkjet print qr "https://example.com" -a default
inkjet print file ./log.txt -a "UUID_EXT_1"    # Direct UUID targeting
```
Strategies: **Role-Based Routing** (route content by hardware role, e.g. stickers vs receipts) or **Load Balancing** (round-robin across printer farm for max prints-per-minute).
## Piping Content (stdin)
Stream data from another command's output without creating temp files. Use `-` to read from stdin.
```bash
echo "Receipt line 1" | inkjet print text -    # Text piping
curl -s "https://example.com/logo.jpg" | inkjet print image -  # Image piping
```
## JSON Output
Commands support `--json` for machine-readable output (useful for scripting).
```bash
inkjet scan --json
inkjet whoami --json
```
## Worksheet Best Practices
Thermal paper is narrow and cheap. For children's worksheets or handwriting:
1. **Size for Visibility:** Use `##` headers — standard text is too small for kids to read/write comfortably
2. **Manual Numbering:** Avoid Markdown lists (`1. content`) — they auto-indent and waste horizontal space. Use `## 1) 5 + 2 = ___`
3. **Cheap Paper Rule:** Use `\n\n\n` between items — thermal paper is free, give writing room
4. **Tear-off Line:** End with `---` for a clean tear-off that doesn't cut off the last problem
## Troubleshooting
If printer not found:
```bash
inkjet doctor             # Diagnose connection issues

開発の人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。