0

我使用的是 8.71 版,我的操作系统是 Windows XP SP3。我得到的错误如下:

Error: /undefinedfilename in --showpage--
Operand stack:
   1   true
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval-
-   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   fa
lse   1   %stopped_push   1878   1   3   %oparray_pop   1877   1   3   %oparray_
pop   1861   1   3   %oparray_pop   --nostringval--   --nostringval--   2   1
3   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--
  1761   0   9   %oparray_pop   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1165/1684(ro)(G)--   --dict:1/20(G)--   --dict:75/200(L)--   --dict:75
/200(L)--   --dict:108/127(ro)(G)--   --dict:288/300(ro)(G)--   --dict:22/25(L)-
-   --dict:6/8(L)--   --dict:26/40(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 8.71: Unrecoverable error, exit code 1

Close this window with the close button on the title bar or the system menu.

我传递的 sOutputFile 的值大约是 234 个字符,%03d因此有效生成的文件名是 237 个字符。

4

2 回答 2

1

当需求需要愚蠢的长路径时, subst是你的朋友

于 2010-09-29T06:22:18.570 回答
0

我认为是因为 OS/FS 的限制。有关数字,请参阅此答案

于 2010-09-29T06:13:44.757 回答