2013-04-22 2 views
1

난 그냥이 같은 명령 줄을 사용하여 서로 하나의 PDF 파일을 만들려고 노력 해요 :고스트 스크립트 오류

gs -sDEVICE=pdfwrite -o new.pdf old.pdf 

그리고 오류 얻을 : 내가 크기를 조정 Multivalent.jar를 사용하는 경우

GPL Ghostscript 9.07 (2013-02-14)

Copyright (C) 2012 Artifex Software, Inc. All rights reserved.

This software comes with NO WARRANTY: see the file PUBLIC for details.

Error: /undefined in --run--

Operand stack:

--dict:1/1(L)-- Nums

Execution stack:

%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop 1899 1 3 %oparray_pop 1883 1 3 %oparray_pop --nostringval-- --nostringval-- --nostringval--

Dictionary stack:

--dict:1161/1684(ro)(G)-- --dict:1/20(G)-- --dict:82/200(L)-- --dict:82/200(L)-- --dict:109/127(ro)(G)-- --dict:292/300(ro)(G)-- --dict:25/32(L)--

Current allocation mode is local

GPL Ghostscript 9.07: Unrecoverable error, exit code 1

을 예를 들어이 PDF는 잘 작동하고 크기를 조정합니다. 그러나 GS는 오류를 낸다. 이 경우에는 GS를 사용해야하지만이 오류가 발생하지 않습니다. 어떻게 든 그것을 전달할 수 있습니까? 또는 무엇을 할 수 있습니까? 어떤 제안?

+0

첫 번째 제안은 문제를 절반으로 분할하는 것입니다. 먼저 .pdf 대신 .pdf를 디스플레이 출력으로 이미지화하십시오. 다음 예제 .ps 파일을 읽고 .pdf를 출력하십시오. 셋째, 필요한 .pdf와 다른 .pdf를 시도하십시오. 고스트 스크립트가 제대로 설치되었는지, .pdf 자체가 문제가되는지 테스트합니다. 다른 사람이 도울 수 있도록, 무엇이 잘못되었는지보기 위해 샘플 파일이 필요할 것입니다. –

+0

내 질문을 [http://bugs.ghostscript.com/show_bug.cgi?id=693929](http://bugs.ghostscript.com/show_bug.cgi?id=693929)에 게시하고 답변을 얻었습니다. GS 버그였습니다. 그래서 GS 버전을 9.06으로 다운 그레이드했으며이 문제는 –

답변

3

http://bugs.ghostscript.com에서 버그 보고서를 열지 않으시겠습니까?

+1

http://bugs.ghostscript.com/show_bug.cgi?id=693929로 넘어갔습니다. –