🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3965

Re: Converting ps to eps

#3965
From: Scott Cunningham
Date: Thu, 05 Nov 1992 05:04
33 lines
1807 bytes
In article <9136@vtserf.cc.vt.edu> ravi@vttcf.cc.vt.edu (B. Ravi Shankar)  
writes:

 "I have files in CGM format which I am able to convert into
 "postscript. I need  to make eps files out of either the 
 "cgm files or the postscript files so that I can include 
 "them into my latex sources files. The CGM/postscript files
 "are basically figures/graphs etc.
 "
 "Could somebody suggest how I can do this and if not could you
 "tell me where I might find the FAQ list of this newsgroup.

	The answers you seek are in the 'Red Book' (aka 'PostScript Language  
Reference Manual')  You need to modify the header of your file to include the  
EPS File header.  Here is the example given in the book:

%!PS-Adobe-3.0 EPSF-3.0
%% BoundingBox: 5 5 105 105		<---This is the important line
10 setlinewidth
10 10 moveto
0 90 rlineto 90 0 rlineto 0 -90 rlineto closepath
stroke

The command setting the BoundingBox is probably missing from your code.
This sets the coordinates which surround your image.

--

________________________________________________________________________
Scott Cunningham \ We're the NSA                                        \
Username: flagg  \ So your the ones I hear on the other end of my phone \
                 \ No, that's the FBI                                   \
-------------------------------------------------------------------------
Technical Details
Message-ID: <1992Nov5.050443.23355@unlv.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!sol.ctr.columbia.edu!news.unomaha.edu!nevada.edu!jimi!news
References: <9136@vtserf.cc.vt.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!sol.ctr.columbia.edu!news.unomaha.edu!nevada.edu!jimi!news
From: flagg@blind-lemon.cs.unlv.edu (Scott Cunningham)
Newsgroups: comp.lang.postscript
Subject: Re: Converting ps to eps
Message-ID: <1992Nov5.050443.23355@unlv.edu>
Date: 5 Nov 92 05:04:43 GMT
References: <9136@vtserf.cc.vt.edu>
Sender: news@unlv.edu (News User)
Organization: UNLV
Lines: 33