Home »
Public Forums »
archive »
Re: EPS vs. PS
Re: EPS vs. PS [message #40672] |
Wed, 25 August 2004 04:29  |
mannstein
Messages: 5 Registered: August 2004
|
Junior Member |
|
|
Hello Micheal,
you just have to convince your printer, that it gets a .ps file -
add these two lines ahead of your .eps file:
%!PS-Adobe-1.0
save [ /showpage {} def
and append
cleartomark restore
showpage
at the end. We use the following little shell script ( called eps2ps)
#!/bin/sh
if [ $# -le 0 -o $# -gt 2 ]; then
echo usage: `basename $0` file.eps [ file.ps ] >&2
exit 1
fi
if [ ! -r $1 ]; then
echo Can\'t read file $1. >&2
exit 1
fi
epsfile=$1
output=""
if [ $# = 2 ]; then
output=$2
fi
(
cat <<EOF
%!PS-Adobe-1.0
save [ /showpage {} def
EOF
cat $epsfile
cat <<EOF
cleartomark restore
showpage
EOF
) | (
if [ "$output" = "" ]; then
cat
else
cat >$2
fi
)
Michael Wallace wrote:
> This isn't really an IDL question, but I figured that some of you might
> have dabbled more in image file formats that I have. I have some object
> graphics and created an EPS file (which looks really nice, BTW). I
> couldn't find any way to save the object graphics as normal PS. Despite
> David's notes on this
> (http://www.dfanning.com/ographics_tips/object_eps.html), I couldn't
> even get the printer thing to work.
>
> It was then that I had what I thought was a brilliant idea. I used
> ImageMagick to convert the EPS to a PS. I printed out both files. The
> EPS file looked awesome -- everything nice and smooth and crisp. The
> printout of the PS file had some fuzziness about it. It appeared that
> the conversion was done by rastorizing the EPS and saving that as PS.
> The rastorization would have produced the fuzziness I saw. So, does
> anyone know how to convert EPS to PS and preserve the vector-ness of the
> EPS? Maybe there's an option of ImageMagick I don't know about yet or
> maybe even something in IDL itself? Ideas? Any PS gurus out there?
>
> -Mike
--
!!!!! Please try to avoid .doc attachments !!!!!
------------------------------------------------------------ ----
Dr. Hermann Mannstein Hermann.Mannstein@dlr.de
DLR-Institut fuer Physik der Atmosphaere
Oberpfaffenhofen, D-82234 Wessling Germany
Fon +49-8153-28-2503, Fax +49-8153-28-1841
http://www.dlr.de/ipa/
------------------------------------------------------------ ----
|
|
|
Current Time: Sun Oct 12 06:44:07 PDT 2025
Total time taken to generate the page: 0.23822 seconds