tags:

views:

50

answers:

2

I am building a web application that needs to print directly from browser, however, It should be very precise, right now I am using absolute positions and specifying left and top with pixels. How ever each browser prints in different places of the page, I also got different font sizes. How could I get same results?

Edit: this is a simple example of how I am publising the info. (text positions, will be dynamic, thats why are not in a css file)

http://juanefren.webfactional.com/file.html

A: 

On the screen everything looks correct? Perhaps you could post a link to the website?

split
+7  A: 

You can specify print style sheets, however if it is absolutely essential that the printed version looks the same from all browsers your best bet is to skip attempting to print from the browser itself and output data as PDF from a server generated source.

Mike Buckbee
I'll try with the PDF.
juanefren