Forum How do I...?

How do I set the output size of the pdf to fit an 11x8.5 email template at 72 dpi

crazyguymgd
I have an email template which I have formatted to be 792px by 612px. This size is 11in by 8.5in at 72dpi. I've used the css property @page { size: 11in 8.5in } but the generated pdf has unintended white space. Please see my screenshot of the issue. What am I doing wrong?
  1. Screenshot_2.jpg117.5 kB
    incorrect sizing
mikeday
Prince converts pixel units to physical units with a default resolution of 96dpi. You can use a secret undocumented command-line option --css-dpi=72 if you really want to change this.
crazyguymgd
That is exactly what I needed! Thanks so much.

I have another question and hopefully I can avoid starting a new topic. I just took over this project at my company and we upgraded to version 9. At the time, I didn't know how the licensing works so we lost our license.dat file. Is there someone I can speak to in order to get another copy of that file?

Matt
mikeday
Sure, just email me (mikeday@yeslogic.com) with your details.