title: Using GhostScript to get page size
body: <p>Is it possible to get the page size (from e.g. a PDF document page) using GhostScript? I have seen the "bbox" device, but it returns the bounding box (it differs per page), not the TrimBox (or CropBox) of the PDF pages. (See <a href="http://www.prepressure.com/pdf/basics/page_boxes" rel="noreferrer">http://www.prepressure.com/pdf/basics/page_boxes</a> for info about page boxes.) Any other possibility?</p>