On 01/10/2007, Marc Boncz <[EMAIL PROTECTED]> wrote: > > > Hi all, > > Was wondering if anyone here has an answer to a problem that keeps bothering > me (and I guess not just me) for a long time already: webpages not printing > completely. > > OK, this is not PHP but rather HTML, but I wonder: is there a command that > can force the browser to print a page at a specific resolution? As A4 is 21 > cm with this would be 900 pixels/8,4 inch or say 110 DPI. If there would be > a simple tag to instruct the browser to output the page at 110 DPI instead > of 72 any page would fit and no need to provide special 'click here for a > printeable version' features. > > Anybody "been there, done that"? > > Marc >
Hi Marc, You might want to look at CSS for this. Just last week I had a play with a print css which overrides much of my pages removing the navigation and laying the page out for paper rather than screen. There's a good article on a list apart that you might like to read: http://www.alistapart.com/articles/goingtoprint/ Regards, Phill milk-hub.net