orthlieb@adobe.COM (Carl Orthlieb) (02/28/91)
Archive-name: postscript/epsf/epsfinfo/1991-02-26 Original-posting-by: orthlieb@adobe.COM (Carl Orthlieb) Original-subject: Re: PS to EPS: HELP! Reposted-by: emv@ox.com (Edward Vielmetti) There is a PostScript program available on our mail server called 'epsfinfo' that should do what you want. You tack it onto the head of your PS file and then send it down to the PostScript interpreter. You will then get back the bounding box and font usage info for your PS file. If you then change the top of your file to read: %!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: <llx> <lly> <urx> <ury> %%DocumentFonts: <font1> <font2> <font3> ... you should then have an EPS file (w/o a preview). <llx>, <lly>, <urx>, and <ury> are the bounding box values sent back by the epsfinfo program (make sure that these are integer values). <font1>, <font2>, <font3>, etc. are the names of the fonts used by your file (e.g. Times-Roman). Note that there are some PS operators that should not be used in an EPS file. The epsfinfo program will notify you if your PS file uses these operators. See Appendix I of the new red book for more info. Hope this helps, Carl 8-) P.S. The file you want from the server is Programs/epsfinfo.ps ----------- Server Access Information ----------- The PS-File-Server is an automatic mail-response program. That means you mail it a request, and it mails back the response. It is not accessible via anonymous FTP. To get in touch with the server, send a message to the appropriate address, either: uucp: {sun,decwrl}!adobe!ps-file-server OR internet: ps-file-server@adobe.COM containing the word "help" in either the Subject: field or the message body. It will reply with a message on how to use the available services. There are many items available from the server; Documents (as PostScript files), program sources, Adobe Font Metrics files, PostScript Printer Description files, and other itmes. You might send a separate message containing the word "index" to save some time once you get the help message. The file server does not respond to requests from users named "root", "system", "daemon", or "mailer". This is to prevent mail loops from bounced messages. Note: If you do not receive help from the server within a day or so, it is probably because the server's mail to you has bounced. You can try again and use the "path" command within your message specifying a known return path that the server should use. For example: path pyramid!rutgers!zakkaroo!jj (substitute whatever address is appropriate) If you have any problems contacting the server, or you have any suggestions, please send a message to the moderator (ps-file-person@adobe.COM). Carl 8-)