[gs-devel] re size landscape A4 pdf to fit into A4 pdf
info at trilectica.nl
Fri Oct 14 07:05:50 UTC 2011
I am fairly new to Ghostscript. Since i want to convert a PDF of landscape
A4 to a normal A4 i am facing some difficulties. At the moment the document
does get rotated from landscape to normal but the content is not scaled to
fit inside the A4. Also it should be in the center instead of in the bottom
of the newly created A4 document. Below the code which i have so far.
I hope anyone can help me to figure this problem out.
gs -dQUIET -dNOPAUSE -dBATCH -sPAPERSIZE=A4 -sDEVICE=pdfwrite
-sOutputFile=output.pdf -dPDFFitPage -dFIXEDMEDIA -dCompabilityLevel=1.4
-dDEVICEWIDTH=2479 -dDEVICEHEIGHT=3508 input.pdf
View this message in context: http://old.nabble.com/resize-landscape-A4-pdf-to-fit-into-A4-pdf-tp32638309p32638309.html
Sent from the Ghostscript - Dev mailing list archive at Nabble.com.
More information about the gs-devel