Transform PDF A4 21.5x27.9cm -> A4 21 x 29.7cm

Author: bignonj@gmail.com (Bignon)

Hello, My application works with PDF files. I've PDF files A4 with this size : 21.5 x 27.9 cm I want like transform this files in 21 x 29.7cm, always in A4 format. I've used Ghostcript with PSUtils but i can't make it. Thanks for your helps. J?r?me Bignon

2 Comments

  1. Hi, Bignon. I have never tried to do that. I have another question for you. I wonder have you ever tried to convert PDF to image files before? I am testing the related PDF to multi-Tiff converting programs these days. Do you have experience about it? Any suggestion will be appreciated. Thanks in advance.     Best regards, Arron


    Author: arronlee (arronwall1@gmail.com)
  2. Hi Jerome, perhaps the following excerpt from a doc can help you: psresize Syntax psresize [-w width] [ -hheight ] [ -p paper] [ -W Width] [ -HHeight ] [ -P Paper] [ -q ] [ infile [ outfile ] ] Description psresize rescales and centres a document on a different size of paper. The input PostScript file should follow the Adobe Document Structuring Conventions. The -w option gives the output paper width, and the -h option gives the output paper height, normally specified in cm or in to convert PostScript’s points (1/72 of an inch) to centimeters or inches. The -p option can be used as an alternative, to set the output paper size to a3, a4, a5, b5, letter, legal, or 10x14. The default output paper size is a4. The -W option gives the input paper width, and the -H option gives the input paper height. The -P option can be used as an alternative, so set the input paper size. The default input paper size is a4. Psresize normally prints the page numbers of the pages rearranged; the -q option suppresses this. Examples: The following command can be used to convert a document from size A4 to letter size: psresize -Pa4 -pletter in.ps out.ps If you have a DIN A4-sized document and want to increase the size to 40 cm x 50 cm you have to use the following command: psresize -w40cm -h50cm -Pa4 in.ps out.ps from http:www.fz-juelich.de/SharedDocs/Downloads/FIAS/JSC/FDE/tki/Ftki-0286.pdf   Greetings from a Frankfurt/Germany expecting some 40° for the weekend, Uli


    Author: ulrich-merkel (ulrichmerkel@web.de)