How to export KiCAD schematic PDF using kicad-cli
Since KiCAD 7.0, you can use the kicad-cli
command line tool to export a colored schematic PDF from a KiCAD project.
First, find out what the filename of the main schematic file is. Typically, if your project is named MyPCB.kicad_pro
, your main schematic file is named MyPCB.kicad_sch
.
Now you can export the schematic PDF using
kicad-cli sch export pdf MyPCB.kicad_sch
This will output, for example
Plotted to '/home/uli/MyPCB/MyPCB.pdf'.
Done.
The PDF file from the output contains your schematic PDF.