KAIST

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ KAIST ] in KIDS
글 쓴 이(By): hayanbi (뭉게구름)
날 짜 (Date): 2001년 9월 29일 토요일 오전 12시 38분 29초
제 목(Title): [Q] ps화일 출력 에러(Help me, please)


먼저,  봐 주셔셔 감사합니다.
Ghostview를 통해서 ftp로 받아온 포스트스크립트(ps) 화일을 볼려고 하는데, 
다음과 
같은 에러메시지가 나옮니다. 

*-------< 에러메지시 시작  >----------*
Loaded Ghostscript DLL C:\PROGRA~1\GSTOOLS\gs5.10\gsdll32.dll
Aladdin Ghostscript 5.10 (1997-11-23)
Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA.  All rights 
reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file D:/AIAA/NASA/NASA-9~1.PS/NASA-9~1.PS
Displaying page 1
Unrecoverable error: undefined in DT
Operand stack:
    1

--- Begin offending input ---
%%BeginSetup
BeginDviLaserDoc
300 300 RES
1 DT
%%EndSetup

--- End offending input ---
file offset = 25338
gsdll_execute_cont returns -21
*-------< 에러메지시 끝 >----------*

그리고, 보여지지 않는 포스트스크립트 화일의 헤더는 아래와  같습니다. 
어떻게
볼 수 있는 방법이 없을까요?
관련 논문의 Reference로 해당파일을 모두 언급하는데, 저는 볼 수가 
없네요.--;

포스트스크립트에 관해 잘 아시는 분의 조건을 구합니다. 감사합니다.

*---------< ps파일의 헤더 시작 >---------*

%!PS-Adobe-2.0
%%Title: TeX output 1995.08.14:1309
%%Creator: DVILASER/PS, ArborText, Inc.
%%BoundingBox: (atend)
%%Pages: (atend)
%%DocumentFonts: (atend)
%%DocumentMedia: Plain 612 792 75 white ()
%%EndComments

%! 
% dvi2ps-li version
%
% All software, documentation, and related files in this distribution of
% psfig/tex are Copyright 1987, 1988 Trevor J. Darrell
%
% Permission is granted for use and non-profit distribution of psfig/tex 
% providing that this notice be clearly maintained, but the right to
% distribute any portion of psfig/tex for profit or as part of any 
commercial
% product is specifically reserved for the author.
%
%
% $Header: figtex.pro,v 1.5 87/07/24 20:14:50 trevor Exp $
% $Source: $
%
/TeXscale { 65536 div } def

%/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecap
%currentlinejoin currentdash currentgray currentmiterlimit ] cvx def
%
% Since dvi2ps has an initgraphics at the beginning of texpre.ps, we can
% assume:
gsave initgraphics
/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecap
currentlinejoin currentdash currentgray currentmiterlimit ] cvx def
grestore

/startTexFig {
% usage :  x y bb-llx bb-lly bb-urx bb-ury startFig
/SavedState save def
userdict maxlength dict begin
currentpoint transform

DocumentInitState setmiterlimit setgray setdash setlinejoin 
setlinecap
setlinewidth setmatrix

itransform moveto

/ury exch TeXscale def
/urx exch TeXscale def
/lly exch TeXscale def
/llx exch TeXscale def
/y exch TeXscale def
/x exch TeXscale def

currentpoint /cy exch def /cx exch def

/sx x urx llx sub div def  % scaling for x
/sy y ury lly sub div def % scaling for y

sx sy scale % scale by (sx,sy)

cx sx div llx sub
cy sy div ury sub translate

/DefFigCTM matrix currentmatrix def

/initmatrix {
DefFigCTM setmatrix
} def
/defaultmatrix {
DefFigCTM exch copy
} def

/initgraphics {
DocumentInitState setmiterlimit setgray setdash 
setlinejoin setlinecap setlinewidth setmatrix
DefFigCTM setmatrix
} def

/showpage {
initgraphics
} def
% /erasepage and /copypage added for MatLab support (tli)
  /erasepage {
  initgraphics
  } def
  /copypage {} def

} def
% Args are llx lly urx ury (in figure coordinates)
/clipFig {
currentpoint 6 2 roll
newpath 4 copy
4 2 roll moveto
6 -1 roll exch lineto
exch lineto
exch lineto
closepath clip
newpath
moveto
} def
% doclip, if called, will always be just after a `startfig'
/doclip { llx lly urx ury clipFig } def
/endTexFig {
end SavedState restore
} def
%! 
%  Dvips.pro - included prolog for DviLaser-generated PostScript files.

%  Copyright (c) 1986-91, ArborText, Inc.
%  Permission to copy is granted so long as the PostScript code
%  is not resold or used in a commercial product.
%
%  $Header: dvips.pro.dist,v 1.18 90/08/06 17:19:53 jjs Locked $
%
systemdict /setpacking known  % use array packing mode if its available
  {/savepackingmode currentpacking def 
   true setpacking}
  if
 
/$DviLaser 400 dict def
 
% Begin document
/BeginDviLaserDoc {
  vmstatus pop pop 0 eq 
    { $DviLaser begin 
      InitializeState }
    { /DviLaserJob save def
      $DviLaser begin
      InitializeState
      /DviLaserFonts save def }
    ifelse
} bind def
 
% End document

계속......

[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.