Send raw printer data
print_rawSends ready-made printer-native files (ZPL, ESC/POS, PCL, PostScript) untouched to raw port 9100 or IPP as application/octet-stream.
Instructions
Send a ready-made file untouched: ZPL for label printers, ESC/POS for receipt printers, PCL, PostScript. Goes to the raw port 9100 when there is one, otherwise over IPP as application/octet-stream. Only for files already in the printer's own language.
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": {
"source": "<source>"
},
"name": "print_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | File path | |
| printer | No |