• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Height and Width of Page in PostScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Height and Width of Page in PostScript


  • Subject: Re: Height and Width of Page in PostScript
  • From: "Marc Rubin" <email@hidden>
  • Date: Tue, 28 Oct 2003 13:20:11 -0500

it's left bottom right top

postScript thinks of the page as occupying the positive x and positive y
quadrant of a graph.

the origin the page is at it's lower left, in the center of the graph. (0,
0)

yes, Emmanuel, the %%BoundingBox comment is a rule in EPS files.

i don't know if it's a rule but there's a %%DocumentMedia comment
in the quarkXPress .ps files i have that has width and height in that
order.






Steve Mills <email@hidden>
Sent by: To: email@hidden
applescript-users-admin@lists cc:
.apple.com Subject: Re: Height and Width of Page in PostScript


10/27/2003 04:28 PM






On Oct 27, 2003, at 13:48, email@hidden wrote:

> Does anyone know how to get the page size of a PostScript file
> (presumably by
> opening it for access)? I need a script that tells me if a page's
> width is
> greater than its heighth.

EPS files contain this string at the top:

%%BoundingBox: 0 0 576 734

I think that's left top right bottom. I don't know about pure
PostScript files.

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Assign keyboard shortcut to scripts menu item
  • Next by Date: Re: Panther kills my droplet...
  • Previous by thread: Re: Height and Width of Page in PostScript
  • Next by thread: Mail.app: set content of message generates unexpected error
  • Index(es):
    • Date
    • Thread