dreamwest Posted April 22, 2009 Share Posted April 22, 2009 Is there a function to print a html page so it fits within printing diameters At the moment its only printing a third of the width the rest is trunicated Quote Link to comment https://forums.phpfreaks.com/topic/155169-print-html-page/ Share on other sites More sharing options...
ober Posted April 22, 2009 Share Posted April 22, 2009 You cannot force a page to print to specific dimensions unless you're using something like an ActiveX control or something. Also, if your page width is greater than the average piece of paper (8.5x11), it's not going to print properly. The best thing to do is to have a "screen" stylesheet and a "print" stylesheet so that you can restructure the page for printing. Here's a good article: http://www.alistapart.com/articles/goingtoprint/ Quote Link to comment https://forums.phpfreaks.com/topic/155169-print-html-page/#findComment-816313 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.