kicad:pdf_output_from_kicad_in_linux
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
kicad:pdf_output_from_kicad_in_linux [2013/06/26 01:42] – created mithat | kicad:pdf_output_from_kicad_in_linux [2013/06/29 03:50] – [Using SVG] 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 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't nearly as straight forward. I use [[svg2pdf-d|this script]] to automate the conversion process. | + | However, converting these files to PDF isn't nearly as straight-forward. I wrote **[[svg2pdf-d|this script]]** to automate the conversion process. |
- | * Running this script will destroy any *.svg files in the working directory! That’s | + | |
+ | There are a few things you should note: | ||
+ | * //Running this script will destroy any '' | ||
* The script relies on [[http:// | * The script relies on [[http:// | ||
- | * The script relies on [[https:// | + | * The script relies on [[https:// |
+ | |||
+ | ===== Using PostScript ===== | ||
- | ===== Using Postscript ===== | + | Another alternative is to use PostScript as an intermediate format. [[ps2pdf-d|Here]] is a (much shorter) script that uses Ghostscript' |
+ | * The color mapping from SVGs (at least from Eeschema) is truer. | ||
+ | * 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. | ||
+ | * Correct page-sizing with SVG conversion is automatic (I think). | ||
+ | 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