I am building a Web2Print website using PHP, MySQL and jQuery.The main concept of the website is the end users can create a HTML template by adding text, images, dragging, resizing etc dynamically and convert it to high-res A4 size PDF and then moves to printing.
For example see the link http://optisolbusiness.com/funeral_site/sample/index/id/255. This is the sample HTML that is to be converted to PDF. The width and height of the webpage HTML is 356x405px the problem is when I convert it to A4 PDFs size 8.5X11.69inches the HTML shows very small in PDF.
So I have to increase the width and height of the HTML to fit the PDF size, while increasing the HTML size to 8.5X11.69in. The content inside the HTML should also increase proportionally (ie) the text font size, background image, images width and height, top left should also be increased proportionally. The PDF should fit exactly like the HTML. I am using the online API htmlpdf.com to convert to PDF.