45 lines
1.4 KiB
Markdown
45 lines
1.4 KiB
Markdown
---
|
|
name: memobird
|
|
description: Print text, images, and notes directly to the Memobird thermal printer. Use this when the user wants to print a physical note, a shopping list, or a small image to the Memobird at its local IP.
|
|
---
|
|
|
|
# 🐦 Memobird Printer
|
|
|
|
Direct printing to the Memobird thermal printer on the local network.
|
|
|
|
## 🚀 Usage
|
|
|
|
Use the `scripts/memobird_print.py` tool. By default, it targets the static IP `192.168.10.165`.
|
|
|
|
### 1. Print simple text
|
|
```bash
|
|
./scripts/memobird_print.py --text "Hello from Gemini!"
|
|
```
|
|
|
|
### 2. Print styled text
|
|
```bash
|
|
./scripts/memobird_print.py --text "IMPORTANT NOTE" --big --bold
|
|
```
|
|
|
|
### 3. Print an image
|
|
```bash
|
|
./scripts/memobird_print.py --image "path/to/image.png"
|
|
```
|
|
|
|
### 4. Print a separator line
|
|
```bash
|
|
./scripts/memobird_print.py --line THICK
|
|
```
|
|
|
|
## 🛠️ Options
|
|
- `--text`: The string to print.
|
|
- `--image`: Path to a local image file (converted to 1-bit monochrome automatically).
|
|
- `--ip`: Override the default IP (192.168.10.165).
|
|
- `--big`, `--bold`, `--underline`: Text styling.
|
|
- `--line`: Print a line (`THICK`, `THIN`, or `DASH`).
|
|
|
|
## 💡 Tips
|
|
- **Character Limit:** Thermal paper is narrow (384px wide). Long lines of text will wrap.
|
|
- **Image Size:** Large images might fail if they take too long to transfer. Keep them reasonably sized.
|
|
- **Connection:** Ensure the printer is powered on and connected to the same WiFi network.
|