Print a test page
print_test_pagePrints a calibration sheet with millimetre rulers, frames, color and gray ramps, and Thai/English text to test selected print settings before a real job.
Instructions
One calibration sheet: millimetre rulers, frames, color and gray ramps, Thai and English text at several sizes. Accepts the normal print settings to test them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "print_test_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | Extra CSS for text, markdown or html | |
| dpi | No | Overrides the resolution chosen by quality | |
| font | No | Body font for text and markdown. Default handles Thai and English | |
| n_up | No | Pages per sheet | |
| align | No | ||
| color | No | auto (default) sends pages with no color as gray, saving color ink. black_white is pure 1-bit look | |
| gamma | No | 1 = unchanged | |
| pages | No | e.g. "1-3,5,last", "-2" (second to last), "10-8" (reversed) | |
| paper | No | A4, A5, A6, letter, legal, 4x6, 5x7, photo-l, DL, C5, or custom like "100x150mm", "4x6in". Default: what the printer has loaded. | |
| scale | No | fit (default) whole page; shrink only if too big; fill crop to cover; stretch ignore aspect; actual 100% | |
| copies | No | ||
| duplex | No | Two-sided: long = book, short = notepad | |
| footer | No | Same format as header, e.g. "|{page}/{pages}|" | |
| header | No | Left|Center|Right. Tokens: {page} {pages} {date} {time} {name} | |
| invert | No | ||
| mirror | No | Horizontal flip, for iron-on transfers | |
| preset | No | Saved settings: document, draft, eco, sharp_text, photo, photo_borderless, booklet_2up, handout_4up, poster_vivid, scan_cleanup, or your own | |
| rotate | No | Extra clockwise rotation | |
| backend | No | auto (default): direct network, else Windows driver | |
| collate | No | true 1,2,3,1,2,3 (default). false 1,1,2,2,3,3 | |
| dry_run | No | ||
| printer | No | Name, id, IP or alias, partial match works. Omit: the server picks. | |
| quality | No | ||
| reverse | No | Print last page first | |
| sharpen | No | ||
| wait_ms | No | Extra wait before capturing a web page | |
| contrast | No | -100 to 100 | |
| darkness | No | Ink density, -100 lighter to 100 darker | |
| job_name | No | ||
| page_set | No | ||
| password | No | For protected PDFs | |
| border_mm | No | Thickness of a printed frame around the content | |
| ink_saver | No | Percent lighter overall | |
| margin_mm | No | Blank margin on all sides | |
| threshold | No | Cutoff for black_white, default 128 | |
| watermark | No | Text across each sheet | |
| borderless | No | Edge to edge, if the printer supports it | |
| brightness | No | -100 to 100 | |
| javascript | No | Run page scripts. Default: on for URLs and html files, off for inline content | |
| paper_type | No | plain, inkjet, photo, glossy, or a printer keyword | |
| saturation | No | -100 gray to 100 vivid | |
| line_height | No | ||
| n_up_gap_mm | No | Gap between pages on a sheet | |
| orientation | No | ||
| border_color | No | #rrggbb or a name: black, red, blue, gray... | |
| border_style | No | ||
| font_size_pt | No | ||
| line_numbers | No | For text sources | |
| overlay_font | No | Font for header, footer, watermark | |
| paper_source | No | Tray: auto, main, manual, or a name from printer_status | |
| allow_network | No | Fetch remote resources. Same defaults as javascript | |
| border_gap_mm | No | Space between frame and content | |
| margin_top_mm | No | Top margin | |
| overlay_color | No | ||
| scale_percent | No | Exact zoom, overrides scale | |
| cell_border_mm | No | Frame around each page in n-up | |
| margin_left_mm | No | Left margin | |
| margin_right_mm | No | Right margin | |
| overlay_size_pt | No | ||
| watermark_angle | No | Default -45 | |
| watermark_color | No | ||
| margin_bottom_mm | No | Bottom margin | |
| print_background | No | Web page backgrounds, default true | |
| watermark_opacity | No | Percent, default 15 | |
| watermark_size_pt | No | ||
| allow_private_network | No | Required to print a URL on this LAN or PC (router, intranet, localhost) or a \\server\share path. Off by default so a page or link cannot reach internal systems |