[comp.text.tex] Imported PS / Ghostscript2.1 Problem ??

picano@en.ecn.purdue.edu (Silvio Picano) (01/24/91)

I am trying to use ghostscript2.1 (no patches yet)
to preview PS document and I am getting this error:

##################
$ gs gauss.ps
Reading ghost.ps... ghost.ps read.

>>showpage, press <return> to continue<<
>>showpage, press <return> to continue<<

Loading font file ptmr.gsf... done.
Loading font file ptmri.gsf... done.
Loading font file ptmb.gsf... done.
Loading font file ptmbi.gsf... done.
Loading font file phvr.gsf... done.
Loading font file phvb.gsf... done.
Loading font file pcrr.gsf... done.
Loading font file pcrb.gsf... done.
Loading font file psyr.gsf... done.

Error: /rangecheck in --setlinewidth--
  ostack: 1 2 3 -0.0569897
  estack:  operator 5140  --nostringval-- --nostringval-- false
--nostringval-- --nostrin
gval-- false --nostringval-- --nostringval-- --nostringval--
  dstack: 319/401 2/200 80/200 69/180
Ghostscript 2.1.1  Copyright (C) 1990 Aladdin Enterprises,
   Menlo Park, CA.  All rights reserved.
Distributed by Free Software Foundation, Inc.
Ghostscript comes with NO WARRANTY: see the file COPYING for details.
GS<4>
####################

Now, I am previewing a PS file made with LaTeX with imported PS
files.  The section in my document that crashes gs is this:

####################
\begin{figure}
\vskip 3.0in
\special{psfile=simulator2.ps
	vscale=0.7  hscale=0.7
	voffset=-3.9 hoffset=-1.0 }
\caption{Network Simulator Architecture
	\label{simulatorfigure} }
\end{figure}
####################

If I change 'hoffset' to '-1.4', the figure is inserted,
but not where I want it.  Apparently, my PS file & gs are
running into a 'limiting right margin' problem.  (I am trying
to insert this figure into the right column of a standard
2 column LaTeX ( \documentstyle[twocolumn,11pt]{article} )
and I am using "dvi2ps" for dvi->ps conversion.

I can preview my 'simulator2.ps' file (by itself) just fine,
but not in my document.

My 'simulator2.ps' file was originally in pic, and I
converted it to ps (no bounding box).

Any hints or suggestions?

Thanks
Silvio