使用记录的ghostscript语法时,始终在ghostscript中收到错误消息 [英] Keep getting error messages in ghostscript when using the documented ghostscript syntax

查看:91
本文介绍了使用记录的ghostscript语法时,始终在ghostscript中收到错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是ghostscript的新手,无法弄清楚语法.每当我尝试使用最简单的命令-h或-?我收到一个错误,并且尝试了各种组合.

I am new to ghostscript and I cannot figure out the syntax. Whenever I try the simplest of commands ex -h or -? I get an error and I have tried them in all sorts of combinations.

    GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.

GS>-h
Error: /undefined in -h
Operand stack:

Execution stack:
  %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval-
-   2   %stopped_push   --nostringval--   --nostringval--   %loop_continue   --n
ostringval--   --nostringval--   false   1   %stopped_push   .runexec2   --nostr
ingval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval
--
Dictionary stack:
   --dict:1166/1684(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 3


GS>gs-h
Error: /undefined in gs-h
Operand stack:

Execution stack:
  %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval-
-   2   %stopped_push   --nostringval--   --nostringval--   %loop_continue   --n
ostringval--   --nostringval--   false   1   %stopped_push   .runexec2   --nostr
ingval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval
--
Dictionary stack:
   --dict:1166/1684(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
Current allocation mode is local
Current file position is 5

推荐答案

您在PostScript解释器中,输入的内容不是PostScript.

You're inside the PostScript interpreter and what you're entering isn't PostScript.

您需要使用-h在命令行上运行exe(发行版中有几个二进制文件,其中一个会正确响应).

You need to run the exe on the command line with -h (there are a couple of binaries in the distribution, one will respond correctly).

这篇关于使用记录的ghostscript语法时,始终在ghostscript中收到错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆