Re: Using gs it is possible to scale a PDF printing it larger

Ken Sharp <[email protected]>
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <[email protected]>
At 18:27 27/04/2015 +0900, Paolo Bolzoni wrote:


>It is possible to scale as losslessy as possible (overall in term of
>vectors) a pdf from a4 to a0?

Very well phrased question :-)

Yes, set the media size to the desired size, set -dFIXEDMEDIA to prevent 
the input PDF resetting it, and set -dPDFFitPage to have the PDF scaled to 
fit the page.

If you use the pdfwrite device the result will be (as lossless as currently 
possible) a new PDF file scaled to the desired size.

Certain aspects of the new PDF file may not reflect the original, some 
metadata is not carried forwards, images may be recompressed in the same 
format (beware of JPEG images in the input, specify Flate compression for 
colour images if this is likely), there may be some other things I haven't 
thought of.

                     Ken
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.