Page 3 of 3

Re: How can I resize a PDF and keep a right blank margin

Posted: 2014-12-11T00:56:30-07:00
by michellux
Ok I understood how to do.
When I just make the same example as you, it works fine, and I get the red page with margin on top, bottom and right.
But when I take my file it does not work, I have no margin ...

Re: How can I resize a PDF and keep a right blank margin

Posted: 2014-12-11T02:49:12-07:00
by michellux
The problem is on the temporary file. Even I mention exactly as you the dimensions 6300x8420 for the file, after creating this one, it has only 5950x8420 (?!)

Re: How can I resize a PDF and keep a right blank margin

Posted: 2014-12-11T03:25:05-07:00
by michellux
Here are the properties of my temporary file ...
Image

Re: How can I resize a PDF and keep a right blank margin

Posted: 2014-12-11T13:54:43-07:00
by pipitas
michellux wrote:Why should I do Phase 1 "Creating demo.pdf" if in phase 2 I use my pdf file ?
Of course, I only created a simple demo PDF file for myself, because you didn't provide one to play with.... :)

Re: How can I resize a PDF and keep a right blank margin

Posted: 2014-12-11T13:57:13-07:00
by pipitas
michellux wrote:The problem is on the temporary file. Even I mention exactly as you the dimensions 6300x8420 for the file, after creating this one, it has only 5950x8420 (?!)
Can you post (a link to) a sample PDF file of yours?

Re: How can I resize a PDF and keep a right blank margin

Posted: 2014-12-11T14:01:55-07:00
by pipitas
michellux wrote:The problem is on the temporary file. Even I mention exactly as you the dimensions 6300x8420 for the file, after creating this one, it has only 5950x8420 (?!)
The 6300x8420 (as I explained in my post) are the pixels. Ghostscript by default works with a resolution 720 PPI when creating PDF files. That means that the output PDF dimensions are 630x842 points, where

Code: Select all

1 inch == 72 points

Re: How can I resize a PDF and keep a right blank margin

Posted: 2014-12-14T23:52:33-07:00
by michellux
Here is my PDF file

http://cjoint.com/?0Lph6DaevYb