User Tools

Site Tools


kicad:good_pdf_output_from_kicad

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
kicad:good_pdf_output_from_kicad [2013/05/20 14:36] mithatkicad:good_pdf_output_from_kicad [2013/05/20 16:44] mithat
Line 1: Line 1:
-====== PDF output from KiCad in Linux ======+====== Good PDF output from KiCad in Linux ======
  
-The best way I've found to get good PDF output from Eeschema under Linux is to first export to PostScript (//File > Plot > Plot PostScript//) and then use the ''ps2pdf'' command from ''[[http://www.ghostscript.com/|ghostscript]]'' to convert to PDF. (The Arch wiki has a [[https://wiki.archlinux.org/index.php/Ps2pdf|good writeup]] on `ps2pdf`.)+There are several ways to generate PDF documents of Eeschema files under Linux. The most reliable way I've found is to first plot to PostScript (//File > Plot > Plot PostScript//) and then use the ''ps2pdf''((The [[https://wiki.archlinux.org/index.php/Ps2pdf|Arch wiki]] has a good writeup on ''ps2pdf''.)) command from ''[[http://www.ghostscript.com/|ghostscript]]'' to convert to PDF: 
 + 
 +<code bash>ps2pdf -dOptimize=true -sPAPERSIZE=11x17 *.ps</code>
  
 The biggest problems with this are: The biggest problems with this are:
Line 8: Line 10:
   - It leaves you with both a PostScript and a PDF of the document(s), one of which is likely to get out of sync with the other, which may or may not be in sync with the actual schematic, etc.   - It leaves you with both a PostScript and a PDF of the document(s), one of which is likely to get out of sync with the other, which may or may not be in sync with the actual schematic, etc.
  
-To help with this, I use the script below. I drop a copy of it into the root of a KiCad project and edit the ''OPTIONS'' as needed for the project. Then whenever I want PDFs of my schematics, I export PostScript from Eeschema and then click on this script in my file manager. Note that running this script will destroy any ''*.ps'' files in the directory---that’s by design.+To help with this, I use the script below. I drop a copy of it into the root of a KiCad project and edit the ''OPTIONS'' as needed for the project. Then whenever I want PDFs of my schematics, I plot PostScript from Eeschema and then click on this script in my file manager. Note that running this script will destroy any ''*.ps'' files in the directory---that’s by design.
  
 <file bash makepdf> <file bash makepdf>
Line 28: Line 30:
 done</file> done</file>
  
-I’ve not tried the script on PostScript files other than those produced by Eeschema, but I’ve got no reason to think it won’t work on other PS files as well.+I’ve not tried the script on PostScript files other than those produced by Eeschema, but I’ve got no reason to think it won’t work on other PostScript files as well.
kicad/good_pdf_output_from_kicad.txt · Last modified: 2013/06/26 02:18 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki