print_label
Prints text labels on a Brother P-touch printer using tape, with options for multiple copies, font size, alignment, and fixed label length.
Instructions
Print a text label on the Brother P-touch printer (uses tape).
text: label text; use "\n" for multiple lines.
copies: number of identical labels (each cut separately).
length_mm: fixed label length; omit to fit the text.
font_size: pixel size; omit for the largest that fits the tape.
font: font name or path (default Arial Bold).
align: left, center or right.
printer: model, serial or tape width ("24mm") when several are attached. Returns what was printed and a preview image.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "print_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | ||
| text | Yes | ||
| align | No | center | |
| copies | No | ||
| printer | No | ||
| font_size | No | ||
| length_mm | No |