🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.tex
Article #268

Postscript and \includegraphicproblem.

#268
From: Geoff Daly
Date: Tue, 03 Mar 1998 00:00
56 lines
2518 bytes
Hey there.

I'm having a problem with postscript and \includegraphics.  I have been
using the following method to get drawings into my Thesis and it has stopped
working since I reinstalled the OS and printer drivers.

1. I draw the figure in AutoCAD.
2. I export it as a WMF document.
3. I import it into MS Word97.
4. I add comments and annotations using Word's drawing 'feature'.
5. I print the page to a postscript (*.ps) file using a postscript printer
driver.
6. I put the figure into the LaTeX doc using:
\begin{figure}[htb] \begin{center} \includegraphics[bb= 202 487 404
801,clip]{./Figures/figHPSCSchematic.ps}
\caption[blah]{Partial section of the high pressure shear cell}
\label{fig:HPSCSchematic} \end{center} \end{figure}

7. I use dvips to make a postscript version of the LaTeX doc.
dvips -i -S 10 -o outfile.ps -q infile.ps

I can look at the postscript file created in step 5 using GSView and get the
bounding box, but when I try to view the final document I get the following
output:

Loaded Ghostscript DLL C:\PROGRAM FILES\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:/TEMP/CRAP.PS
Displaying page 1
Displaying page 2
%%[ Page: 1 ]%%
%%[ LastPage ]%%
Unrecoverable error: rangecheck in .installpagedevice
Operand stack:
    --nostringval--  --nostringval--
--- Begin offending input ---
savelevel0 restore %%Pages: 1(%%[ LastPage ]%%)  =%%EOF%-12345X@PJL
EOJ%-12345X%%EndDocument @endspecial 1081 2756 a Fe(Figure)30 b(2.19:)43
b(P)m(artial)30b(section)g(of)h(the)f(high)f(pressure)g(shear)h(cell)4633134
y(man)m(y)22 b(
--- End offending input ---
file offset = 266358
gsdll_execute_cont returns -15


I used exactly the same procedure for the other 50+ figures in my Thesis and
had no problem prior to reinstalling windows and the printer drivers. Can
anyone help?

Thanks in advance.

Geoff.
Technical Details
Message-ID: <6dg3ko$mvc$1@seagoon.newcastle.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10b0c4,8baccca7589f4de4,start
X-Google-Attributes: gid10b0c4,public
From: "Geoff Daly" <megdd@alinga.newcastle.edu.au>
Subject: Postscript and \includegraphicproblem.
Date: 1998/03/03
Message-ID: <6dg3ko$mvc$1@seagoon.newcastle.edu.au>
X-Deja-AN: 330282155
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: The University of Newcastle
Newsgroups: aus.computers.tex