summaryrefslogtreecommitdiffstats
path: root/share/extensions/ps2pdf.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/ps2pdf.cmd')
-rw-r--r--share/extensions/ps2pdf.cmd10
1 files changed, 10 insertions, 0 deletions
diff --git a/share/extensions/ps2pdf.cmd b/share/extensions/ps2pdf.cmd
new file mode 100644
index 000000000..81e8ba813
--- /dev/null
+++ b/share/extensions/ps2pdf.cmd
@@ -0,0 +1,10 @@
+REM BEGIN
+@echo off
+REM edit %GSDIR% to match the ghostscript installation directory
+set GSDIR=%PROGRAMFILES%\gs\gs8.51
+set GSBINDIR=%GSDIR%\bin
+set GSLIBDIR=%GSDIR%\lib
+set PATH=%GSBINDIR%;%GSLIBDIR%;%PATH%
+echo %PATH%
+ps2pdf.bat %1 -
+REM END \ No newline at end of file