pstoedit for Win64 calls gswin32c.exe (not present on a 64 bit system)
converts PostScript or PDF files to other vector graphics formats
Brought to you by:
wglunz
Downloaded pstoedit (version 3.75) for Win64.
Of course, my gs is also for Win64, hence its name is "gswin64c.exe".
Trying pstoedit presents an error message saying (among other) "running-win command line: gswin32c -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dDELAYSAFER -dNOEPS C:/Users/SHORTDIRNAME/AppData/Local/Temp/psin2"
Of course there is no gswin32...
Workaround: Make a copy of gswin64c.exe and rename it to gswin32c.exe
Hi Peter,
this is not expected. Could you please send me the output of
pstoedit -v -gstest
Normally pstoedit calls ghostscript via its DLL and not EXE. The Exe is only used as a fall-back approach.
Best Regards
Wolfgang
I'm getting exactly the same result, although I can get round it by using the -gs option to point at the correct executable.
pstoedit: version 3.71 / DLL interface 108 (built: Apr 1 2018 - release build - MS VC++ 1912 - 64-bit) : Copyright (C) 1993 - 2018 Wolfgang Glunz
pstoedit : path to myself:pstoedit 38 C:\Program Files\pstoedit\pstoedit.DLL
loading plugin: C:\Program Files\pstoedit\drvlplot.dll
creating Dynloader for C:\Program Files\pstoedit\drvlplot.dll
loading dynamic library C:\Program Files\pstoedit\drvlplot.dll completed successfully
loading plugin: C:\Program Files\pstoedit\drvswf.dll
creating Dynloader for C:\Program Files\pstoedit\drvswf.dll
loading dynamic library C:\Program Files\pstoedit\drvswf.dll completed successfully
loading plugin: C:\Program Files\pstoedit\stddrivers.dll
creating Dynloader for C:\Program Files\pstoedit\stddrivers.dll
loading dynamic library C:\Program Files\pstoedit\stddrivers.dll completed successfully
Could not open plug-in directory (C:\Program Files\pstoedit/../lib/pstoedit or didn't find any plugin there
Looking up where to find the PostScript interpreter.
didn't find value in registry, trying gsview32.ini
looking in C:\Users\martinb\gsview32.ini
nothing found in gsview32.ini file - using find_gs to lookup latest version of Ghostscript in registry
find_gs couldn't find GS in registry
Value found is:gswin32c
Looking up specific options for the PostScript interpreter.
First trying registry for common/GS_LIB
didn't find value in registry, trying gsview32.ini
looking in C:\Users\martinb\gsview32.ini
still not found an entry - now trying GS_LIB env var.
GS_LIB not set
Value returned:
now calling the interpreter via: gswin32c -dDELAYBIND -dWRITESYSTEMDICT -dESTACKPRINT -dNODISPLAY -dNOEPS -c quit
running-win command line: gswin32c -dDELAYBIND -dWRITESYSTEMDICT -dESTACKPRINT -dNODISPLAY -dNOEPS -c quit
GPL Ghostscript 9.54.0 (2021-03-30)
Copyright (C) 2021 Artifex Software, Inc. All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
*** WARNING - you have selected SAFER, indicating you want Ghostscript
to execute in a safer environment, but at the same time
have selected DELAYBIND. Unless you use this option with
care (and specifically, remember to call .bindnow) it is
possible that malicious code may be able to evade the
limited security offered by the SAFER option.
*** WARNING - you have selected SAFER, indicating you want Ghostscript
to execute in a safer environment, but at the same time
have selected WRITESYSTEMDICT. Unless you use this option with
care and specifically, remember to execute code like:
"systemdict readonly pop"
it is possible that malicious code may be able to evade the
limited security offered by the SAFER option.
This is fixed in later releases. Current release is 3.77.