Ghostscript execution failed: Error: /undefinedfilename on Russian locale

Hi.


PDFCreator can’t work on Russian locale, if user name typed in cyrillic characters. Here is log message:

2015-06-05 11:24:42.5198 [Error] pdfforge.PDFCreator.Core.Jobs.AbstractJob.RunJob: Executing Ghostscript failed
2015-06-05 11:34:14.1602 [Error] pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.RunJobWork: Ghostscript execution failed: Error: /undefinedfilename in (C:\\Users\\\320\234\320\260\320\272\321\201\320\270\320\274 \320\241\320\270\321\202\320\275\320\270\320\272\320\276\320\262\\AppData\\Local\\Temp\\2\\PDFCreator\\Spool\\21985134B3014109AE4D41B379C9402D.ps)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:1209/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)–
Current allocation mode is local
Last OS error: No such file or directory


2015-06-05 11:34:14.2012 [Error] pdfforge.PDFCreator.Core.Jobs.AbstractJob.RunJob: Executing Ghostscript failed

I know this error, because I wrote the same application (virtual Ghostscript printer for inserting barcodes on documents). You can solve it by setting temp path without cyrillic characters, because Ghostscript can’t properly understand it. In .NET I use Environ(“TEMP”) function. It replaces cyrillic letters with some code and this path contains only latin letters.

PS. If you want to make Russian localization, send me a message. May be I can do this, if it is not very time consuming task.

Hi Maxim,


thanks for pointing this out, although the Environ(“TEMP”) function seems to be outdated, but we will look for a similar solution. If you’d like to help with Russian localization, you could register to translate.pdfforge.org ; the Russian localization is already beeing worked on and about half way done.

best regards,