[GRASSLIST:2244] Re: Changing Paper Size in ps.map
J. Brian Adams
brian.adams at fandm.edu
Thu Jan 15 15:52:39 EST 2004
Thanks to all for this. I used ps.add.pagesize to add the bounding box
line. In looking at the script, I noticed that it adds 200 pixels to
the x and y dimensions. Why is this?
I have since found that it is just as easy to paste
<</PageSize [1296 1728]>> setpagedevice
to the beginning of the ps file. This sets the dimensions to 18" x 24"
(18*72 = 1296 and 24*72 = 1728)
Thanks again.
Brian
On Jan 14, 2004, at 6:57 PM, Hamish wrote:
>>> I have been trying to create a large scale map (18" x 24") using
>>> ps.map. I set ps.select to the large printer, but when I run ps.map
>>>
>
>
> Try running the 'ps.add.pagesize' script.
>
> 'gv' usually would show the whole page if you told it the correct size
> or something bigger.
>
>
> You can add the %%BoundingBox line manually at the beginning of your ps
> file (thus making it Encapsulated PostScript).
>
>
> %%BoundingBox: llx lly urx ury
>
> where ll is lower-left and ur is upper-right. Units are inches*72.
>
>
>
> see:
> http://www.cs.indiana.edu/docproject/programming/postscript/eps.html
> http://www.ucs.ed.ac.uk/usd/scisup/faq/postscript.html
>
>
>
>
> Hamish
>
More information about the grass-user
mailing list