+ Start a Discussion

Visualforce Page As PDF rendering with different lengths in different environments


I have a sandbox and a prod environment that I am generating a PDF proposal from.  I am using the exact same code for each but for some reason the sandbox is generating the correct (8.5inx11in) and the prod envinroment is generating a longer length. This is causing problems because we add a flyer at the end from an image and it fits in the normal sized paper but the longer one makes it look bad.

Aside from needing a solution to make the prod version match the sandbox version and size, I would like to understand what could be causing this to happen.  Any idea what's going on here?