IEEE CAS Workshop on
Wireless Communications and Networking
DOC --> PDF conversion without Adobe Acrobat Distiller
- 1. Download ghostscript package, see for example
http://www.ghostscript.com
and
http://www.ghostscript.com/article/11.html
(select 'sourceforge' link and download gs700w32.exe)
- 2. Install ghostview (executable gs700w32 will install itself)
- 3. With ghostview you can do the conversion from PostScript to PDF.
In order to get the suitable postscript file from your .doc, you'll
need to print the .doc into FILE using POSTSCRIPT printer driver.
If you have no postscript printer driver installed, you'll need to
install one now (any true postscript printer driver will do the job).
Note that you do not need a postscript printer attached to your computer.
- 4. To make the postscript --> PDF conversion easier, one batch file is needed.
Create a batch file, named gs2pdf.bat, which has one line
\path_to_gs\bin\gswin32c -sDEVICE=pdfwrite -sOutputFile=%1.pdf -dQUIET -dBATCH -dNOPAUSE -dCompatibilityLevel=1.2 %1.ps
You'll need to edit the \path_to_gs to the location where you just
installed the ghostview in step 2. Copy this batch file somewhere in
your search PATH.
- 5. The actual postscript --> PDF conversion is carried out as follows:
Assuming that you have created from p1234.doc the postscript file
p1234.ps, giving a command
gs2pdf p1234
will create the PDF file p1234.pdf from p1234.ps.