Question
When I try to export a batch plot through the Productivity Toolbox menu, I get the following warning:
Warning: Executable “C:Program filesgsgs9.20bingswin64c.exe” does not exist.
I believe I have the correct path, and the executable is in that path.
Solution
Although you may have the correct directories in the path to your executable, if the path to the executable uses backslashes (\), you will get the warning message. The forward slash (/) needs to be used when defining the path to the executables. Please check configuration in:
C:/Cadence/SPB_17.2/share/pcb/toolbox/config/pdfprint.cfg
To resolve this issue, change the entries from:
FREEPDF_PRINTER "FreePDF"
FREEPDF_COMMAND "C:\Program Files\gs\gs9.20\bin\gswin64c.exe" -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
OTHER_PRINTER "MyPDFWriter"
OTHER_COMMAND "C:\Program Files\gs\gs9.20\bin\gswin64c.exe" -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
To:
FREEPDF_PRINTER "FreePDF"
FREEPDF_COMMAND "C:/Program Files/gs/gs9.20/bin/gswin64c.exe" -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
OTHER_PRINTER "MyPDFWriter"
OTHER_COMMAND "C:/Program Files/gs/gs9.20/bin/gswin64c.exe" -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
Alternatively, double backslashes can be used:
C:\\Program Files\\gs\\gs9.20\\bin\\gswin64c.exe