print_document
Print HWP documents with control over page range, specific pages, copies, printer, and collation.
Instructions
Print the document.
Args: doc_id: Document ID from open_document range: 0=all, 1=current page, 2=specified pages from_page: Start page (when range=2) to_page: End page (when range=2) copies: Number of copies printer_name: Target printer name collate: Collate copies
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": {
"doc_id": "<doc_id>"
},
"name": "print_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | ||
| copies | No | ||
| doc_id | Yes | ||
| collate | No | ||
| to_page | No | ||
| from_page | No | ||
| printer_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||