Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: Postscript Documentation, Whoops!
From: mooney@aps.anl.gov (Tim Mooney)
Date: Wed, 24 May 1995 16:35:24 -0500
Whoops!  The script I just sent:
> #!/bin/sh
> # convert Frame postscript "Letter" to "A4"
> 
> if [ $# != 2 ]
> then
>         echo "usage: $0 in out"
>         exit
> fi
> sed -e 's/^%%BeginPaperSize: Letter/%%BeginPaperSize: A4/'  -e '/^%%Page:/a\
> 28.3 0 translate 0.95 0.95 scale
> ' $1 >$2

should have read:

> #!/bin/sh
> # convert Frame postscript "Letter" to "A4"
> 
> if [ $# != 2 ]
> then
>         echo "usage: $0 in out"
>         exit
> fi
> sed -e 's/^%%BeginPaperSize: Letter/%%BeginPaperSize: A4/'  -e '/^%%Page:/a\
> 0.95 0.95 scale
> ' $1 >$2

(translation is for going from A4 to Letter).  By the way, this was hacked from
the script 'scaleps.sh' someone yanked out of cern.heplib.

Tim

Navigate by Date:
Prev: Re: Postscript Documentation Tim Mooney
Next: Re: More than 1 output link Steve Lewis
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: RE: Problem with MVME167-02B boards Mark Rivers
Next: compress records greene%denali.UUCP
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·