print_scan
Prints a saved scan by filename, letting you create copies or send an existing scanned file to a printer with optional copies, duplex, page ranges, paper, quality, and scaling settings.
Instructions
Print a saved scan by file name (see list_scans), e.g. to make a copy. Print options (all optional): copies, duplex, page_ranges ("1-3,5"), paper, quality, printer; scaling: auto (shrink only if too big), fit (fit the page, keep proportions), fill (fill the page, crop overflow), none (actual size). Usually fit for photos and screenshots, and left unset (printer default) for documents; ppi: override an image's resolution; options: other CUPS options such as {"InputSlot": "Manual", "number-up": "2"}; printer_options lists what the printer accepts.
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": {
"filename": "<filename>"
},
"name": "print_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ppi | No | ||
| paper | No | ||
| copies | No | ||
| duplex | No | ||
| options | No | ||
| printer | No | ||
| quality | No | ||
| scaling | No | ||
| filename | Yes | ||
| page_ranges | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |