I ran the Latex->Latex->DviPS->PS2PDF and I get the following error:

MiKTeX GPL Ghostscript 9.25: Unrecoverable error, exit code 1

MiKTeX GPL Ghostscript 9.25: ERROR: A pdfmark destination page 2 points beyond the last page 1.

The .dvi and .ps are well generated. The output .pdf has only one page from 13. If I remove all my .eps pictures of the compilation I get no error and I get all the document without the pictures (obviously). I installed Miktex a few time ago because of new computer. The .tex file suffer no changes from the other computer.

Can anyone please help me?


Luis Gonçalves





\usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry}  
\usepackage[dvips,linktocpage,hypertexnames=false]{hyperref} \hypersetup{ colorlinks = true, linkbordercolor = {white}, citecolor=blue, linkcolor=blue, allcolors=blue, }


\AtBeginEnvironment{algorithmic}{\small} \usepackage{setspace}


\def\degr{\hbox{$^\circ$}} \makeatletter \newcommand\figcaption{\def@captype{figure}\caption} \makeatother

\setlength{\textfloatsep}{6pt} \setlength{\intextsep}{6pt}


\centering \includegraphics[scale=22,angle=0]{fscpic.eps} 
\caption{} \label{pic} 



D:\zipback\paper\second_ieeta>ps2pdf exp.ps

Error: /invalidfont in /findfont

Operand stack:

AvantGarde-Gothic-latin1 AvantGarde-Gothic

Execution stack:

%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 2015 1 3 %oparray_pop 2014 1 3 %oparray_pop 1998 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1967 2 6 %oparray_pop

Dictionary stack:

--dict:969/1684(ro)(G)-- --dict:1/20(G)-- --dict:152/200(L)-- --dict:5/6(ro)(L)-- --dict:180/300(L)-- --dict:92/200(L)--

Current allocation mode is local

Last OS error: No such file or directory

Current file position is 149908

MiKTeX GPL Ghostscript 9.25: Unrecoverable error, exit code 1

  • 2
    We will need to see the code. Make a small complete example that demonstrates the error. – Ulrike Fischer Mar 25 at 13:54
  • I would start by removing the images and then restoring them one at a time to find out which is causing the problem. – Ian Thompson Mar 25 at 13:57
  • Nothing changed in the files since change of computer – Luis Gonçalves Mar 25 at 14:04
  • Do you get the error if you use \usepackage[draft]{graphicx}? – Ulrike Fischer Mar 25 at 14:10
  • With draft no error but also no picture – Luis Gonçalves Mar 25 at 14:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.