Rescaling PDFs

  • Follow


Is there a free tool for Windows (preferably with a command-line
interface) which can rescale a single-page PDF document?  After
rescaling, the document should have the same appearance as before,
except its "physical" size (as displayed by Adobe Reader in
centimetres/points/inches) should be larger/smaller.
0
Reply Szabolcs 1/27/2008 7:20:43 PM

Save the file as an image and then adjust the size wanted?


-- 
Don
Vancouver, USA


"Szabolcs" <szhorvat@gmail.com> wrote in message 
news:3bd8a2b0-7c35-4566-b10c-e16ae802462c@l1g2000hsa.googlegroups.com...
> Is there a free tool for Windows (preferably with a command-line
> interface) which can rescale a single-page PDF document?  After
> rescaling, the document should have the same appearance as before,
> except its "physical" size (as displayed by Adobe Reader in
> centimetres/points/inches) should be larger/smaller. 


0
Reply Don 1/27/2008 9:31:17 PM


Hi,

On Sun, 27 Jan 2008 13:31:17 -0800 "Don Schmidt" <Don
Engineer@PNB.Retired_1987> wrote:

> Save the file as an image and then adjust the size wanted?

That's an option, but it is destructive w/ regard to vector graphics
and text.

I suggest Multivalent Tools, specifically the Impose tool.
http://multivalent.sourceforge.net/
http://multivalent.sourceforge.net/Tools/pdf/Impose.html

You run it like this:

$ java -cp /where/the/jar/is/Multivalent.jar tool.pdf.Impose -dim 1x1 -paper 148x210mm Input.pdf

you need to manually calculate the desired paper size.

-hwh
0
Reply Hans 1/28/2008 10:09:26 AM

On Jan 28, 11:09 am, Hans-Werner Hilse <hi...@web.de> wrote:
> I suggest Multivalent Tools, specifically the Impose tool.http://multivalent.sourceforge.net/http://multivalent.sourceforge.net/Tools/pdf/Impose.html
>
> You run it like this:
>
> $ java -cp /where/the/jar/is/Multivalent.jar tool.pdf.Impose -dim 1x1 -paper 148x210mm Input.pdf
>
> you need to manually calculate the desired paper size.

Thanks for the suggestion, Multivalent is great!  But it would be
convenient if everything could be done automatically, and for this I
would need to know the aspect ratio of the original page, so I can
calculate the correct input for the -paper option.  Is there a way to
get this information?  The Info tool from Multivalent cannot report it.
0
Reply Szabolcs 1/28/2008 6:04:19 PM

> Is there a free tool for Windows (preferably with a command-line
> interface) which can rescale a single-page PDF document?  After
> rescaling, the document should have the same appearance as before,
> except its "physical" size (as displayed by Adobe Reader in
> centimetres/points/inches) should be larger/smaller.

I have made a simple rotate / scale tool based on iTextSharp (.Net 2.0
needed). It can scale a PDF up/down, fit to a certain page size, fit within
a certain height, or width. Not a command line tool though, but Windows
mouse clicks and drag&drop. http://www.noliturbare.com

Govert



0
Reply Govert 1/28/2008 8:25:56 PM

Hi,

On Mon, 28 Jan 2008 10:04:19 -0800 (PST) Szabolcs <szhorvat@gmail.com>
wrote:

> Thanks for the suggestion, Multivalent is great!  But it would be
> convenient if everything could be done automatically, and for this I
> would need to know the aspect ratio of the original page, so I can
> calculate the correct input for the -paper option.  Is there a way to
> get this information?  The Info tool from Multivalent cannot report
> it.

That's unfortunately true. I usually use "pdfinfo" from Xpdf/poppler in
order to do that. It's yet another application, however (although one
that's usually available on unixoid terminals).

-hwh
0
Reply Hans 1/29/2008 11:18:54 AM

On Jan 29, 12:18=A0pm, Hans-Werner Hilse <hi...@web.de> wrote:
> Hi,
>
> On Mon, 28 Jan 2008 10:04:19 -0800 (PST) Szabolcs <szhor...@gmail.com>
> wrote:
>
> > Thanks for the suggestion, Multivalent is great! =A0But it would be
> > convenient if everything could be done automatically, and for this I
> > would need to know the aspect ratio of the original page, so I can
> > calculate the correct input for the -paper option. =A0Is there a way to
> > get this information? =A0The Info tool from Multivalent cannot report
> > it.
>
> That's unfortunately true. I usually use "pdfinfo" from Xpdf/poppler in
> order to do that. It's yet another application, however (although one
> that's usually available on unixoid terminals).

Thanks for the tip!  I bolted the programs together with awk.  It's a
terrible chimaera, but it does the job.
0
Reply Szabolcs 1/29/2008 2:15:31 PM

6 Replies
146 Views

(page loaded in 0.089 seconds)


Reply: