Export Sch Ps
export_sch_psExport KiCad schematic pages to PostScript files via kicad-cli, supporting page selection, themes, and drawing sheet overrides.
Instructions
Export a schematic to PostScript via kicad-cli (sch export ps), one PS per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, no-background-color, and page selection. schematicPath is REQUIRED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Comma list of page numbers to print (blank = all pages) | |
| theme | No | Color theme to use (default: schematic settings) | |
| defineVar | No | Project variable overrides as 'KEY=VALUE' strings | |
| outputDir | Yes | Output directory for the PostScript files | |
| defaultFont | No | Default font name | |
| drawingSheet | No | Path to a drawing sheet override | |
| blackAndWhite | No | Black and white only | |
| schematicPath | Yes | Path to the .kicad_sch (required) | |
| noBackgroundColor | No | Avoid setting a background color (regardless of theme) | |
| excludeDrawingSheet | No | No drawing sheet |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |