print_file
Print PDF, text, and other file formats to specified printers with options for copies, duplex printing, and orientation settings.
Instructions
Print a file to a specified printer. Supports PDF, text, and other common formats. Can specify number of copies and print options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copies | No | Number of copies to print (default: 1) | |
| file_path | Yes | Full path to the file to print | |
| options | No | Additional CUPS options (e.g., 'landscape', 'sides=two-sided-long-edge') | |
| printer | No | Printer name (use list_printers to see available printers). Optional if default printer is set. |
Input Schema (JSON Schema)
{
"properties": {
"copies": {
"default": 1,
"description": "Number of copies to print (default: 1)",
"type": "number"
},
"file_path": {
"description": "Full path to the file to print",
"type": "string"
},
"options": {
"description": "Additional CUPS options (e.g., 'landscape', 'sides=two-sided-long-edge')",
"type": "string"
},
"printer": {
"description": "Printer name (use list_printers to see available printers). Optional if default printer is set.",
"type": "string"
}
},
"required": [
"file_path"
],
"type": "object"
}