Export Sch Pdf
export_sch_pdfExport KiCad .kicad_sch to PDF. Options include page selection, themes, drawing sheets, black-and-white, and metadata.
Instructions
Export a schematic to PDF via kicad-cli (sch export pdf), exposing the full option set (drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, the PDF property-popup / hierarchical-link / metadata excludes, 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 | |
| outputPath | Yes | Output PDF file path | |
| 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) | |
| excludePdfMetadata | No | Do not generate PDF metadata from AUTHOR and SUBJECT variables | |
| excludeDrawingSheet | No | No drawing sheet | |
| excludePdfPropertyPopups | No | Do not generate property popups in PDF | |
| excludePdfHierarchicalLinks | No | Do not generate clickable links for hierarchical elements in PDF |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |