Re: Using gs it is possible to scale a PDF printing it larger
Paolo Bolzoni <[email protected]>
| Newsgroups | gmane.comp.printing.ghostscript.devel |
|---|---|
| Message-ID | <CAO4LoOxbo-w=e88kT6N5FZKPdQcA0GaDchGmmLRhof9p9YrQ4A@mail.gmail.com> |
Sorry, I was half asleep... Thanks for the explanation though. $ gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -dFIXEDMEDIA -dPDFFitPage -sPAPERSIZE=a0 -sOutputFile=output.pdf input.pdf did the trick. On Mon, Apr 27, 2015 at 7:34 PM, Ken Sharp <[email protected]> wrote: > 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 >