Someone asked me in the forum how to convert the PDF format to the DXF format and then back to the DXF format, so that AUTO Cad could continue to modify it. I thought of PSTOEDIT, which I just downloaded yesterday, I was still trying to delete it. Today I found that it could actually do this job. It has no purpose for me. Let's put it here for anyone who needs it.
Next we will introduce the relevant procedures:
Pstoedit
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 ).
Convert PostScript (PS) and PDF into other formats by using Ghostscript (more formats can be supported through the plug-in ):
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 besuppliers 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 ps2ai. ps-not a real
Pstoedit driver-see notes below and manual)
- Windows Meta Files (WMF) (Windows 9x/NT only)
- Enhanced Windows Meta Files (EMF) (Windows 9x/NT only)
- 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)
- Skencel (http://www.skencil.org
)
- Mathematica
- Via ImageMagick to any format supported by ImageMagick
- SWF
Ghostscript
An interpreter for
PostScript language and for PDF (a parser for PostScript and PDF)
Many virtual ghost printer programs rely on it to convert postscript to PDF. The open-source software is called Ghost Creator.
After ghostscript and pstoedit are installed, use the following command line to export todxf:
Pstoedit-f dxf in1_out. dxf
In addition, pstoedit can be used as the GsView plug-in. For how to integrate pstoedit, read this tutorial in Chinese:
Http://www.xdcad.net/techcenter/article/htmlcache/1031.html
Japan Version:
Http://mosoku.fc2web.com/jw_win/pdftodxf.html
As for the other usage of pstoedit, you can see the help in English, but it is not very good at the next level, so you are too lazy to translate.