Knowledgebase
Lisp Routine: PDFIN.LSP - PDF file In
Posted by - NA - on 21 August 2015 02:24 PM

Lisp routine to import a pdf file into a drawing using Ghostscript and pstoedit, as Lines or Polylines. This routine will only work with PDF files containing Vector data, not Raster data.

Please read the lisp file carefully for full instructions and troubleshooting tips, there are two variables that you may need to tweak.

1) Download and install the 32-bit version of Ghostscript here:
http://www.ghostscript.com/download/


The download is a file named something like "gs871w32.exe" where 871 is the current version number and may change without notice.
Note: you must use the 32-bit version even if you have a 64-bit system, because the pstoedit plugin is 32-bit only.

2) Download and install the pstoedit plugin for Ghostscript here:
http://www.helga-glunz.homepage.t-online.de/pstoedit/


The download is a file named something like "pstoeditsetup350.exe" where 350 is the current version number and may change without notice.

3) Download and install the 32-bit version of GSView here:
http://www.gsview.com/downloads.html


The download is a file named something like "gsv49w32.exe" where 49 is the current version number and may change without notice.
Note: GSView is not actually required for this lisp routine, but to you can use it to confirm the pstoedit installation is working by running GSView and going to Edit | Convert to Vector Format, to ensure you can manually convert a PDF file to a DXF file)



Attachments 
 
 PDFIN.lsp (3.59 KB)
(3 vote(s))
Helpful
Not helpful

Comments (0)