Forum How do I...?

Considering server purchase, need some help

Sansui
We are looking at creating PDFs from several different templates that need to be delivered at 300 dpi and allow for insertion of images/text dynamically.

A user would select a template, upload images that go in pre-designated spots, and enter the text for the pre-designated text areas.

At this point, a 300 dpi pdf is created and delivered. We looked at dompdf and fpdf, and the first thought was maybe we could create these 'templates' in html/css/php so that a php page is generated that has the images inserted, and then a PDF is created. The problem with this is that I assume we'll get 72 dpi pages rendered, plus those programs have miserable support for CSS.

So 1.) Is there any way to get 300 dpi pdfs from a web page? and 2.) If there isn't, how hard is it to do this programmatically with Prince? 300 dpi background with 300 dpi images possibly overlapping each other, and the predesignated text areas
mikeday
Prince supports 300dpi images no problem at all. If the images have an intrinsic resolution specified then Prince will respect that, otherwise it can be specified or overridden using the prince-image-resolution CSS property.