RubyPDF Blog Open Source,PDF,Windows Convert PDF to DXF with Free Open Source Software pstoedit and Ghostscript

Convert PDF to DXF with Free Open Source Software pstoedit and Ghostscript

pstoedit+ghostscript the last version pstoedit and ghostscript
2.install pstoedit and ghostscript
3 run command pstoedit -f dxf in.pdf out.dxf(make sure pstoedit can find the path of gswin32c.exe)

pstoedit+gsview the last version pstoedit and gsview
2.install pstoedit and gsview
3. use pstoedit as a plugin of gsview

pstoedit is a tool converting PostScript and PDF files into various other formats suported by different drawing editors. As a prerequesite it needs GhostScript to be installed (binary installation is sufficient).

Currently pstoedit can generate the following major formats:

  • Tgif .obj format (for tgif version >= 3)
  • .fig format for xfig
  • pdf – Adobe’s Portable Document Format
  • gnuplot format
  • Flattened PostScript (with or without Bezier curves)
  • DXF – CAD exchange format
  • LWO – LightWave 3D
  • RIB – RenderMan
  • RPL – Real3D
  • Java 1 or Java 2 applet
  • Idraw format (in fact a special form of EPS that idraw can read)
  • Tcl/Tk
  • HPGL
  • AI (Adobe Illustrator) (based on – not a real
    pstoedit driver – see notes below and manual)
  • Windows Meta Files (WMF) (Windows  only)
  • Enhanced Windows Meta Files (EMF) (Windows, but also Linux/Unix if
    libemf is available)
  • OS/2 meta files (OS/2 only)
  • PIC format for troff/groff
  • MetaPost format for usage with TeX/LaTeX
  • LaTeX2e picture
  • Kontour
  • GNU Metafile (plotutils / libplot)
  • Skencil (
  • Mathematica
  • via ImageMagick to any format supported by ImageMagick
  • SWF
  • CNC G code
  • VTK files for ParaView and similar visualization tools

From above cheat, we know pstoedit supports generate DXF, but it needs the help of Ghostscript or GsView

Ghostscript is the name of a set of software that provides:
* An interpreter for the PostScript (TM) language and the Adobe Portable Document Format (PDF — sometimes confused with Acrobat, Adobe’s PDF browser/editor product), and
* A set of C procedures (the Ghostscript library) that implement the graphics and filtering (data compression / decompression / conversion) capabilities that appear as primitive operations in the PostScript language and in PDF.

GPL Ghostscript

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.