|
From: | address@hidden |
Subject: | ps2pdf and the right output size |
Date: | Tue, 25 Aug 2009 12:16:18 -0600 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
I'm using a tool which generates a postscript file where the bounding box doesn't necessarily correlate to a specific page type (8.5x11, etc.). In fact, the PS page size is much larger than most page sizes, it might be as large as 50in x 50in etc.
ps2pdf will create a pdf output that: * uses the default page size * uses the page size if a page type if specified on the command line * uses X and Y dimensions if provided in the command line.I've hacked up a script which gen's the PS, pulls out the pageboundingbox X and Y sizes out of the PS, and then passes these values to ps2pdf via the command line. This works ok but I'm wondering if there's a way to tell ps2pdf to just set the pdf page size to the pageboundingbox X and Y sizes defined in PS thus eliminating the need for me to determine these and feed them to ps2pdf via the command line.
Thanks
[Prev in Thread] | Current Thread | [Next in Thread] |