我正在尝试在Windows 10的Windows linux子系统下将pdf文件转换为postscript,但是出现以下错误消息:
PS E:\book\ml> wsl pdf2ps .\1708.07366.pdf foo.ps
Error: /undefinedfilename in (.1708.07366.pdf)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:959/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.26: Unrecoverable error, exit code 1
PS E:\book\ml> wsl pdf2ps --help
Usage: pdf2ps [-dASCII85EncodePages=false] [-dLanguageLevel=1|2|3] input.pdf [output.ps]
PS E:\book\ml>