kicad:pdf_output_from_kicad_in_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
kicad:pdf_output_from_kicad_in_linux [2013/06/26 02:15] – [Using Postscript] mithat | kicad:pdf_output_from_kicad_in_linux [2013/06/30 05:35] – mithat | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Using SVG ===== | ===== Using SVG ===== | ||
- | The most reliable way I've found to get good PDFs from KiCad under Linux is to first plot to SVG and then convert the SVGs to PDF. Plotting to SVG isn't difficult: | + | The most reliable way I've found to get good PDFs from KiCad under Linux is to first plot to SVG and then use an external tool to convert the SVGs to PDF. Plotting to SVG in KiCad isn't difficult: |
- | * Eeschema: //File > Plot > Plot SVG// | + | * In Eeschema: //File > Plot > Plot SVG// |
- | * Pcbnew: //File > Print SVG// | + | * In Pcbnew: //File > Print SVG// |
- | However, converting these files to PDF isn' | + | However, converting these files to PDF isn' |
- | * Running this script will destroy any *.svg files in the working directory! That’s by design. I want to minimize the number of files that might be out of sync with the source, and keeping both SVGs and PDFs is just asking for trouble! | + | |
- | * The script relies on [[http:// | + | |
- | * The script relies on [[https:// | + | |
- | ===== Using Postscript ===== | + | <WRAP center round important 60%> |
+ | **Running this script will delete all *.svg files in the working directory!** | ||
- | Another alternative | + | This is by design. I want to minimize the number of files that might be out of sync with the source, and keeping both SVGs and PDFs is just asking |
- | | + | Put any SVG artwork you need to keep in a subdirectory or edit the script so it doesn' |
+ | </ | ||
+ | |||
+ | |||
+ | There are a few things more you should note: | ||
+ | * The script relies on [[http:// | ||
+ | * The script relies on [[https:// | ||
+ | |||
+ | ===== Using PostScript ===== | ||
+ | |||
+ | Another alternative is to use PostScript as an intermediate format. [[ps2pdf-d|Here]] is a (much shorter) script that uses Ghostscript' | ||
+ | |||
+ | | ||
* Pcbnew gives you much more control over what you can plot to SVG compared to PostScript. In particular, you can't plot composite layers to PostScript. | * Pcbnew gives you much more control over what you can plot to SVG compared to PostScript. In particular, you can't plot composite layers to PostScript. | ||
- | * Page-sizing is automatic (I think). | + | * Correct page-sizing |
I include the PostScript version here because there might be some limitations with SVGs that I've yet to discover. | I include the PostScript version here because there might be some limitations with SVGs that I've yet to discover. |
kicad/pdf_output_from_kicad_in_linux.txt · Last modified: 2016/02/06 18:21 by mithat